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

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

Inheritance diagram for MR.Const_AABBTree:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_AABBTree ()
 Constructs an empty (default-constructed) instance.
unsafe Const_AABBTree (MR._ByValue_AABBTree _other)
 Generated from constructor MR.AABBTree.AABBTree.
unsafe Const_AABBTree (MR.Const_MeshPart mp)
 creates tree for given mesh or its part Generated from constructor MR.AABBTree.AABBTree.
unsafe MR.Const_Vector_MRAABBTreeNodeMRAABBTreeTraitsMRFaceTagMRBox3f_MRNodeId nodes ()
 const-access to all nodes Generated from method MR.AABBTree.nodes.
unsafe MR.Box3f getBoundingBox ()
 returns the root node bounding box Generated from method MR.AABBTree.getBoundingBox.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.AABBTree.heapBytes.
unsafe ulong numLeaves ()
 returns the number of leaves in whole tree Generated from method MR.AABBTree.numLeaves.
unsafe MR.Std.Vector_MRNodeId getSubtrees (int minNum)
 returns at least given number of top-level not-intersecting subtrees, union of which contain all tree leaves Generated from method MR.AABBTree.getSubtrees.
unsafe MR.FaceBitSet getSubtreeLeaves (MR.NodeId subtreeRoot)
 returns all leaves in the subtree with given root Generated from method MR.AABBTree.getSubtreeLeaves.
unsafe MR.NodeBitSet getNodesFromLeaves (MR.Const_FaceBitSet leaves)
 returns set of nodes containing among direct or indirect children given leaves Generated from method MR.AABBTree.getNodesFromLeaves.
unsafe void getLeafOrder (MR.FaceBMap leafMap)
 fills map: LeafId -> leaf#; buffer in leafMap must be resized before the call, and caller is responsible for filling missing leaf elements Generated from method MR.AABBTree.getLeafOrder.

Static Public Member Functions

static unsafe implicit operator MR.Const_AABBTreeBase_MRAABBTreeTraitsMRFaceTagMRBox3f (Const_AABBTree self)
static MR.NodeId rootNodeId ()
 returns root node id Generated from method MR.AABBTree.rootNodeId.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Properties

unsafe MR.Const_AABBTreeNode_MRAABBTreeTraitsMRFaceTagMRBox3f this[MR.NodeId nid] [get]
 const-access to any node Generated from method MR::AABBTree::operator[].

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 const half of the class.

Constructor & Destructor Documentation

◆ Const_AABBTree() [1/3]

unsafe MR.Const_AABBTree.Const_AABBTree ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_AABBTree() [2/3]

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

Generated from constructor MR.AABBTree.AABBTree.

◆ Const_AABBTree() [3/3]

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

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

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_AABBTree.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_AABBTree.Dispose ( bool disposing)
inlineprotectedvirtual

◆ getBoundingBox()

unsafe MR.Box3f MR.Const_AABBTree.getBoundingBox ( )
inline

returns the root node bounding box Generated from method MR.AABBTree.getBoundingBox.

◆ getLeafOrder()

unsafe void MR.Const_AABBTree.getLeafOrder ( MR.FaceBMap leafMap)
inline

fills map: LeafId -> leaf#; buffer in leafMap must be resized before the call, and caller is responsible for filling missing leaf elements Generated from method MR.AABBTree.getLeafOrder.

◆ getNodesFromLeaves()

unsafe MR.NodeBitSet MR.Const_AABBTree.getNodesFromLeaves ( MR.Const_FaceBitSet leaves)
inline

returns set of nodes containing among direct or indirect children given leaves Generated from method MR.AABBTree.getNodesFromLeaves.

◆ getSubtreeLeaves()

unsafe MR.FaceBitSet MR.Const_AABBTree.getSubtreeLeaves ( MR.NodeId subtreeRoot)
inline

returns all leaves in the subtree with given root Generated from method MR.AABBTree.getSubtreeLeaves.

◆ getSubtrees()

unsafe MR.Std.Vector_MRNodeId MR.Const_AABBTree.getSubtrees ( int minNum)
inline

returns at least given number of top-level not-intersecting subtrees, union of which contain all tree leaves Generated from method MR.AABBTree.getSubtrees.

◆ heapBytes()

unsafe ulong MR.Const_AABBTree.heapBytes ( )
inline

returns the amount of memory this object occupies on heap Generated from method MR.AABBTree.heapBytes.

◆ nodes()

const-access to all nodes Generated from method MR.AABBTree.nodes.

◆ numLeaves()

unsafe ulong MR.Const_AABBTree.numLeaves ( )
inline

returns the number of leaves in whole tree Generated from method MR.AABBTree.numLeaves.

◆ operator MR.Const_AABBTreeBase_MRAABBTreeTraitsMRFaceTagMRBox3f()

unsafe implicit MR.Const_AABBTree.operator MR.Const_AABBTreeBase_MRAABBTreeTraitsMRFaceTagMRBox3f ( Const_AABBTree self)
inlinestatic

◆ rootNodeId()

MR.NodeId MR.Const_AABBTree.rootNodeId ( )
inlinestatic

returns root node id Generated from method MR.AABBTree.rootNodeId.

Property Documentation

◆ this[MR.NodeId nid]

unsafe MR.Const_AABBTreeNode_MRAABBTreeTraitsMRFaceTagMRBox3f MR.Const_AABBTree.this[MR.NodeId nid]
get

const-access to any node Generated from method MR::AABBTree::operator[].


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