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

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_std_vector_unsigned_char data (self)
ConstRasterInfo info (self)

Static Protected Attributes

typing _offsetof_data = 24
typing _offsetof_info = 0

Detailed Description

Generated from:  MR::Raster

regular grid of values of any type: an image if it has one layer, otherwise a volume

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstRaster.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstRaster) -> None

2. __init__(self: meshlib.mrmeshpy.ConstRaster, arg0: meshlib.mrmeshpy.ConstRaster) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstRaster, info: meshlib.mrmeshpy.ConstRasterInfo, data: meshlib.mrmeshpy.Const_std_vector_unsigned_char) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstRaster, : meshlib.mrmeshpy.ConstRaster) -> None

Member Function Documentation

◆ data()

Const_std_vector_unsigned_char mrmeshpy.ConstRaster.data ( self)
values of type info.type: the channels of a pixel go together, x changes first, then y (the rows go from top to bottom,
unlike in Image), then z

Reimplemented in mrmeshpy.Raster, and mrmeshpy.Raster.

◆ info()

ConstRasterInfo mrmeshpy.ConstRaster.info ( self)

Reimplemented in mrmeshpy.Raster, and mrmeshpy.Raster.

Member Data Documentation

◆ _offsetof_data

typing mrmeshpy.ConstRaster._offsetof_data = 24
staticprotected

◆ _offsetof_info

typing mrmeshpy.ConstRaster._offsetof_info = 0
staticprotected

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