MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.AABBTree Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.AABBTree:

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
 

Detailed Description

Generated from:  MR::AABBTree

bounding volume hierarchy
\\ingroup AABBTreeGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.AABBTree.__init__ ( self,
MeshPart mp )
creates tree for given mesh or its part

Reimplemented from meshlib.mrmeshpy.AABBTreeBase_AABBTreeTraits_FaceTag_Box3f.

◆ __init__() [2/2]

None meshlib.mrmeshpy.AABBTree.__init__ ( self)
Implicit default constructor.

Reimplemented from meshlib.mrmeshpy.AABBTreeBase_AABBTreeTraits_FaceTag_Box3f.

Member Function Documentation

◆ refit()

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)

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