Static Public Member Functions | |
| static meshlib.Box1f | fromMinAndSize (float min, float size) |
| static boolean | getMinBoxCorner (float n) |
| static boolean | getMaxBoxCorner (float n) |
| static int | elements () |
| static meshlib.VdbVolume | staticDowncastFromVoxelsVolume_MR_FloatGrid (meshlib.VoxelsVolume_MR_FloatGrid object) |
| static meshlib.VdbVolume | staticDowncastFromBox1f (meshlib.Box1f object) |
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) | |
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
Instances created here own their C++ objects, see CppObject.
| meshlib.VdbVolume.VdbVolume | ( | 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.VdbVolume.VdbVolume | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_VdbVolume_DefaultConstruct().
| meshlib.VdbVolume.VdbVolume | ( | meshlib.VdbVolume | _other | ) |
Generated from constructor MR::VdbVolume::VdbVolume. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_VdbVolume_ConstructFromAnother().
| meshlib.VdbVolume meshlib.VdbVolume.assignFromAnother | ( | meshlib.VdbVolume | _other | ) |
Generated from method MR::VdbVolume::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_VdbVolume_AssignFromAnother().
| float meshlib.VdbVolume.center | ( | ) |
computes center of the box Generated from method MR::VdbVolume::center.
Calls MR_VdbVolume_center().
| float meshlib.VdbVolume.corner | ( | boolean | c | ) |
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().
| meshlib.FloatGrid meshlib.VdbVolume.data | ( | ) |
Returns a pointer to a member variable of class MR::VdbVolume named data. The reference to this object might be preserved as the return value.
Calls MR_VdbVolume_Get_data().
| float meshlib.VdbVolume.diagonal | ( | ) |
computes length from min to max Generated from method MR::VdbVolume::diagonal.
Calls MR_VdbVolume_diagonal().
| meshlib.Vector3i meshlib.VdbVolume.dims | ( | ) |
Returns a pointer to a member variable of class MR::VdbVolume named dims. The reference to this object might be preserved as the return value.
Calls MR_VdbVolume_Get_dims().
|
static |
Returns a pointer to a member variable of class MR::VdbVolume named elements.
Calls MR_VdbVolume_Get_elements().
| meshlib.Box1f meshlib.VdbVolume.expanded | ( | float | expansion | ) |
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().
| float meshlib.VdbVolume.getBoxClosestPointTo | ( | float | pt | ) |
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().
| float meshlib.VdbVolume.getProjection | ( | float | pt | ) |
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().
| long meshlib.VdbVolume.heapBytes | ( | ) |
Generated from method MR::VdbVolume::heapBytes.
Calls MR_VdbVolume_heapBytes().
| meshlib.Box1f meshlib.VdbVolume.insignificantlyExpanded | ( | ) |
decreases min and increases max to their closest representable value Generated from method MR::VdbVolume::insignificantlyExpanded.
Calls MR_VdbVolume_insignificantlyExpanded().
| meshlib.Box1f meshlib.VdbVolume.intersect | ( | meshlib.Box1f | b | ) |
Generated from method MR::VdbVolume::intersect.
Calls MR_VdbVolume_intersect().
| meshlib.Box1f meshlib.VdbVolume.intersection | ( | meshlib.Box1f | b | ) |
computes intersection between this and other box Generated from method MR::VdbVolume::intersection.
Calls MR_VdbVolume_intersection().
| boolean meshlib.VdbVolume.intersects | ( | meshlib.Box1f | b | ) |
checks whether this box intersects or touches given box Generated from method MR::VdbVolume::intersects.
Calls MR_VdbVolume_intersects().
| float meshlib.VdbVolume.max | ( | ) |
Returns a pointer to a member variable of class MR::VdbVolume named max. The reference to this object might be preserved as the return value.
Calls MR_VdbVolume_Get_max().
| float meshlib.VdbVolume.min | ( | ) |
Returns a pointer to a member variable of class MR::VdbVolume named min. The reference to this object might be preserved as the return value.
Calls MR_VdbVolume_Get_min().
| boolean meshlib.VdbVolume.opEqual | ( | meshlib.Box1f | a | ) |
Generated from method MR::VdbVolume::operator==.
Calls MR_equal_MR_VdbVolume_MR_Box1f().
| boolean meshlib.VdbVolume.opNotEqual | ( | meshlib.Box1f | a | ) |
Generated from method MR::VdbVolume::operator!=.
Calls MR_not_equal_MR_VdbVolume_MR_Box1f().
| void meshlib.VdbVolume.setData | ( | meshlib.FloatGrid | value | ) |
Modifies a member variable of class MR::VdbVolume named data. The reference to the parameter value might be preserved in this object in element data.
Calls MR_VdbVolume_Set_data().
| void meshlib.VdbVolume.setDims | ( | meshlib.Vector3i | value | ) |
Modifies a member variable of class MR::VdbVolume named dims. The reference to the parameter value might be preserved in this object in element dims.
Calls MR_VdbVolume_Set_dims().
| void meshlib.VdbVolume.setMax | ( | float | value | ) |
Modifies a member variable of class MR::VdbVolume named max.
Calls MR_VdbVolume_Set_max().
| void meshlib.VdbVolume.setMin | ( | float | value | ) |
Modifies a member variable of class MR::VdbVolume named min.
Calls MR_VdbVolume_Set_min().
| void meshlib.VdbVolume.setVoxelSize | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::VdbVolume named voxelSize. The reference to the parameter value might be preserved in this object in element voxelSize.
Calls MR_VdbVolume_Set_voxelSize().
| float meshlib.VdbVolume.size | ( | ) |
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. Undefined behavior if the object isn't actually a VdbVolume. The result refers to object.
Calls MR_VdbVolume_MutableStaticDowncastFrom_MR_Box1f().
|
static |
Static downcast from the base class MR::VoxelsVolume<MR::FloatGrid>. Undefined behavior if the object isn't actually a VdbVolume. The result refers to object.
Calls MR_VdbVolume_MutableStaticDowncastFrom_MR_VoxelsVolume_MR_FloatGrid().
| meshlib.Box1f meshlib.VdbVolume.upcastToBox1f | ( | ) |
Upcasts to the base class MR::Box1f. The result refers to this object.
Calls MR_VdbVolume_MutableUpcastTo_MR_Box1f().
| meshlib.VoxelsVolume_MR_FloatGrid meshlib.VdbVolume.upcastToVoxelsVolume_MR_FloatGrid | ( | ) |
Upcasts to the base class MR::VoxelsVolume<MR::FloatGrid>. The result refers to this object.
Calls MR_VdbVolume_MutableUpcastTo_MR_VoxelsVolume_MR_FloatGrid().
| boolean meshlib.VdbVolume.valid | ( | ) |
true if the box contains at least one point Generated from method MR::VdbVolume::valid.
Calls MR_VdbVolume_valid().
| float meshlib.VdbVolume.volume | ( | ) |
computes the volume of this box Generated from method MR::VdbVolume::volume.
Calls MR_VdbVolume_volume().
| meshlib.Vector3f meshlib.VdbVolume.voxelSize | ( | ) |
Returns a pointer to a member variable of class MR::VdbVolume named voxelSize. The reference to this object might be preserved as the return value.
Calls MR_VdbVolume_Get_voxelSize().