Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VdbVolume) -> &mut meshlib::VdbVolume |
| auto | heap_bytes () const -> usize |
| auto | valid () const -> bool |
| auto | center () const -> f32 |
| auto | corner (c:&bool) const -> f32 |
| auto | size () const -> f32 |
| auto | diagonal () const -> f32 |
| auto | volume () const -> f32 |
| auto | get_box_closest_point_to (pt:&f32) const -> f32 |
| auto | intersects (b:&meshlib::Box1f) const -> bool |
| auto | intersection (b:&meshlib::Box1f) const -> meshlib::Box1f |
| auto | intersect (b:&meshlib::Box1f) -> &mut meshlib::Box1f |
| auto | get_projection (pt:&f32) const -> f32 |
| auto | expanded (expansion:&f32) const -> meshlib::Box1f |
| auto | insignificantly_expanded () const -> meshlib::Box1f |
| auto | op_equal_mr_box1f (a:&meshlib::Box1f) const -> bool |
| auto | op_not_equal_mr_box1f (a:&meshlib::Box1f) const -> bool |
| auto | data () const -> &meshlib::FloatGrid |
| auto | data_mut () -> &mut meshlib::FloatGrid |
| void | set_data (value:&meshlib::FloatGrid) |
| 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) |
| auto | min () const -> &f32 |
| auto | min_mut () -> &mut f32 |
| void | set_min (value:f32) |
| auto | max () const -> &f32 |
| auto | max_mut () -> &mut f32 |
| void | set_max (value:f32) |
| auto | upcast_to_voxels_volume_mr_float_grid () const -> &meshlib::VoxelsVolume_MR_FloatGrid |
| auto | upcast_to_voxels_volume_mr_float_grid_mut () -> &mut meshlib::VoxelsVolume_MR_FloatGrid |
| auto | upcast_to_box1f () const -> &meshlib::Box1f |
| auto | upcast_to_box1f_mut () -> &mut meshlib::Box1f |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VdbVolume > |
| static auto | construct_from_another (_other:&meshlib::VdbVolume) -> meshlib::Owned< meshlib::VdbVolume > |
| static auto | from_min_and_size (min:&f32, size:&f32) -> meshlib::Box1f |
| static auto | get_min_box_corner (n:&f32) -> bool |
| static auto | get_max_box_corner (n:&f32) -> bool |
| static auto | elements () -> *const core::ffi::c_int |
| static auto | static_downcast_from_voxels_volume_mr_float_grid (object:&meshlib::VoxelsVolume_MR_FloatGrid) -> &Self |
| static auto | static_downcast_from_voxels_volume_mr_float_grid_mut (object:&mut meshlib::VoxelsVolume_MR_FloatGrid) -> &mut Self |
| static auto | static_downcast_from_box1f (object:&meshlib::Box1f) -> &Self |
| static auto | static_downcast_from_box1f_mut (object:&mut meshlib::Box1f) -> &mut Self |
| 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; and stores minimum and maximum values among all valid voxels Generated from class MR::VdbVolume. Base classes: Direct: (non-virtual) MR::VoxelsVolume<MR::FloatGrid> MR::Box1f
Generated from class MR::VdbVolume. Heap-allocated instances are held in Owned<VdbVolume>.
| auto meshlib::VdbVolume::assign_from_another | ( | _other:&meshlib::VdbVolume | ) | -> &mut meshlib::VdbVolume |
Generated from method MR::VdbVolume::operator=.
Calls MR_VdbVolume_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::VdbVolume::center | ( | ) | const -> f32 |
computes center of the box Generated from method MR::VdbVolume::center.
Calls MR_VdbVolume_center().
|
static |
Generated from constructor MR::VdbVolume::VdbVolume.
Calls MR_VdbVolume_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VdbVolume::corner | ( | c:& bool | ) | const -> f32 |
returns the corner of this box as specified by given bool-vector: 0 element in (c) means take min's coordinate, 1 element in (c) means take max's coordinate Generated from method MR::VdbVolume::corner.
Calls MR_VdbVolume_corner().
| auto meshlib::VdbVolume::data | ( | ) | const -> &meshlib::FloatGrid |
Returns a pointer to a member variable of class MR::VdbVolume named data.
Calls MR_VdbVolume_Get_data(). The reference to this object might be preserved as the return value.
| auto meshlib::VdbVolume::data_mut | ( | ) | -> &mut meshlib::FloatGrid |
Returns a mutable pointer to a member variable of class MR::VdbVolume named data.
Calls MR_VdbVolume_GetMutable_data(). The reference to this object might be preserved as the return value.
| auto meshlib::VdbVolume::diagonal | ( | ) | const -> f32 |
computes length from min to max Generated from method MR::VdbVolume::diagonal.
Calls MR_VdbVolume_diagonal().
| auto meshlib::VdbVolume::dims | ( | ) | const -> &meshlib::Vector3i |
Returns a pointer to a member variable of class MR::VdbVolume named dims.
Calls MR_VdbVolume_Get_dims(). The reference to this object might be preserved as the return value.
| auto meshlib::VdbVolume::dims_mut | ( | ) | -> &mut meshlib::Vector3i |
Returns a mutable pointer to a member variable of class MR::VdbVolume named dims.
Calls MR_VdbVolume_GetMutable_dims(). The reference to this object might be preserved as the return value.
|
static |
Returns a pointer to a member variable of class MR::VdbVolume named elements.
Calls MR_VdbVolume_Get_elements().
| auto meshlib::VdbVolume::expanded | ( | expansion:& | f32 | ) | const -> meshlib::Box1f |
decreases min and increased max on given value Generated from method MR::VdbVolume::expanded.
Calls MR_VdbVolume_expanded().
|
static |
Generated from method MR::VdbVolume::fromMinAndSize.
Calls MR_VdbVolume_fromMinAndSize().
| auto meshlib::VdbVolume::get_box_closest_point_to | ( | pt:& | f32 | ) | const -> f32 |
returns closest point in the box to given point Generated from method MR::VdbVolume::getBoxClosestPointTo.
Calls MR_VdbVolume_getBoxClosestPointTo().
|
static |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is maximal Generated from method MR::VdbVolume::getMaxBoxCorner.
Calls MR_VdbVolume_getMaxBoxCorner().
|
static |
considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is minimal Generated from method MR::VdbVolume::getMinBoxCorner.
Calls MR_VdbVolume_getMinBoxCorner().
| auto meshlib::VdbVolume::get_projection | ( | pt:& | f32 | ) | const -> f32 |
returns the closest point on the box to the given point for points outside the box this is equivalent to getBoxClosestPointTo Generated from method MR::VdbVolume::getProjection.
Calls MR_VdbVolume_getProjection().
| auto meshlib::VdbVolume::heap_bytes | ( | ) | const -> usize |
Generated from method MR::VdbVolume::heapBytes.
Calls MR_VdbVolume_heapBytes().
| auto meshlib::VdbVolume::insignificantly_expanded | ( | ) | const -> meshlib::Box1f |
decreases min and increases max to their closest representable value Generated from method MR::VdbVolume::insignificantlyExpanded.
Calls MR_VdbVolume_insignificantlyExpanded().
| auto meshlib::VdbVolume::intersect | ( | b:&meshlib::Box1f | ) | -> &mut meshlib::Box1f |
Generated from method MR::VdbVolume::intersect.
Calls MR_VdbVolume_intersect().
| auto meshlib::VdbVolume::intersection | ( | b:&meshlib::Box1f | ) | const -> meshlib::Box1f |
computes intersection between this and other box Generated from method MR::VdbVolume::intersection.
Calls MR_VdbVolume_intersection().
| auto meshlib::VdbVolume::intersects | ( | b:&meshlib::Box1f | ) | const -> bool |
checks whether this box intersects or touches given box Generated from method MR::VdbVolume::intersects.
Calls MR_VdbVolume_intersects().
| auto meshlib::VdbVolume::max | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::VdbVolume named max.
Calls MR_VdbVolume_Get_max(). The reference to this object might be preserved as the return value.
| auto meshlib::VdbVolume::max_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::VdbVolume named max.
Calls MR_VdbVolume_GetMutable_max(). The reference to this object might be preserved as the return value.
| auto meshlib::VdbVolume::min | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::VdbVolume named min.
Calls MR_VdbVolume_Get_min(). The reference to this object might be preserved as the return value.
| auto meshlib::VdbVolume::min_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::VdbVolume named min.
Calls MR_VdbVolume_GetMutable_min(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_VdbVolume_DefaultConstruct().
| auto meshlib::VdbVolume::op_equal_mr_box1f | ( | a:&meshlib::Box1f | ) | const -> bool |
Generated from method MR::VdbVolume::operator==.
Calls MR_equal_MR_VdbVolume_MR_Box1f().
| auto meshlib::VdbVolume::op_not_equal_mr_box1f | ( | a:&meshlib::Box1f | ) | const -> bool |
Generated from method MR::VdbVolume::operator!=.
Calls MR_not_equal_MR_VdbVolume_MR_Box1f().
| void meshlib::VdbVolume::set_data | ( | value:&meshlib::FloatGrid | ) |
Modifies a member variable of class MR::VdbVolume named data.
Calls MR_VdbVolume_Set_data(). The reference to the parameter value might be preserved in this object in element data.
| void meshlib::VdbVolume::set_dims | ( | value:meshlib::Vector3i | ) |
Modifies a member variable of class MR::VdbVolume named dims.
Calls MR_VdbVolume_Set_dims(). The reference to the parameter value might be preserved in this object in element dims.
| void meshlib::VdbVolume::set_max | ( | value:f32 | ) |
Modifies a member variable of class MR::VdbVolume named max.
Calls MR_VdbVolume_Set_max().
| void meshlib::VdbVolume::set_min | ( | value:f32 | ) |
Modifies a member variable of class MR::VdbVolume named min.
Calls MR_VdbVolume_Set_min().
| void meshlib::VdbVolume::set_voxel_size | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::VdbVolume named voxelSize.
Calls MR_VdbVolume_Set_voxelSize(). The reference to the parameter value might be preserved in this object in element voxelSize.
| auto meshlib::VdbVolume::size | ( | ) | const -> f32 |
computes size of the box in all dimensions Generated from method MR::VdbVolume::size.
Calls MR_VdbVolume_size().
|
static |
Static downcast from the base class MR::Box1f.
Calls MR_VdbVolume_StaticDowncastFrom_MR_Box1f(). Undefined behavior if the object isn't actually a VdbVolume.
|
static |
Static downcast from the base class MR::Box1f.
Calls MR_VdbVolume_MutableStaticDowncastFrom_MR_Box1f(). Undefined behavior if the object isn't actually a VdbVolume.
|
static |
Static downcast from the base class MR::VoxelsVolume<MR::FloatGrid>.
Calls MR_VdbVolume_StaticDowncastFrom_MR_VoxelsVolume_MR_FloatGrid(). Undefined behavior if the object isn't actually a VdbVolume.
|
static |
Static downcast from the base class MR::VoxelsVolume<MR::FloatGrid>.
Calls MR_VdbVolume_MutableStaticDowncastFrom_MR_VoxelsVolume_MR_FloatGrid(). Undefined behavior if the object isn't actually a VdbVolume.
| auto meshlib::VdbVolume::upcast_to_box1f | ( | ) | const -> &meshlib::Box1f |
Upcasts to the base class MR::Box1f.
Calls MR_VdbVolume_UpcastTo_MR_Box1f().
| auto meshlib::VdbVolume::upcast_to_box1f_mut | ( | ) | -> &mut meshlib::Box1f |
Upcasts to the base class MR::Box1f.
Calls MR_VdbVolume_MutableUpcastTo_MR_Box1f().
| auto meshlib::VdbVolume::upcast_to_voxels_volume_mr_float_grid | ( | ) | const -> &meshlib::VoxelsVolume_MR_FloatGrid |
Upcasts to the base class MR::VoxelsVolume<MR::FloatGrid>.
Calls MR_VdbVolume_UpcastTo_MR_VoxelsVolume_MR_FloatGrid().
| auto meshlib::VdbVolume::upcast_to_voxels_volume_mr_float_grid_mut | ( | ) | -> &mut meshlib::VoxelsVolume_MR_FloatGrid |
Upcasts to the base class MR::VoxelsVolume<MR::FloatGrid>.
Calls MR_VdbVolume_MutableUpcastTo_MR_VoxelsVolume_MR_FloatGrid().
| auto meshlib::VdbVolume::valid | ( | ) | const -> bool |
true if the box contains at least one point Generated from method MR::VdbVolume::valid.
Calls MR_VdbVolume_valid().
| auto meshlib::VdbVolume::volume | ( | ) | const -> f32 |
computes the volume of this box Generated from method MR::VdbVolume::volume.
Calls MR_VdbVolume_volume().
| auto meshlib::VdbVolume::voxel_size | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::VdbVolume named voxelSize.
Calls MR_VdbVolume_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::VdbVolume::voxel_size_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::VdbVolume named voxelSize.
Calls MR_VdbVolume_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.