MeshLib C# Docs
Loading...
Searching...
No Matches

bounding volume hierarchy for point cloud structure Generated from class MR.AABBTreePoints. This is the non-const half of the class. More...

Inheritance diagram for MR.AABBTreePoints:

Public Member Functions

unsafe AABBTreePoints (MR._ByValue_AABBTreePoints _other)
 Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe AABBTreePoints (MR.Const_PointCloud pointCloud)
 creates tree for given point cloud Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe AABBTreePoints (MR.Const_Mesh mesh)
 creates tree for vertices of given mesh Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe AABBTreePoints (MR.Const_VertCoords points, MR.Const_VertBitSet? validPoints=null)
 creates tree from given valid points Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe MR.AABBTreePoints assign (MR._ByValue_AABBTreePoints _other)
 Generated from method MR::AABBTreePoints::operator=.
unsafe void getLeafOrderAndReset (MR.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.
unsafe void refit (MR.Const_VertCoords newCoords, MR.Const_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)
Public Member Functions inherited from MR.Const_AABBTreePoints
virtual void Dispose ()
unsafe Const_AABBTreePoints (MR._ByValue_AABBTreePoints _other)
 Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe Const_AABBTreePoints (MR.Const_PointCloud pointCloud)
 creates tree for given point cloud Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe Const_AABBTreePoints (MR.Const_Mesh mesh)
 creates tree for vertices of given mesh Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe Const_AABBTreePoints (MR.Const_VertCoords points, MR.Const_VertBitSet? validPoints=null)
 creates tree from given valid points Generated from constructor MR.AABBTreePoints.AABBTreePoints.
unsafe MR.Const_Vector_MRAABBTreePointsNode_MRNodeId nodes ()
 Generated from method MR.AABBTreePoints.nodes.
unsafe MR.Box3f getBoundingBox ()
 returns the root node bounding box Generated from method MR.AABBTreePoints.getBoundingBox.
unsafe MR.Std.Const_Vector_MRAABBTreePointsPoint orderedPoints ()
 Generated from method MR.AABBTreePoints.orderedPoints.
unsafe void getLeafOrder (MR.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.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.AABBTreePoints.heapBytes.

Static Public Member Functions

static unsafe implicit operator AABBTreePoints (MR.Const_PointCloud pointCloud)
 creates tree for given point cloud Generated from constructor MR.AABBTreePoints.AABBTreePoints.
static unsafe implicit operator AABBTreePoints (MR.Const_Mesh mesh)
 creates tree for vertices of given mesh Generated from constructor MR.AABBTreePoints.AABBTreePoints.
static unsafe implicit operator AABBTreePoints (MR.Const_VertCoords points)
 creates tree from given valid points Generated from constructor MR.AABBTreePoints.AABBTreePoints.
Static Public Member Functions inherited from MR.Const_AABBTreePoints
static unsafe implicit operator Const_AABBTreePoints (MR.Const_PointCloud pointCloud)
 creates tree for given point cloud Generated from constructor MR.AABBTreePoints.AABBTreePoints.
static unsafe implicit operator Const_AABBTreePoints (MR.Const_Mesh mesh)
 creates tree for vertices of given mesh Generated from constructor MR.AABBTreePoints.AABBTreePoints.
static unsafe implicit operator Const_AABBTreePoints (MR.Const_VertCoords points)
 creates tree from given valid points Generated from constructor MR.AABBTreePoints.AABBTreePoints.
static MR.NodeId rootNodeId ()
 Generated from method MR.AABBTreePoints.rootNodeId.

Additional Inherited Members

Protected Member Functions inherited from MR.Const_AABBTreePoints
virtual unsafe void Dispose (bool disposing)
Static Protected Attributes inherited from MR.Const_AABBTreePoints
static unsafe int * __ref_storage_MaxNumPointsInLeaf
Properties inherited from MR.Const_AABBTreePoints
static unsafe int MaxNumPointsInLeaf [get]
 maximum number of points in leaf node of tree (all of leafs should have this number of points except last one)
unsafe MR.AABBTreePoints.Const_Node this[MR.NodeId nid] [get]
 Generated from method MR::AABBTreePoints::operator[].

Detailed Description

bounding volume hierarchy for point cloud structure Generated from class MR.AABBTreePoints. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ AABBTreePoints() [1/4]

unsafe MR.AABBTreePoints.AABBTreePoints ( MR._ByValue_AABBTreePoints _other)
inline

Generated from constructor MR.AABBTreePoints.AABBTreePoints.

◆ AABBTreePoints() [2/4]

unsafe MR.AABBTreePoints.AABBTreePoints ( MR.Const_PointCloud pointCloud)
inline

creates tree for given point cloud Generated from constructor MR.AABBTreePoints.AABBTreePoints.

◆ AABBTreePoints() [3/4]

unsafe MR.AABBTreePoints.AABBTreePoints ( MR.Const_Mesh mesh)
inline

creates tree for vertices of given mesh Generated from constructor MR.AABBTreePoints.AABBTreePoints.

◆ AABBTreePoints() [4/4]

unsafe MR.AABBTreePoints.AABBTreePoints ( MR.Const_VertCoords points,
MR.Const_VertBitSet? validPoints = null )
inline

creates tree from given valid points Generated from constructor MR.AABBTreePoints.AABBTreePoints.

Member Function Documentation

◆ assign()

unsafe MR.AABBTreePoints MR.AABBTreePoints.assign ( MR._ByValue_AABBTreePoints _other)
inline

Generated from method MR::AABBTreePoints::operator=.

◆ getLeafOrderAndReset()

unsafe void MR.AABBTreePoints.getLeafOrderAndReset ( MR.VertBMap vertMap)
inline

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.

◆ operator AABBTreePoints() [1/3]

unsafe implicit MR.AABBTreePoints.operator AABBTreePoints ( MR.Const_Mesh mesh)
inlinestatic

creates tree for vertices of given mesh Generated from constructor MR.AABBTreePoints.AABBTreePoints.

◆ operator AABBTreePoints() [2/3]

unsafe implicit MR.AABBTreePoints.operator AABBTreePoints ( MR.Const_PointCloud pointCloud)
inlinestatic

creates tree for given point cloud Generated from constructor MR.AABBTreePoints.AABBTreePoints.

◆ operator AABBTreePoints() [3/3]

unsafe implicit MR.AABBTreePoints.operator AABBTreePoints ( MR.Const_VertCoords points)
inlinestatic

creates tree from given valid points Generated from constructor MR.AABBTreePoints.AABBTreePoints.

◆ refit()

unsafe void MR.AABBTreePoints.refit ( MR.Const_VertCoords newCoords,
MR.Const_VertBitSet changedVerts )
inline

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)

Parameters
newCoordscoordinates of all vertices including changed ones;
changedVertsvertex ids with modified coordinates (since tree construction or last refit) Generated from method MR.AABBTreePoints.refit.

The documentation for this class was generated from the following file: