Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::SimpleVolumeMinMaxU16) -> &mut meshlib::SimpleVolumeMinMaxU16 |
| auto | heap_bytes () const -> usize |
| auto | valid () const -> bool |
| auto | center () const -> core::ffi::c_ushort |
| auto | corner (c:&bool) const -> core::ffi::c_ushort |
| auto | size () const -> core::ffi::c_ushort |
| auto | diagonal () const -> core::ffi::c_ushort |
| auto | volume () const -> core::ffi::c_ushort |
| auto | get_box_closest_point_to (pt:&core::ffi::c_ushort) const -> core::ffi::c_ushort |
| auto | intersects (b:&meshlib::Box_unsigned_short) const -> bool |
| auto | intersection (b:&meshlib::Box_unsigned_short) const -> meshlib::Owned< meshlib::Box_unsigned_short > |
| auto | intersect (b:&meshlib::Box_unsigned_short) -> &mut meshlib::Box_unsigned_short |
| auto | get_projection (pt:&core::ffi::c_ushort) const -> core::ffi::c_ushort |
| auto | expanded (expansion:&core::ffi::c_ushort) const -> meshlib::Owned< meshlib::Box_unsigned_short > |
| auto | insignificantly_expanded () const -> meshlib::Owned< meshlib::Box_unsigned_short > |
| auto | op_equal_mr_box_unsigned_short (a:&meshlib::Box_unsigned_short) const -> bool |
| auto | op_not_equal_mr_box_unsigned_short (a:&meshlib::Box_unsigned_short) const -> bool |
| auto | data () const -> &meshlib::Vector_unsigned_short_MR_VoxelId |
| auto | data_mut () -> &mut meshlib::Vector_unsigned_short_MR_VoxelId |
| void | set_data (value:&meshlib::Vector_unsigned_short_MR_VoxelId) |
| 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 -> &core::ffi::c_ushort |
| auto | min_mut () -> &mut core::ffi::c_ushort |
| void | set_min (value:core::ffi::c_ushort) |
| auto | max () const -> &core::ffi::c_ushort |
| auto | max_mut () -> &mut core::ffi::c_ushort |
| void | set_max (value:core::ffi::c_ushort) |
| auto | upcast_to_simple_volume_u16 () const -> &meshlib::SimpleVolumeU16 |
| auto | upcast_to_simple_volume_u16_mut () -> &mut meshlib::SimpleVolumeU16 |
| auto | upcast_to_box_unsigned_short () const -> &meshlib::Box_unsigned_short |
| auto | upcast_to_box_unsigned_short_mut () -> &mut meshlib::Box_unsigned_short |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SimpleVolumeMinMaxU16 > |
| static auto | construct_from_another (_other:&meshlib::SimpleVolumeMinMaxU16) -> meshlib::Owned< meshlib::SimpleVolumeMinMaxU16 > |
| static auto | from_min_and_size (min:&core::ffi::c_ushort, size:&core::ffi::c_ushort) -> meshlib::Owned< meshlib::Box_unsigned_short > |
| static auto | get_min_box_corner (n:&core::ffi::c_ushort) -> bool |
| static auto | get_max_box_corner (n:&core::ffi::c_ushort) -> bool |
| static auto | elements () -> *const core::ffi::c_int |
| static auto | static_downcast_from_simple_volume_u16 (object:&meshlib::SimpleVolumeU16) -> &Self |
| static auto | static_downcast_from_simple_volume_u16_mut (object:&mut meshlib::SimpleVolumeU16) -> &mut Self |
| static auto | static_downcast_from_box_unsigned_short (object:&meshlib::Box_unsigned_short) -> &Self |
| static auto | static_downcast_from_box_unsigned_short_mut (object:&mut meshlib::Box_unsigned_short) -> &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::SimpleVolumeMinMaxU16. Base classes: Direct: (non-virtual) MR::SimpleVolumeU16 MR::Box<unsigned short>
Generated from class MR::SimpleVolumeMinMaxU16. Heap-allocated instances are held in Owned<SimpleVolumeMinMaxU16>.
| auto meshlib::SimpleVolumeMinMaxU16::assign_from_another | ( | _other:&meshlib::SimpleVolumeMinMaxU16 | ) | -> &mut meshlib::SimpleVolumeMinMaxU16 |
Generated from method MR::SimpleVolumeMinMaxU16::operator=.
Calls MR_SimpleVolumeMinMaxU16_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::SimpleVolumeMinMaxU16::center | ( | ) | const -> core::ffi::c_ushort |
computes center of the box Generated from method MR::SimpleVolumeMinMaxU16::center.
Calls MR_SimpleVolumeMinMaxU16_center().
|
static |
Generated from constructor MR::SimpleVolumeMinMaxU16::SimpleVolumeMinMaxU16.
Calls MR_SimpleVolumeMinMaxU16_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SimpleVolumeMinMaxU16::corner | ( | c:& bool | ) | const -> core::ffi::c_ushort |
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::SimpleVolumeMinMaxU16::corner.
Calls MR_SimpleVolumeMinMaxU16_corner().
| auto meshlib::SimpleVolumeMinMaxU16::data | ( | ) | const -> &meshlib::Vector_unsigned_short_MR_VoxelId |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named data.
Calls MR_SimpleVolumeMinMaxU16_Get_data(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolumeMinMaxU16::data_mut | ( | ) | -> &mut meshlib::Vector_unsigned_short_MR_VoxelId |
Returns a mutable pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named data.
Calls MR_SimpleVolumeMinMaxU16_GetMutable_data(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolumeMinMaxU16::diagonal | ( | ) | const -> core::ffi::c_ushort |
computes length from min to max Generated from method MR::SimpleVolumeMinMaxU16::diagonal.
Calls MR_SimpleVolumeMinMaxU16_diagonal().
| auto meshlib::SimpleVolumeMinMaxU16::dims | ( | ) | const -> &meshlib::Vector3i |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named dims.
Calls MR_SimpleVolumeMinMaxU16_Get_dims(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolumeMinMaxU16::dims_mut | ( | ) | -> &mut meshlib::Vector3i |
Returns a mutable pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named dims.
Calls MR_SimpleVolumeMinMaxU16_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::SimpleVolumeMinMaxU16 named elements.
Calls MR_SimpleVolumeMinMaxU16_Get_elements().
| auto meshlib::SimpleVolumeMinMaxU16::expanded | ( | expansion:&core::ffi::c_ushort | ) | const -> meshlib::Owned< meshlib::Box_unsigned_short > |
decreases min and increased max on given value Generated from method MR::SimpleVolumeMinMaxU16::expanded.
Calls MR_SimpleVolumeMinMaxU16_expanded().
|
static |
Generated from method MR::SimpleVolumeMinMaxU16::fromMinAndSize.
Calls MR_SimpleVolumeMinMaxU16_fromMinAndSize().
| auto meshlib::SimpleVolumeMinMaxU16::get_box_closest_point_to | ( | pt:&core::ffi::c_ushort | ) | const -> core::ffi::c_ushort |
returns closest point in the box to given point Generated from method MR::SimpleVolumeMinMaxU16::getBoxClosestPointTo.
Calls MR_SimpleVolumeMinMaxU16_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::SimpleVolumeMinMaxU16::getMaxBoxCorner.
Calls MR_SimpleVolumeMinMaxU16_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::SimpleVolumeMinMaxU16::getMinBoxCorner.
Calls MR_SimpleVolumeMinMaxU16_getMinBoxCorner().
| auto meshlib::SimpleVolumeMinMaxU16::get_projection | ( | pt:&core::ffi::c_ushort | ) | const -> core::ffi::c_ushort |
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::SimpleVolumeMinMaxU16::getProjection.
Calls MR_SimpleVolumeMinMaxU16_getProjection().
| auto meshlib::SimpleVolumeMinMaxU16::heap_bytes | ( | ) | const -> usize |
Generated from method MR::SimpleVolumeMinMaxU16::heapBytes.
Calls MR_SimpleVolumeMinMaxU16_heapBytes().
| auto meshlib::SimpleVolumeMinMaxU16::insignificantly_expanded | ( | ) | const -> meshlib::Owned< meshlib::Box_unsigned_short > |
decreases min and increases max to their closest representable value Generated from method MR::SimpleVolumeMinMaxU16::insignificantlyExpanded.
Calls MR_SimpleVolumeMinMaxU16_insignificantlyExpanded().
| auto meshlib::SimpleVolumeMinMaxU16::intersect | ( | b:&meshlib::Box_unsigned_short | ) | -> &mut meshlib::Box_unsigned_short |
Generated from method MR::SimpleVolumeMinMaxU16::intersect.
Calls MR_SimpleVolumeMinMaxU16_intersect().
| auto meshlib::SimpleVolumeMinMaxU16::intersection | ( | b:&meshlib::Box_unsigned_short | ) | const -> meshlib::Owned< meshlib::Box_unsigned_short > |
computes intersection between this and other box Generated from method MR::SimpleVolumeMinMaxU16::intersection.
Calls MR_SimpleVolumeMinMaxU16_intersection().
| auto meshlib::SimpleVolumeMinMaxU16::intersects | ( | b:&meshlib::Box_unsigned_short | ) | const -> bool |
checks whether this box intersects or touches given box Generated from method MR::SimpleVolumeMinMaxU16::intersects.
Calls MR_SimpleVolumeMinMaxU16_intersects().
| auto meshlib::SimpleVolumeMinMaxU16::max | ( | ) | const -> &core::ffi::c_ushort |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named max.
Calls MR_SimpleVolumeMinMaxU16_Get_max(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolumeMinMaxU16::max_mut | ( | ) | -> &mut core::ffi::c_ushort |
Returns a mutable pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named max.
Calls MR_SimpleVolumeMinMaxU16_GetMutable_max(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolumeMinMaxU16::min | ( | ) | const -> &core::ffi::c_ushort |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named min.
Calls MR_SimpleVolumeMinMaxU16_Get_min(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolumeMinMaxU16::min_mut | ( | ) | -> &mut core::ffi::c_ushort |
Returns a mutable pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named min.
Calls MR_SimpleVolumeMinMaxU16_GetMutable_min(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SimpleVolumeMinMaxU16_DefaultConstruct().
| auto meshlib::SimpleVolumeMinMaxU16::op_equal_mr_box_unsigned_short | ( | a:&meshlib::Box_unsigned_short | ) | const -> bool |
Generated from method MR::SimpleVolumeMinMaxU16::operator==.
Calls MR_equal_MR_SimpleVolumeMinMaxU16_MR_Box_unsigned_short().
| auto meshlib::SimpleVolumeMinMaxU16::op_not_equal_mr_box_unsigned_short | ( | a:&meshlib::Box_unsigned_short | ) | const -> bool |
Generated from method MR::SimpleVolumeMinMaxU16::operator!=.
Calls MR_not_equal_MR_SimpleVolumeMinMaxU16_MR_Box_unsigned_short().
| void meshlib::SimpleVolumeMinMaxU16::set_data | ( | value:&meshlib::Vector_unsigned_short_MR_VoxelId | ) |
Modifies a member variable of class MR::SimpleVolumeMinMaxU16 named data.
Calls MR_SimpleVolumeMinMaxU16_Set_data(). The reference to the parameter value might be preserved in this object in element data.
| void meshlib::SimpleVolumeMinMaxU16::set_dims | ( | value:meshlib::Vector3i | ) |
Modifies a member variable of class MR::SimpleVolumeMinMaxU16 named dims.
Calls MR_SimpleVolumeMinMaxU16_Set_dims(). The reference to the parameter value might be preserved in this object in element dims.
| void meshlib::SimpleVolumeMinMaxU16::set_max | ( | value:core::ffi::c_ushort | ) |
Modifies a member variable of class MR::SimpleVolumeMinMaxU16 named max.
Calls MR_SimpleVolumeMinMaxU16_Set_max(). The reference to the parameter value might be preserved in this object in element max.
| void meshlib::SimpleVolumeMinMaxU16::set_min | ( | value:core::ffi::c_ushort | ) |
Modifies a member variable of class MR::SimpleVolumeMinMaxU16 named min.
Calls MR_SimpleVolumeMinMaxU16_Set_min(). The reference to the parameter value might be preserved in this object in element min.
| void meshlib::SimpleVolumeMinMaxU16::set_voxel_size | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::SimpleVolumeMinMaxU16 named voxelSize.
Calls MR_SimpleVolumeMinMaxU16_Set_voxelSize(). The reference to the parameter value might be preserved in this object in element voxelSize.
| auto meshlib::SimpleVolumeMinMaxU16::size | ( | ) | const -> core::ffi::c_ushort |
computes size of the box in all dimensions Generated from method MR::SimpleVolumeMinMaxU16::size.
Calls MR_SimpleVolumeMinMaxU16_size().
|
static |
Static downcast from the base class MR::Box<unsigned short>.
Calls MR_SimpleVolumeMinMaxU16_StaticDowncastFrom_MR_Box_unsigned_short(). Undefined behavior if the object isn't actually a SimpleVolumeMinMaxU16.
|
static |
Static downcast from the base class MR::Box<unsigned short>.
Calls MR_SimpleVolumeMinMaxU16_MutableStaticDowncastFrom_MR_Box_unsigned_short(). Undefined behavior if the object isn't actually a SimpleVolumeMinMaxU16.
|
static |
Static downcast from the base class MR::SimpleVolumeU16.
Calls MR_SimpleVolumeMinMaxU16_StaticDowncastFrom_MR_SimpleVolumeU16(). Undefined behavior if the object isn't actually a SimpleVolumeMinMaxU16.
|
static |
Static downcast from the base class MR::SimpleVolumeU16.
Calls MR_SimpleVolumeMinMaxU16_MutableStaticDowncastFrom_MR_SimpleVolumeU16(). Undefined behavior if the object isn't actually a SimpleVolumeMinMaxU16.
| auto meshlib::SimpleVolumeMinMaxU16::upcast_to_box_unsigned_short | ( | ) | const -> &meshlib::Box_unsigned_short |
Upcasts to the base class MR::Box<unsigned short>.
Calls MR_SimpleVolumeMinMaxU16_UpcastTo_MR_Box_unsigned_short().
| auto meshlib::SimpleVolumeMinMaxU16::upcast_to_box_unsigned_short_mut | ( | ) | -> &mut meshlib::Box_unsigned_short |
Upcasts to the base class MR::Box<unsigned short>.
Calls MR_SimpleVolumeMinMaxU16_MutableUpcastTo_MR_Box_unsigned_short().
| auto meshlib::SimpleVolumeMinMaxU16::upcast_to_simple_volume_u16 | ( | ) | const -> &meshlib::SimpleVolumeU16 |
Upcasts to the base class MR::SimpleVolumeU16.
Calls MR_SimpleVolumeMinMaxU16_UpcastTo_MR_SimpleVolumeU16().
| auto meshlib::SimpleVolumeMinMaxU16::upcast_to_simple_volume_u16_mut | ( | ) | -> &mut meshlib::SimpleVolumeU16 |
Upcasts to the base class MR::SimpleVolumeU16.
Calls MR_SimpleVolumeMinMaxU16_MutableUpcastTo_MR_SimpleVolumeU16().
| auto meshlib::SimpleVolumeMinMaxU16::valid | ( | ) | const -> bool |
true if the box contains at least one point Generated from method MR::SimpleVolumeMinMaxU16::valid.
Calls MR_SimpleVolumeMinMaxU16_valid().
| auto meshlib::SimpleVolumeMinMaxU16::volume | ( | ) | const -> core::ffi::c_ushort |
computes the volume of this box Generated from method MR::SimpleVolumeMinMaxU16::volume.
Calls MR_SimpleVolumeMinMaxU16_volume().
| auto meshlib::SimpleVolumeMinMaxU16::voxel_size | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named voxelSize.
Calls MR_SimpleVolumeMinMaxU16_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::SimpleVolumeMinMaxU16::voxel_size_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named voxelSize.
Calls MR_SimpleVolumeMinMaxU16_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.