MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.RasterInfo:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstRasterInfo arg0)
None __init__ (self, ConstVector3i dims, ScalarType type, int channels)
RasterInfo assign (self, ConstRasterInfo other)
int channels (self)
None channels (self, int arg1)
Vector3i dims (self)
None dims (self, ConstVector3i arg1)
ScalarType type (self)
None type (self, ScalarType arg1)
Public Member Functions inherited from mrmeshpy.ConstRasterInfo
 __init__ (self, *args, **kwargs)
int dataSize (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstRasterInfo
bool __eq__ (*args, **kwargs)
bool __ne__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstRasterInfo
typing _offsetof_channels = 16
typing _offsetof_dims = 0
typing _offsetof_type = 12

Detailed Description

Generated from:  MR::RasterInfo

everything about a raster except its values

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.RasterInfo.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.RasterInfo.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.RasterInfo.__init__ ( self,
ConstRasterInfo arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.RasterInfo.__init__ ( self,
ConstVector3i dims,
ScalarType type,
int channels )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

RasterInfo mrmeshpy.RasterInfo.assign ( self,
ConstRasterInfo other )

◆ channels() [1/2]

int mrmeshpy.RasterInfo.channels ( self)
number of values in each pixel, e.g. 1 for gray values, 3 for RGB colors, 4 for RGBA colors, or any number of bands;
convertRasterToImage takes three or more channels as RGB(A) colors, so three or four gray bands look like colors there

Reimplemented from mrmeshpy.ConstRasterInfo.

◆ channels() [2/2]

None mrmeshpy.RasterInfo.channels ( self,
int arg1 )
number of values in each pixel, e.g. 1 for gray values, 3 for RGB colors, 4 for RGBA colors, or any number of bands;
convertRasterToImage takes three or more channels as RGB(A) colors, so three or four gray bands look like colors there

Reimplemented from mrmeshpy.ConstRasterInfo.

◆ dims() [1/2]

Vector3i mrmeshpy.RasterInfo.dims ( self)
number of pixels along each axis: x is the width, y is the height, z is the number of layers

Reimplemented from mrmeshpy.ConstRasterInfo.

◆ dims() [2/2]

None mrmeshpy.RasterInfo.dims ( self,
ConstVector3i arg1 )
number of pixels along each axis: x is the width, y is the height, z is the number of layers

Reimplemented from mrmeshpy.ConstRasterInfo.

◆ type() [1/2]

ScalarType mrmeshpy.RasterInfo.type ( self)
type of all values

Reimplemented from mrmeshpy.ConstRasterInfo.

◆ type() [2/2]

None mrmeshpy.RasterInfo.type ( self,
ScalarType arg1 )
type of all values

Reimplemented from mrmeshpy.ConstRasterInfo.


The documentation for this class was generated from the following file: