Public Member Functions | |
| AABBTreePoints (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| AABBTreePoints (meshlib.AABBTreePoints _other) | |
| AABBTreePoints (meshlib.PointCloud pointCloud) | |
| AABBTreePoints (meshlib.Mesh mesh) | |
| AABBTreePoints (meshlib.VertCoords points, meshlib.VertBitSet validPoints) | |
| meshlib.AABBTreePoints | assignFromAnother (meshlib.AABBTreePoints _other) |
| meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId | nodes () |
| meshlib.AABBTreePoints_Node | index (meshlib.NodeId nid) |
| meshlib.Box3f | getBoundingBox () |
| meshlib.std_vector_MR_AABBTreePoints_Point | orderedPoints () |
| void | getLeafOrder (meshlib.VertBMap vertMap) |
| void | getLeafOrderAndReset (meshlib.VertBMap vertMap) |
| long | heapBytes () |
| void | refit (meshlib.VertCoords newCoords, meshlib.VertBitSet changedVerts) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Static Public Member Functions | |
| static meshlib.NodeId | rootNodeId () |
| static int | MaxNumPointsInLeaf () |
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) | |
bounding volume hierarchy for point cloud structure Generated from class MR::AABBTreePoints.
Instances created here own their C++ objects, see CppObject.
| meshlib.AABBTreePoints.AABBTreePoints | ( | 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.AABBTreePoints.AABBTreePoints | ( | meshlib.AABBTreePoints | _other | ) |
Generated from constructor MR::AABBTreePoints::AABBTreePoints. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_AABBTreePoints_ConstructFromAnother().
| meshlib.AABBTreePoints.AABBTreePoints | ( | meshlib.PointCloud | pointCloud | ) |
creates tree for given point cloud Generated from constructor MR::AABBTreePoints::AABBTreePoints. The reference to the parameter pointCloud might be preserved in the constructed object.
Calls MR_AABBTreePoints_Construct_1_MR_PointCloud().
| meshlib.AABBTreePoints.AABBTreePoints | ( | meshlib.Mesh | mesh | ) |
creates tree for vertices of given mesh Generated from constructor MR::AABBTreePoints::AABBTreePoints. The reference to the parameter mesh might be preserved in the constructed object.
Calls MR_AABBTreePoints_Construct_1_MR_Mesh().
| meshlib.AABBTreePoints.AABBTreePoints | ( | meshlib.VertCoords | points, |
| meshlib.VertBitSet | validPoints ) |
creates tree from given valid points Generated from constructor MR::AABBTreePoints::AABBTreePoints. The reference to the parameter points might be preserved in the constructed object. The reference to the parameter validPoints might be preserved in the constructed object.
Calls MR_AABBTreePoints_Construct_2().
| meshlib.AABBTreePoints meshlib.AABBTreePoints.assignFromAnother | ( | meshlib.AABBTreePoints | _other | ) |
Generated from method MR::AABBTreePoints::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.
Calls MR_AABBTreePoints_AssignFromAnother().
| meshlib.Box3f meshlib.AABBTreePoints.getBoundingBox | ( | ) |
returns the root node bounding box Generated from method MR::AABBTreePoints::getBoundingBox.
Calls MR_AABBTreePoints_getBoundingBox().
| void meshlib.AABBTreePoints.getLeafOrder | ( | meshlib.VertBMap | vertMap | ) |
returns the mapping original VertId to new id following the points order in the tree; buffer in vertMap must be resized before the call, and caller is responsible for filling missing vertex elements Generated from method MR::AABBTreePoints::getLeafOrder.
Calls MR_AABBTreePoints_getLeafOrder().
| void meshlib.AABBTreePoints.getLeafOrderAndReset | ( | meshlib.VertBMap | vertMap | ) |
returns the mapping original VertId to new id following the points order in the tree; then resets leaf order as if the points were renumberd following the mapping; buffer in vertMap must be resized before the call, and caller is responsible for filling missing vertex elements Generated from method MR::AABBTreePoints::getLeafOrderAndReset.
Calls MR_AABBTreePoints_getLeafOrderAndReset().
| long meshlib.AABBTreePoints.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::AABBTreePoints::heapBytes.
Calls MR_AABBTreePoints_heapBytes().
| meshlib.AABBTreePoints_Node meshlib.AABBTreePoints.index | ( | meshlib.NodeId | nid | ) |
Generated from method MR::AABBTreePoints::operator[].
Calls MR_AABBTreePoints_index().
|
static |
maximum number of points in leaf node of tree (all of leafs should have this number of points except last one) Returns a pointer to a member variable of class MR::AABBTreePoints named MaxNumPointsInLeaf.
Calls MR_AABBTreePoints_Get_MaxNumPointsInLeaf().
| meshlib.Vector_MR_AABBTreePoints_Node_MR_NodeId meshlib.AABBTreePoints.nodes | ( | ) |
Generated from method MR::AABBTreePoints::nodes.
Calls MR_AABBTreePoints_nodes().
| meshlib.std_vector_MR_AABBTreePoints_Point meshlib.AABBTreePoints.orderedPoints | ( | ) |
Generated from method MR::AABBTreePoints::orderedPoints.
Calls MR_AABBTreePoints_orderedPoints().
| void meshlib.AABBTreePoints.refit | ( | meshlib.VertCoords | newCoords, |
| meshlib.VertBitSet | changedVerts ) |
updates bounding boxes of the nodes containing changed vertices; this is a faster alternative to full tree rebuild (but the tree after refit might be less efficient)
| newCoords | coordinates of all vertices including changed ones; |
| changedVerts | vertex ids with modified coordinates (since tree construction or last refit), nullptr means all vertices Generated from method MR::AABBTreePoints::refit. |
Calls MR_AABBTreePoints_refit().
|
static |
Generated from method MR::AABBTreePoints::rootNodeId.
Calls MR_AABBTreePoints_rootNodeId().