Public Member Functions | |
| RasterInfo (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| RasterInfo () | |
| RasterInfo (meshlib.Vector3i dims, meshlib.ScalarType type, int channels) | |
| RasterInfo (meshlib.RasterInfo _other) | |
| meshlib.RasterInfo | assignFromAnother (meshlib.RasterInfo _other) |
| long | dataSize () |
| boolean | opEqual (meshlib.RasterInfo _1) |
| boolean | opNotEqual (meshlib.RasterInfo _1) |
| meshlib.Vector3i | dims () |
| void | setDims (meshlib.Vector3i value) |
| meshlib.ScalarType | type () |
| void | setType (meshlib.ScalarType value) |
| int | channels () |
| void | setChannels (int value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
everything about a raster except its values Generated from class MR::RasterInfo.
Instances created here own their C++ objects, see CppObject.
| meshlib.RasterInfo.RasterInfo | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.RasterInfo.RasterInfo | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_RasterInfo_DefaultConstruct().
| meshlib.RasterInfo.RasterInfo | ( | meshlib.Vector3i | dims, |
| meshlib.ScalarType | type, | ||
| int | channels ) |
Constructs MR::RasterInfo elementwise. The reference to the parameter dims might be preserved in the constructed object. The reference to the parameter type might be preserved in the constructed object.
Calls MR_RasterInfo_ConstructFrom().
| meshlib.RasterInfo.RasterInfo | ( | meshlib.RasterInfo | _other | ) |
Generated from constructor MR::RasterInfo::RasterInfo. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_RasterInfo_ConstructFromAnother().
| meshlib.RasterInfo meshlib.RasterInfo.assignFromAnother | ( | meshlib.RasterInfo | _other | ) |
Generated from method MR::RasterInfo::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_RasterInfo_AssignFromAnother().
| int meshlib.RasterInfo.channels | ( | ) |
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 Returns a pointer to a member variable of class MR::RasterInfo named channels. The reference to this object might be preserved as the return value.
Calls MR_RasterInfo_Get_channels().
| long meshlib.RasterInfo.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.
Calls MR_RasterInfo_dataSize().
| meshlib.Vector3i meshlib.RasterInfo.dims | ( | ) |
number of pixels along each axis: x is the width, y is the height, z is the number of layers Returns a pointer to a member variable of class MR::RasterInfo named dims. The reference to this object might be preserved as the return value.
Calls MR_RasterInfo_Get_dims().
| boolean meshlib.RasterInfo.opEqual | ( | meshlib.RasterInfo | _1 | ) |
Generated from method MR::RasterInfo::operator==.
Calls MR_equal_MR_RasterInfo().
| boolean meshlib.RasterInfo.opNotEqual | ( | meshlib.RasterInfo | _1 | ) |
Generated from method MR::RasterInfo::operator!=.
Calls MR_not_equal_MR_RasterInfo().
| void meshlib.RasterInfo.setChannels | ( | int | value | ) |
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 Modifies a member variable of class MR::RasterInfo named channels.
Calls MR_RasterInfo_Set_channels().
| void meshlib.RasterInfo.setDims | ( | meshlib.Vector3i | value | ) |
number of pixels along each axis: x is the width, y is the height, z is the number of layers Modifies a member variable of class MR::RasterInfo named dims. The reference to the parameter value might be preserved in this object in element dims.
Calls MR_RasterInfo_Set_dims().
| void meshlib.RasterInfo.setType | ( | meshlib.ScalarType | value | ) |
type of all values Modifies a member variable of class MR::RasterInfo named type. The reference to the parameter value might be preserved in this object in element type.
Calls MR_RasterInfo_Set_type().
| meshlib.ScalarType meshlib.RasterInfo.type | ( | ) |
type of all values Returns a pointer to a member variable of class MR::RasterInfo named type. The reference to this object might be preserved as the return value.
Calls MR_RasterInfo_Get_type().