MeshLib C# Docs
Loading...
Searching...
No Matches

everything about a raster except its values Generated from class MR.RasterInfo. This is the const half of the class. More...

Inheritance diagram for MR.Const_RasterInfo:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_RasterInfo ()
 Constructs an empty (default-constructed) instance.
unsafe Const_RasterInfo (MR.Vector3i dims, MR.ScalarType type, int channels)
 Constructs MR.RasterInfo elementwise.
unsafe Const_RasterInfo (MR.Const_RasterInfo _other)
 Generated from constructor MR.RasterInfo.RasterInfo.
 Const_RasterInfo (RasterInfo _other)
 Generated from constructor MR.RasterInfo.RasterInfo.
unsafe nuint dataSize ()
 returns the size of all values in bytes, or the largest size_t value if the size does not fit in size_t, which no data can have Generated from method MR.RasterInfo.dataSize.
bool Equals (MR.Const_RasterInfo? _1)
override bool Equals (object? other)

Static Public Member Functions

static unsafe bool operator== (MR.Const_RasterInfo _this, MR.Const_RasterInfo _1)
 Generated from method MR::RasterInfo::operator==.
static unsafe bool operator!= (MR.Const_RasterInfo _this, MR.Const_RasterInfo _1)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector3i * __ref_storage_dims
unsafe MR.ScalarType * __ref_storage_type
unsafe int * __ref_storage_channels

Properties

unsafe ref readonly MR.Vector3i dims [get]
 number of pixels along each axis: x is the width, y is the height, z is the number of layers
unsafe MR.ScalarType type [get]
 type of all values
unsafe int channels [get]
 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

Detailed Description

everything about a raster except its values Generated from class MR.RasterInfo. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_RasterInfo() [1/4]

unsafe MR.Const_RasterInfo.Const_RasterInfo ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_RasterInfo() [2/4]

unsafe MR.Const_RasterInfo.Const_RasterInfo ( MR.Vector3i dims,
MR.ScalarType type,
int channels )
inline

Constructs MR.RasterInfo elementwise.

◆ Const_RasterInfo() [3/4]

unsafe MR.Const_RasterInfo.Const_RasterInfo ( MR.Const_RasterInfo _other)
inline

Generated from constructor MR.RasterInfo.RasterInfo.

◆ Const_RasterInfo() [4/4]

MR.Const_RasterInfo.Const_RasterInfo ( RasterInfo _other)
inline

Generated from constructor MR.RasterInfo.RasterInfo.

Member Function Documentation

◆ dataSize()

unsafe nuint MR.Const_RasterInfo.dataSize ( )
inline

returns the size of all values in bytes, or the largest size_t value if the size does not fit in size_t, which no data can have Generated from method MR.RasterInfo.dataSize.

◆ Dispose() [1/2]

virtual void MR.Const_RasterInfo.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_RasterInfo.Dispose ( bool disposing)
inlineprotectedvirtual

◆ Equals() [1/2]

bool MR.Const_RasterInfo.Equals ( MR.Const_RasterInfo? _1)
inline

◆ Equals() [2/2]

override bool MR.Const_RasterInfo.Equals ( object? other)
inline

◆ operator!=()

unsafe bool MR.Const_RasterInfo.operator!= ( MR.Const_RasterInfo _this,
MR.Const_RasterInfo _1 )
inlinestatic

◆ operator==()

unsafe bool MR.Const_RasterInfo.operator== ( MR.Const_RasterInfo _this,
MR.Const_RasterInfo _1 )
inlinestatic

Generated from method MR::RasterInfo::operator==.

Member Data Documentation

◆ __ref_storage_channels

unsafe int* MR.Const_RasterInfo.__ref_storage_channels
protected

◆ __ref_storage_dims

unsafe MR.Vector3i* MR.Const_RasterInfo.__ref_storage_dims
protected

◆ __ref_storage_type

unsafe MR.ScalarType* MR.Const_RasterInfo.__ref_storage_type
protected

Property Documentation

◆ channels

unsafe int MR.Const_RasterInfo.channels
get

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

◆ dims

unsafe ref readonly MR.Vector3i MR.Const_RasterInfo.dims
get

number of pixels along each axis: x is the width, y is the height, z is the number of layers

◆ type

unsafe MR.ScalarType MR.Const_RasterInfo.type
get

type of all values


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