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

bounding volume hierarchy Generated from class MR.AABBTree. Base classes: Direct: (non-virtual) MR.AABBTreeBase<MR.AABBTreeTraits<MR.FaceTag, MR.Box3f>> This is the non-const half of the class. More...

+ Inheritance diagram for MR.AABBTree:

Public Member Functions

unsafe AABBTree ()
 Constructs an empty (default-constructed) instance.
 
unsafe AABBTree (MR._ByValue_AABBTree _other)
 Generated from constructor MR.AABBTree.AABBTree.
 
unsafe AABBTree (MR.Const_MeshPart mp)
 creates tree for given mesh or its part Generated from constructor MR.AABBTree.AABBTree.
 
unsafe MR.AABBTree assign (MR._ByValue_AABBTree _other)
 Generated from method MR.AABBTree.operator=.
 
unsafe void refit (MR.Const_Mesh mesh, 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)
 
unsafe void getLeafOrderAndReset (MR.FaceBMap leafMap)
 fills map: LeafId -> leaf#, then resets leaf order to 0,1,2,...; buffer in leafMap must be resized before the call, and caller is responsible for filling missing leaf elements Generated from method MR.AABBTree.getLeafOrderAndReset.
 

Static Public Member Functions

static unsafe implicit operator MR.AABBTreeBase_MRAABBTreeTraitsMRFaceTagMRBox3f (AABBTree self)
 

Detailed Description

bounding volume hierarchy Generated from class MR.AABBTree. Base classes: Direct: (non-virtual) MR.AABBTreeBase<MR.AABBTreeTraits<MR.FaceTag, MR.Box3f>> This is the non-const half of the class.

Constructor & Destructor Documentation

◆ AABBTree() [1/3]

unsafe MR.AABBTree.AABBTree ( )
inline

Constructs an empty (default-constructed) instance.

◆ AABBTree() [2/3]

unsafe MR.AABBTree.AABBTree ( MR._ByValue_AABBTree _other)
inline

Generated from constructor MR.AABBTree.AABBTree.

◆ AABBTree() [3/3]

unsafe MR.AABBTree.AABBTree ( MR.Const_MeshPart mp)
inline

creates tree for given mesh or its part Generated from constructor MR.AABBTree.AABBTree.

Member Function Documentation

◆ assign()

unsafe MR.AABBTree MR.AABBTree.assign ( MR._ByValue_AABBTree _other)
inline

Generated from method MR.AABBTree.operator=.

◆ getLeafOrderAndReset()

unsafe void MR.AABBTree.getLeafOrderAndReset ( MR.FaceBMap leafMap)
inline

fills map: LeafId -> leaf#, then resets leaf order to 0,1,2,...; buffer in leafMap must be resized before the call, and caller is responsible for filling missing leaf elements Generated from method MR.AABBTree.getLeafOrderAndReset.

◆ operator MR.AABBTreeBase_MRAABBTreeTraitsMRFaceTagMRBox3f()

static unsafe implicit MR.AABBTree.operator MR.AABBTreeBase_MRAABBTreeTraitsMRFaceTagMRBox3f ( AABBTree self)
inlinestatic

◆ refit()

unsafe void MR.AABBTree.refit ( MR.Const_Mesh mesh,
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
meshsame mesh for which this tree was constructed but with updated coordinates;
changedVertsvertex ids with modified coordinates (since tree construction or last refit) Generated from method MR.AABBTree.refit.

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