#include <MRMeshOrPointsObject.h>
Public Member Functions | |
| MeshOrPointsObject () | |
| MRMESH_API | MeshOrPointsObject (std::shared_ptr< VisualObject > vo) |
| MeshOrPointsObject (std::shared_ptr< ObjectMesh > om) | |
| MeshOrPointsObject (std::shared_ptr< ObjectPoints > op) | |
| MRMESH_API void | set (std::shared_ptr< ObjectMesh > om) |
| set to hold ObjectMesh | |
| MRMESH_API ObjectMesh * | asObjectMesh () const |
| if holding ObjectMesh, return pointer to it, otherwise return nullptr | |
| MRMESH_API void | set (std::shared_ptr< ObjectPoints > op) |
| set to hold ObjectPoints | |
| MRMESH_API ObjectPoints * | asObjectPoints () const |
| if holding ObjectPoints, return pointer to it, otherwise return nullptr | |
| void | reset () |
| const std::shared_ptr< VisualObject > & | operator-> () const |
| const std::shared_ptr< VisualObject > & | get () const |
| bool | operator== (std::shared_ptr< VisualObject > other) const |
| MRMESH_API MeshOrPoints | meshOrPoints () const |
| get class that hold either mesh part or point cloud | |
This class can hold either ObjectMesh or ObjectPoint It is used for convenient storage and operation with any of them