MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_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 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[].
 
- Properties inherited from MR.Misc.Object< Const_AABBTree >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_AABBTree >
bool _IsOwningVal
 

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.


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