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

Public Member Functions

None __init__ (self)
 
None __init__ (self, Vector_MeshOrPointsXf_ObjId objs)
 
None __init__ (self, AABBTreeObjects arg0)
 
MeshOrPoints obj (self, ObjId oi)
 
AffineXf3f toLocal (self, ObjId oi)
 
Vector_AffineXf3f_ObjId toLocal (self)
 
AffineXf3f toWorld (self, ObjId oi)
 
- Public Member Functions inherited from meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits
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)
 

Additional Inherited Members

- Static Public Member Functions inherited from meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits
NodeId rootNodeId ()
 
- Static Public Attributes inherited from meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits
 BoxT = Box3f
 
 LeafBMap = BMap_ObjId_ObjId
 
 LeafBitSet = ObjBitSet
 
 LeafId = ObjId
 
 Node = AABBTreeNode_ObjTreeTraits
 
 NodeVec = Vector_AABBTreeNode_ObjTreeTraits_NodeId
 
 Traits = ObjTreeTraits
 

Detailed Description

Generated from:  MR::AABBTreeObjects

tree containing world bounding boxes of individual objects having individual local-to-world transformations
\\ingroup AABBTreeGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

Reimplemented from meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.

◆ __init__() [2/3]

None meshlib.mrmeshpy.AABBTreeObjects.__init__ ( self,
Vector_MeshOrPointsXf_ObjId objs )
creates tree for given set of objects each with its own transformation

Reimplemented from meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.

◆ __init__() [3/3]

None meshlib.mrmeshpy.AABBTreeObjects.__init__ ( self,
AABBTreeObjects arg0 )
Implicit copy constructor.

Reimplemented from meshlib.mrmeshpy.AABBTreeBase_ObjTreeTraits.

Member Function Documentation

◆ obj()

MeshOrPoints meshlib.mrmeshpy.AABBTreeObjects.obj ( self,
ObjId oi )
gets object by its id

◆ toLocal() [1/2]

Vector_AffineXf3f_ObjId meshlib.mrmeshpy.AABBTreeObjects.toLocal ( self)
gets mapping: objId -> its transformation from world space to local space

◆ toLocal() [2/2]

AffineXf3f meshlib.mrmeshpy.AABBTreeObjects.toLocal ( self,
ObjId oi )
gets transformation from world space to local space of given object

◆ toWorld()

AffineXf3f meshlib.mrmeshpy.AABBTreeObjects.toWorld ( self,
ObjId oi )
gets transformation from local space of given object to world space

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