MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstAABBTreePoints:

Classes

class  ConstNode
class  ConstNodeBitSet
class  ConstPoint
class  Node
class  NodeBitSet
class  Point

Public Member Functions

AABBTreePoints.ConstNode __getitem__ (self, ConstNodeId nid)
 __init__ (self, *args, **kwargs)
Box3f getBoundingBox (self)
None getLeafOrder (self, VertBMap vertMap)
int heapBytes (self)
ConstVector_AABBTreePoints_Node_NodeId nodes (self)
Const_std_vector_AABBTreePoints_Point orderedPoints (self)

Static Public Member Functions

NodeId rootNodeId ()

Static Public Attributes

 ConstNodeVec = ConstVector_AABBTreePoints_Node_NodeId
 NodeVec = Vector_AABBTreePoints_Node_NodeId

Detailed Description

Generated from:  MR::AABBTreePoints

bounding volume hierarchy for point cloud structure

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstAABBTreePoints.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstAABBTreePoints, pointCloud: meshlib.mrmeshpy.ConstPointCloud) -> None

creates tree for given point cloud

2. __init__(self: meshlib.mrmeshpy.ConstAABBTreePoints, mesh: meshlib.mrmeshpy.ConstMesh) -> None

creates tree for vertices of given mesh

3. __init__(self: meshlib.mrmeshpy.ConstAABBTreePoints, points: meshlib.mrmeshpy.ConstVertCoords, validPoints: meshlib.mrmeshpy.ConstVertBitSet = None) -> None

creates tree from given valid points

Member Function Documentation

◆ __getitem__()

AABBTreePoints.ConstNode mrmeshpy.ConstAABBTreePoints.__getitem__ ( self,
ConstNodeId nid )

◆ getBoundingBox()

Box3f mrmeshpy.ConstAABBTreePoints.getBoundingBox ( self)
returns the root node bounding box

◆ getLeafOrder()

None mrmeshpy.ConstAABBTreePoints.getLeafOrder ( self,
VertBMap vertMap )
returns the mapping original VertId to new id following the points order in the tree;
buffer in vertMap must be resized before the call, and caller is responsible for filling missing vertex elements

◆ heapBytes()

int mrmeshpy.ConstAABBTreePoints.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ nodes()

ConstVector_AABBTreePoints_Node_NodeId mrmeshpy.ConstAABBTreePoints.nodes ( self)

◆ orderedPoints()

Const_std_vector_AABBTreePoints_Point mrmeshpy.ConstAABBTreePoints.orderedPoints ( self)

◆ rootNodeId()

NodeId mrmeshpy.ConstAABBTreePoints.rootNodeId ( )
static

Member Data Documentation

◆ ConstNodeVec

mrmeshpy.ConstAABBTreePoints.ConstNodeVec = ConstVector_AABBTreePoints_Node_NodeId
static

◆ NodeVec

mrmeshpy.ConstAABBTreePoints.NodeVec = Vector_AABBTreePoints_Node_NodeId
static

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