MeshLib C# Docs
Loading...
Searching...
No Matches
MR.RasterInfo Class Reference

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

Inheritance diagram for MR.RasterInfo:

Public Member Functions

unsafe RasterInfo ()
 Constructs an empty (default-constructed) instance.
unsafe RasterInfo (MR.Vector3i dims, MR.ScalarType type, int channels)
 Constructs MR.RasterInfo elementwise.
unsafe RasterInfo (MR.Const_RasterInfo _other)
 Generated from constructor MR.RasterInfo.RasterInfo.
 RasterInfo (RasterInfo _other)
 Generated from constructor MR.RasterInfo.RasterInfo.
unsafe MR.RasterInfo assign (MR.Const_RasterInfo _other)
 Generated from method MR::RasterInfo::operator=.
Public Member Functions inherited from MR.Const_RasterInfo
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)

Properties

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

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_RasterInfo
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 inherited from MR.Const_RasterInfo
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_RasterInfo
unsafe MR.Vector3i * __ref_storage_dims
unsafe MR.ScalarType * __ref_storage_type
unsafe int * __ref_storage_channels

Detailed Description

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

Constructor & Destructor Documentation

◆ RasterInfo() [1/4]

unsafe MR.RasterInfo.RasterInfo ( )
inline

Constructs an empty (default-constructed) instance.

◆ RasterInfo() [2/4]

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

Constructs MR.RasterInfo elementwise.

◆ RasterInfo() [3/4]

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

Generated from constructor MR.RasterInfo.RasterInfo.

◆ RasterInfo() [4/4]

MR.RasterInfo.RasterInfo ( RasterInfo _other)
inline

Generated from constructor MR.RasterInfo.RasterInfo.

Member Function Documentation

◆ assign()

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

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

Property Documentation

◆ channels

new unsafe ref int MR.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

new unsafe ref MR.Vector3i MR.RasterInfo.dims
get

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

◆ type

new unsafe ref MR.ScalarType MR.RasterInfo.type
get

type of all values


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