MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::RasterInfo:

Public Member Functions

auto assign_from_another (_other:&meshlib::RasterInfo) -> &mut meshlib::RasterInfo
auto data_size () const -> usize
auto op_equal (_1:&meshlib::RasterInfo) const -> bool
auto op_not_equal (_1:&meshlib::RasterInfo) const -> bool
auto dims () const -> &meshlib::Vector3i
auto dims_mut () -> &mut meshlib::Vector3i
void set_dims (value:meshlib::Vector3i)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::RasterInfo >
static auto construct_from (dims:meshlib::Vector3i, type:meshlib::ScalarType, channels:core::ffi::c_int) -> meshlib::Owned< meshlib::RasterInfo >
static auto construct_from_another (_other:&meshlib::RasterInfo) -> meshlib::Owned< meshlib::RasterInfo >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

everything about a raster except its values Generated from class MR::RasterInfo.

Generated from class MR::RasterInfo. Heap-allocated instances are held in Owned<RasterInfo>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::RasterInfo::assign_from_another ( _other:&meshlib::RasterInfo ) -> &mut meshlib::RasterInfo

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

Calls MR_RasterInfo_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::RasterInfo::construct_from ( dims:meshlib::Vector3i ,
type:meshlib::ScalarType ,
channels:core::ffi::c_int  ) -> meshlib::Owned< meshlib::RasterInfo >
static

Constructs MR::RasterInfo elementwise.

Calls MR_RasterInfo_ConstructFrom(). 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.

◆ construct_from_another()

auto meshlib::RasterInfo::construct_from_another ( _other:&meshlib::RasterInfo ) -> meshlib::Owned< meshlib::RasterInfo >
static

Generated from constructor MR::RasterInfo::RasterInfo.

Calls MR_RasterInfo_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ data_size()

auto meshlib::RasterInfo::data_size ( ) const -> usize

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().

◆ dims()

auto meshlib::RasterInfo::dims ( ) const -> &meshlib::Vector3i

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.

Calls MR_RasterInfo_Get_dims(). The reference to this object might be preserved as the return value.

◆ dims_mut()

auto meshlib::RasterInfo::dims_mut ( ) -> &mut meshlib::Vector3i

number of pixels along each axis: x is the width, y is the height, z is the number of layers Returns a mutable pointer to a member variable of class MR::RasterInfo named dims.

Calls MR_RasterInfo_GetMutable_dims(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::RasterInfo::new ( ) -> meshlib::Owned< meshlib::RasterInfo >
static

Constructs an empty (default-constructed) instance.

Calls MR_RasterInfo_DefaultConstruct().

◆ op_equal()

auto meshlib::RasterInfo::op_equal ( _1:&meshlib::RasterInfo ) const -> bool

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

Calls MR_equal_MR_RasterInfo().

◆ op_not_equal()

auto meshlib::RasterInfo::op_not_equal ( _1:&meshlib::RasterInfo ) const -> bool

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

Calls MR_not_equal_MR_RasterInfo().

◆ set_dims()

void meshlib::RasterInfo::set_dims ( value:meshlib::Vector3i )

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.

Calls MR_RasterInfo_Set_dims(). The reference to the parameter value might be preserved in this object in element dims.


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