Public Member Functions | |
None | __init__ (self, MeshPart mp) |
None | __init__ (self) |
None | refit (self, Mesh mesh, VertBitSet changedVerts) |
Public Member Functions inherited from meshlib.mrmeshpy.AABBTreeBase_AABBTreeTraits_FaceTag_Box3f | |
Box3f | getBoundingBox (self) |
None | getLeafOrder (self, FaceBMap leafMap) |
None | getLeafOrderAndReset (self, FaceBMap leafMap) |
NodeBitSet | getNodesFromLeaves (self, FaceBitSet leaves) |
FaceBitSet | getSubtreeLeaves (self, NodeId subtreeRoot) |
std_vector_Id_NodeTag | getSubtrees (self, int minNum) |
int | heapBytes (self) |
Vector_AABBTreeNode_AABBTreeTraits_FaceTag_Box3f_NodeId | nodes (self) |
int | numLeaves (self) |
AABBTreeNode_AABBTreeTraits_FaceTag_Box3f | operator (self, NodeId nid) |
Additional Inherited Members | |
Static Public Member Functions inherited from meshlib.mrmeshpy.AABBTreeBase_AABBTreeTraits_FaceTag_Box3f | |
NodeId | rootNodeId () |
Static Public Attributes inherited from meshlib.mrmeshpy.AABBTreeBase_AABBTreeTraits_FaceTag_Box3f | |
BoxT = Box3f | |
LeafBMap = FaceBMap | |
LeafBitSet = FaceBitSet | |
LeafId = FaceId | |
Node = AABBTreeNode_AABBTreeTraits_FaceTag_Box3f | |
NodeVec = Vector_AABBTreeNode_AABBTreeTraits_FaceTag_Box3f_NodeId | |
Traits = AABBTreeTraits_FaceTag_Box3f | |
Generated from: MR::AABBTree bounding volume hierarchy \\ingroup AABBTreeGroup
None meshlib.mrmeshpy.AABBTree.__init__ | ( | self, | |
MeshPart | mp ) |
creates tree for given mesh or its part
Reimplemented from meshlib.mrmeshpy.AABBTreeBase_AABBTreeTraits_FaceTag_Box3f.
None meshlib.mrmeshpy.AABBTree.__init__ | ( | self | ) |
Implicit default constructor.
Reimplemented from meshlib.mrmeshpy.AABBTreeBase_AABBTreeTraits_FaceTag_Box3f.
None meshlib.mrmeshpy.AABBTree.refit | ( | self, | |
Mesh | mesh, | ||
VertBitSet | changedVerts ) |
updates bounding boxes of the nodes containing changed vertices; this is a faster alternative to full tree rebuild (but the tree after refit might be less efficient) \\param mesh same mesh for which this tree was constructed but with updated coordinates; \\param changedVerts vertex ids with modified coordinates (since tree construction or last refit)