MeshLib Python Docs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
mrmeshpy.MeshOrPointsObject Class Reference

Public Member Functions

bool __eq__ (self, VisualObject other)
 
None __init__ (self)
 
None __init__ (self, VisualObject vo)
 
None __init__ (self, ObjectMesh om)
 
None __init__ (self, ObjectPoints op)
 
None __init__ (self, MeshOrPointsObject arg0)
 
ObjectMesh asObjectMesh (self)
 
ObjectPoints asObjectPoints (self)
 
VisualObject get (self)
 
MeshOrPoints meshOrPoints (self)
 
VisualObject operator (self)
 
None reset (self)
 
None set (self, ObjectMesh om)
 
None set (self, ObjectPoints op)
 

Detailed Description

Generated from: MR::MeshOrPointsObject This class can hold either ObjectMesh or ObjectPoint It is used for convenient storage and operation with any of them

Constructor & Destructor Documentation

◆ __init__() [1/5]

None mrmeshpy.MeshOrPointsObject.__init__ ( self)

◆ __init__() [2/5]

None mrmeshpy.MeshOrPointsObject.__init__ ( self,
VisualObject vo )
construct, automatically detecting the object type (ObjectMesh or ObjectPoint) if set an another type, will be reset

◆ __init__() [3/5]

None mrmeshpy.MeshOrPointsObject.__init__ ( self,
ObjectMesh om )

◆ __init__() [4/5]

None mrmeshpy.MeshOrPointsObject.__init__ ( self,
ObjectPoints op )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

bool mrmeshpy.MeshOrPointsObject.__eq__ ( self,
VisualObject other )

◆ asObjectMesh()

ObjectMesh mrmeshpy.MeshOrPointsObject.asObjectMesh ( self)
if holding ObjectMesh, return pointer to it, otherwise return nullptr

◆ asObjectPoints()

ObjectPoints mrmeshpy.MeshOrPointsObject.asObjectPoints ( self)
if holding ObjectPoints, return pointer to it, otherwise return nullptr

◆ get()

VisualObject mrmeshpy.MeshOrPointsObject.get ( self)

◆ meshOrPoints()

MeshOrPoints mrmeshpy.MeshOrPointsObject.meshOrPoints ( self)
get class that hold either mesh part or point cloud

◆ operator()

VisualObject mrmeshpy.MeshOrPointsObject.operator ( self)

◆ reset()

None mrmeshpy.MeshOrPointsObject.reset ( self)

◆ set() [1/2]

None mrmeshpy.MeshOrPointsObject.set ( self,
ObjectMesh om )
set to hold ObjectMesh

◆ set() [2/2]

None mrmeshpy.MeshOrPointsObject.set ( self,
ObjectPoints op )
set to hold ObjectPoints

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