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

tree containing world bounding boxes of individual objects having individual local-to-world transformations Generated from class MR.AABBTreeObjects. Base classes: Direct: (non-virtual) MR.AABBTreeBase<MR.ObjTreeTraits> This is the const half of the class. More...

+ Inheritance diagram for MR.Const_AABBTreeObjects:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_AABBTreeObjects ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_AABBTreeObjects (MR._ByValue_AABBTreeObjects _other)
 Generated from constructor MR.AABBTreeObjects.AABBTreeObjects.
 
unsafe Const_AABBTreeObjects (MR._ByValue_Vector_MRMeshOrPointsXf_MRObjId objs)
 creates tree for given set of objects each with its own transformation Generated from constructor MR.AABBTreeObjects.AABBTreeObjects.
 
unsafe MR.Const_MeshOrPoints obj (MR.ObjId oi)
 gets object by its id Generated from method MR.AABBTreeObjects.obj.
 
unsafe ref readonly MR.AffineXf3f toWorld (MR.ObjId oi)
 gets transformation from local space of given object to world space Generated from method MR.AABBTreeObjects.toWorld.
 
unsafe ref readonly MR.AffineXf3f toLocal (MR.ObjId oi)
 gets transformation from world space to local space of given object Generated from method MR.AABBTreeObjects.toLocal.
 
unsafe MR.Const_Vector_MRAffineXf3f_MRObjId toLocal ()
 gets mapping: objId -> its transformation from world space to local space Generated from method MR.AABBTreeObjects.toLocal.
 
unsafe MR.Const_Vector_MRAABBTreeNodeMRObjTreeTraits_MRNodeId nodes ()
 const-access to all nodes Generated from method MR.AABBTreeObjects.nodes.
 
unsafe MR.Box3f getBoundingBox ()
 returns the root node bounding box Generated from method MR.AABBTreeObjects.getBoundingBox.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.AABBTreeObjects.heapBytes.
 
unsafe ulong numLeaves ()
 returns the number of leaves in whole tree Generated from method MR.AABBTreeObjects.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.AABBTreeObjects.getSubtrees.
 
unsafe MR.ObjBitSet getSubtreeLeaves (MR.NodeId subtreeRoot)
 returns all leaves in the subtree with given root Generated from method MR.AABBTreeObjects.getSubtreeLeaves.
 
unsafe MR.NodeBitSet getNodesFromLeaves (MR.Const_ObjBitSet leaves)
 returns set of nodes containing among direct or indirect children given leaves Generated from method MR.AABBTreeObjects.getNodesFromLeaves.
 
unsafe void getLeafOrder (MR.BMap_MRObjId_MRObjId 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.AABBTreeObjects.getLeafOrder.
 

Static Public Member Functions

static unsafe implicit operator MR.Const_AABBTreeBase_MRObjTreeTraits (Const_AABBTreeObjects self)
 
static MR.NodeId rootNodeId ()
 returns root node id Generated from method MR.AABBTreeObjects.rootNodeId.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe MR.Const_AABBTreeNode_MRObjTreeTraits this[MR.NodeId nid] [get]
 const-access to any node Generated from method MR.AABBTreeObjects.operator[].
 
- Properties inherited from MR.Misc.Object< Const_AABBTreeObjects >
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_AABBTreeObjects >
bool _IsOwningVal
 

Detailed Description

tree containing world bounding boxes of individual objects having individual local-to-world transformations Generated from class MR.AABBTreeObjects. Base classes: Direct: (non-virtual) MR.AABBTreeBase<MR.ObjTreeTraits> This is the const half of the class.


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