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

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.
 Const_AABBTreeObjects (Const_AABBTreeObjects _other)
 Generated from constructor MR.AABBTreeObjects.AABBTreeObjects.
 Const_AABBTreeObjects (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[].

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.

Constructor & Destructor Documentation

◆ Const_AABBTreeObjects() [1/5]

unsafe MR.Const_AABBTreeObjects.Const_AABBTreeObjects ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_AABBTreeObjects() [2/5]

unsafe MR.Const_AABBTreeObjects.Const_AABBTreeObjects ( MR._ByValue_AABBTreeObjects _other)
inline

Generated from constructor MR.AABBTreeObjects.AABBTreeObjects.

◆ Const_AABBTreeObjects() [3/5]

MR.Const_AABBTreeObjects.Const_AABBTreeObjects ( Const_AABBTreeObjects _other)
inline

Generated from constructor MR.AABBTreeObjects.AABBTreeObjects.

◆ Const_AABBTreeObjects() [4/5]

MR.Const_AABBTreeObjects.Const_AABBTreeObjects ( AABBTreeObjects _other)
inline

Generated from constructor MR.AABBTreeObjects.AABBTreeObjects.

◆ Const_AABBTreeObjects() [5/5]

unsafe MR.Const_AABBTreeObjects.Const_AABBTreeObjects ( MR._ByValue_Vector_MRMeshOrPointsXf_MRObjId objs)
inline

creates tree for given set of objects each with its own transformation Generated from constructor MR.AABBTreeObjects.AABBTreeObjects.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_AABBTreeObjects.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ getBoundingBox()

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

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

◆ getLeafOrder()

unsafe void MR.Const_AABBTreeObjects.getLeafOrder ( MR.BMap_MRObjId_MRObjId 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.AABBTreeObjects.getLeafOrder.

◆ getNodesFromLeaves()

unsafe MR.NodeBitSet MR.Const_AABBTreeObjects.getNodesFromLeaves ( MR.Const_ObjBitSet leaves)
inline

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

◆ getSubtreeLeaves()

unsafe MR.ObjBitSet MR.Const_AABBTreeObjects.getSubtreeLeaves ( MR.NodeId subtreeRoot)
inline

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

◆ getSubtrees()

unsafe MR.Std.Vector_MRNodeId MR.Const_AABBTreeObjects.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.AABBTreeObjects.getSubtrees.

◆ heapBytes()

unsafe ulong MR.Const_AABBTreeObjects.heapBytes ( )
inline

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

◆ nodes()

unsafe MR.Const_Vector_MRAABBTreeNodeMRObjTreeTraits_MRNodeId MR.Const_AABBTreeObjects.nodes ( )
inline

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

◆ numLeaves()

unsafe ulong MR.Const_AABBTreeObjects.numLeaves ( )
inline

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

◆ obj()

unsafe MR.Const_MeshOrPoints MR.Const_AABBTreeObjects.obj ( MR.ObjId oi)
inline

gets object by its id Generated from method MR.AABBTreeObjects.obj.

◆ operator MR.Const_AABBTreeBase_MRObjTreeTraits()

unsafe implicit MR.Const_AABBTreeObjects.operator MR.Const_AABBTreeBase_MRObjTreeTraits ( Const_AABBTreeObjects self)
inlinestatic

◆ rootNodeId()

MR.NodeId MR.Const_AABBTreeObjects.rootNodeId ( )
inlinestatic

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

◆ toLocal() [1/2]

unsafe MR.Const_Vector_MRAffineXf3f_MRObjId MR.Const_AABBTreeObjects.toLocal ( )
inline

gets mapping: objId -> its transformation from world space to local space Generated from method MR.AABBTreeObjects.toLocal.

◆ toLocal() [2/2]

unsafe ref readonly MR.AffineXf3f MR.Const_AABBTreeObjects.toLocal ( MR.ObjId oi)
inline

gets transformation from world space to local space of given object Generated from method MR.AABBTreeObjects.toLocal.

◆ toWorld()

unsafe ref readonly MR.AffineXf3f MR.Const_AABBTreeObjects.toWorld ( MR.ObjId oi)
inline

gets transformation from local space of given object to world space Generated from method MR.AABBTreeObjects.toWorld.

Property Documentation

◆ this[MR.NodeId nid]

unsafe MR.Const_AABBTreeNode_MRObjTreeTraits MR.Const_AABBTreeObjects.this[MR.NodeId nid]
get

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


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