MeshLib C# Docs
Loading...
Searching...
No Matches
MR.AABBTreePoints Class Reference

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)
 

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.
 

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]

static 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]

static 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]

static 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: