Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| ConstMeshOrPoints | obj (self, ConstObjId oi) |
| ConstAffineXf3f | toLocal (self, ConstObjId oi) |
| ConstVector_AffineXf3f_ObjId | toLocal (self) |
| ConstAffineXf3f | toWorld (self, ConstObjId oi) |
| Public Member Functions inherited from mrmeshpy.ConstAABBTreeBase_ObjTreeTraits | |
| ConstAABBTreeNode_ObjTreeTraits | __getitem__ (self, ConstNodeId nid) |
| __init__ (self, *args, **kwargs) | |
| ConstBox3f | box (self, ConstNodeId n) |
| bool | empty (self) |
| Box3f | getBoundingBox (self) |
| None | getLeafOrder (self, BMap_ObjId_ObjId leafMap) |
| NodeBitSet | getNodesFromLeaves (self, ConstObjBitSet leaves) |
| ObjBitSet | getSubtreeLeaves (self, ConstNodeId subtreeRoot) |
| std_vector_Id_NodeTag | getSubtrees (self, int minNum) |
| int | heapBytes (self) |
| ConstBoxedLeaf_ObjTreeTraits | leaf (self, ConstNodeId n) |
| ObjId | leafId (self, ConstNodeId n) |
| ConstVector_BoxedLeaf_ObjTreeTraits | leaves (self) |
| ConstVector_AABBTreeNode_ObjTreeTraits_NodeId | nodes (self) |
| int | numLeaves (self) |
| NodeId | rootNodeId (self) |
Additional Inherited Members | |
| Static Public Member Functions inherited from mrmeshpy.ConstAABBTreeBase_ObjTreeTraits | |
| bool | isLeaf (ConstNodeId n) |
| Static Public Attributes inherited from mrmeshpy.ConstAABBTreeBase_ObjTreeTraits | |
| BoxT = Box3f | |
| ConstBoxT = ConstBox3f | |
| ConstLeaf = ConstBoxedLeaf_ObjTreeTraits | |
| ConstLeafBMap = ConstBMap_ObjId_ObjId | |
| ConstLeafBitSet = ConstObjBitSet | |
| ConstLeafId = ConstObjId | |
| ConstLeaves = ConstVector_BoxedLeaf_ObjTreeTraits | |
| ConstNode = ConstAABBTreeNode_ObjTreeTraits | |
| ConstNodeVec = ConstVector_AABBTreeNode_ObjTreeTraits_NodeId | |
| ConstTraits = ConstObjTreeTraits | |
| Leaf = BoxedLeaf_ObjTreeTraits | |
| LeafBMap = BMap_ObjId_ObjId | |
| LeafBitSet = ObjBitSet | |
| LeafId = ObjId | |
| Leaves = Vector_BoxedLeaf_ObjTreeTraits | |
| Node = AABBTreeNode_ObjTreeTraits | |
| NodeVec = Vector_AABBTreeNode_ObjTreeTraits_NodeId | |
| Traits = ObjTreeTraits | |
Generated from: MR::AABBTreeObjects tree containing world bounding boxes of individual objects having individual local-to-world transformations
| mrmeshpy.ConstAABBTreeObjects.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstAABBTreeObjects) -> None 2. __init__(self: meshlib.mrmeshpy.ConstAABBTreeObjects, objs: meshlib.mrmeshpy.ConstVector_MeshOrPointsXf_ObjId) -> None creates tree for given set of objects each with its own transformation 3. __init__(self: meshlib.mrmeshpy.ConstAABBTreeObjects, arg0: meshlib.mrmeshpy.ConstAABBTreeObjects) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstAABBTreeObjects, : meshlib.mrmeshpy.ConstAABBTreeObjects) -> None
| ConstMeshOrPoints mrmeshpy.ConstAABBTreeObjects.obj | ( | self, | |
| ConstObjId | oi ) |
gets object by its id
| ConstVector_AffineXf3f_ObjId mrmeshpy.ConstAABBTreeObjects.toLocal | ( | self | ) |
gets mapping: objId -> its transformation from world space to local space
| ConstAffineXf3f mrmeshpy.ConstAABBTreeObjects.toLocal | ( | self, | |
| ConstObjId | oi ) |
gets transformation from world space to local space of given object
| ConstAffineXf3f mrmeshpy.ConstAABBTreeObjects.toWorld | ( | self, | |
| ConstObjId | oi ) |
gets transformation from local space of given object to world space