Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, AABBTreeBase_ObjTreeTraits arg0) |
Box3f | getBoundingBox (self) |
None | getLeafOrder (self, BMap_ObjId_ObjId leafMap) |
None | getLeafOrderAndReset (self, BMap_ObjId_ObjId leafMap) |
NodeBitSet | getNodesFromLeaves (self, ObjBitSet leaves) |
ObjBitSet | getSubtreeLeaves (self, NodeId subtreeRoot) |
std_vector_Id_NodeTag | getSubtrees (self, int minNum) |
int | heapBytes (self) |
Vector_AABBTreeNode_ObjTreeTraits_NodeId | nodes (self) |
int | numLeaves (self) |
AABBTreeNode_ObjTreeTraits | operator (self, NodeId nid) |
Static Public Member Functions | |
NodeId | rootNodeId () |
Static Public Attributes | |
BoxT = Box3f | |
LeafBMap = BMap_ObjId_ObjId | |
LeafBitSet = ObjBitSet | |
LeafId = ObjId | |
Node = AABBTreeNode_ObjTreeTraits | |
NodeVec = Vector_AABBTreeNode_ObjTreeTraits_NodeId | |
Traits = ObjTreeTraits | |
Generated from: MR::AABBTreeBase<MR::ObjTreeTraits> base class for most AABB-trees (except for AABBTreePoints)
None meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.__init__ | ( | self | ) |
Implicit default constructor.
Reimplemented in meshlib.mrmeshpy.AABBTreeObjects, meshlib.mrmeshpy.AABBTreeObjects, and meshlib.mrmeshpy.AABBTreeObjects.
None meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.__init__ | ( | self, | |
AABBTreeBase_ObjTreeTraits | arg0 ) |
Implicit copy constructor.
Reimplemented in meshlib.mrmeshpy.AABBTreeObjects, meshlib.mrmeshpy.AABBTreeObjects, and meshlib.mrmeshpy.AABBTreeObjects.
Box3f meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.getBoundingBox | ( | self | ) |
returns the root node bounding box
None meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.getLeafOrder | ( | self, | |
BMap_ObjId_ObjId | leafMap ) |
fills map: LeafId -> leaf#; buffer in leafMap must be resized before the call, and caller is responsible for filling missing leaf elements
None meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.getLeafOrderAndReset | ( | self, | |
BMap_ObjId_ObjId | 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
NodeBitSet meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.getNodesFromLeaves | ( | self, | |
ObjBitSet | leaves ) |
returns set of nodes containing among direct or indirect children given leaves
returns all leaves in the subtree with given root
std_vector_Id_NodeTag meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.getSubtrees | ( | self, | |
int | minNum ) |
returns at least given number of top-level not-intersecting subtrees, union of which contain all tree leaves
int meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
Vector_AABBTreeNode_ObjTreeTraits_NodeId meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.nodes | ( | self | ) |
const-access to all nodes
int meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.numLeaves | ( | self | ) |
returns the number of leaves in whole tree
AABBTreeNode_ObjTreeTraits meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.operator | ( | self, | |
NodeId | nid ) |
const-access to any node
|
static |
returns root node id
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |