Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::SimpleVolume) -> &mut meshlib::SimpleVolume |
| auto | heap_bytes () const -> usize |
| auto | data () const -> &meshlib::VoxelScalars |
| auto | data_mut () -> &mut meshlib::VoxelScalars |
| void | set_data (value:&meshlib::VoxelScalars) |
| auto | dims () const -> &meshlib::Vector3i |
| auto | dims_mut () -> &mut meshlib::Vector3i |
| void | set_dims (value:meshlib::Vector3i) |
| auto | voxel_size () const -> &meshlib::Vector3f |
| auto | voxel_size_mut () -> &mut meshlib::Vector3f |
| void | set_voxel_size (value:meshlib::Vector3f) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SimpleVolume > |
| static auto | construct_from (data:&meshlib::VoxelScalars, dims:meshlib::Vector3i, voxelSize:meshlib::Vector3f) -> meshlib::Owned< meshlib::SimpleVolume > |
| static auto | construct_from_another (_other:&meshlib::SimpleVolume) -> meshlib::Owned< meshlib::SimpleVolume > |
| 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 |
represents a box in 3D space subdivided on voxels stored in T Generated from class MR::SimpleVolume. Derived classes: Direct: (non-virtual) MR::SimpleVolumeMinMax
Generated from class MR::SimpleVolume. Heap-allocated instances are held in Owned<SimpleVolume>.
| auto meshlib::SimpleVolume::assign_from_another | ( | _other:&meshlib::SimpleVolume | ) | -> &mut meshlib::SimpleVolume |
Generated from method MR::SimpleVolume::operator=.
Calls MR_SimpleVolume_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::SimpleVolume elementwise.
Calls MR_SimpleVolume_ConstructFrom(). The reference to the parameter data might be preserved in the constructed object. The reference to the parameter dims might be preserved in the constructed object. The reference to the parameter voxelSize might be preserved in the constructed object.
|
static |
Generated from constructor MR::SimpleVolume::SimpleVolume.
Calls MR_SimpleVolume_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SimpleVolume::data | ( | ) | const -> &meshlib::VoxelScalars |
Returns a pointer to a member variable of class MR::SimpleVolume named data.
Calls MR_SimpleVolume_Get_data(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolume::data_mut | ( | ) | -> &mut meshlib::VoxelScalars |
Returns a mutable pointer to a member variable of class MR::SimpleVolume named data.
Calls MR_SimpleVolume_GetMutable_data(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolume::dims | ( | ) | const -> &meshlib::Vector3i |
Returns a pointer to a member variable of class MR::SimpleVolume named dims.
Calls MR_SimpleVolume_Get_dims(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolume::dims_mut | ( | ) | -> &mut meshlib::Vector3i |
Returns a mutable pointer to a member variable of class MR::SimpleVolume named dims.
Calls MR_SimpleVolume_GetMutable_dims(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolume::heap_bytes | ( | ) | const -> usize |
Generated from method MR::SimpleVolume::heapBytes.
Calls MR_SimpleVolume_heapBytes().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SimpleVolume_DefaultConstruct().
| void meshlib::SimpleVolume::set_data | ( | value:&meshlib::VoxelScalars | ) |
Modifies a member variable of class MR::SimpleVolume named data.
Calls MR_SimpleVolume_Set_data(). The reference to the parameter value might be preserved in this object in element data.
| void meshlib::SimpleVolume::set_dims | ( | value:meshlib::Vector3i | ) |
Modifies a member variable of class MR::SimpleVolume named dims.
Calls MR_SimpleVolume_Set_dims(). The reference to the parameter value might be preserved in this object in element dims.
| void meshlib::SimpleVolume::set_voxel_size | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::SimpleVolume named voxelSize.
Calls MR_SimpleVolume_Set_voxelSize(). The reference to the parameter value might be preserved in this object in element voxelSize.
| auto meshlib::SimpleVolume::voxel_size | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::SimpleVolume named voxelSize.
Calls MR_SimpleVolume_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolume::voxel_size_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::SimpleVolume named voxelSize.
Calls MR_SimpleVolume_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.