Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Object | getSharedPtr (self) |
| int | heapBytes (self) |
Generated from: MR::ObjectChildrenHolder the main purpose of this class is to avoid copy and move constructor and assignment operator implementation in Object class, which has too many fields for that; since every object stores a pointer on its parent, copying of this object does not copy the children and moving is taken with care
| mrmeshpy.ConstObjectChildrenHolder.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstObjectChildrenHolder) -> None 2. __init__(self: meshlib.mrmeshpy.ConstObjectChildrenHolder, arg0: meshlib.mrmeshpy.ConstObjectChildrenHolder) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstObjectChildrenHolder, : meshlib.mrmeshpy.ConstObjectChildrenHolder) -> None
| Object mrmeshpy.ConstObjectChildrenHolder.getSharedPtr | ( | self | ) |
returns this Object as shared_ptr finds it among its parent's recognized children
| int mrmeshpy.ConstObjectChildrenHolder.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap, including the memory of all recognized children
Reimplemented in mrmeshpy.ConstObject, mrmeshpy.ConstObjectDistanceMap, mrmeshpy.ConstObjectGcode, mrmeshpy.ConstObjectLabel, mrmeshpy.ConstObjectLinesHolder, mrmeshpy.ConstObjectMeshHolder, mrmeshpy.ConstObjectPointsHolder, mrmeshpy.ConstObjectVoxels, and mrmeshpy.ConstVisualObject.