MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshOrPointsObject Class Reference

#include <MRMesh/MRMeshOrPointsObject.h>

Public Member Functions

 MeshOrPointsObject ()
 MeshOrPointsObject (std::shared_ptr< VisualObject > vo)
 MeshOrPointsObject (std::shared_ptr< ObjectMesh > om)
 MeshOrPointsObject (std::shared_ptr< ObjectPoints > op)
void set (std::shared_ptr< ObjectMesh > om)
 set to hold ObjectMesh
ObjectMeshasObjectMesh () const
 if holding ObjectMesh, return pointer to it, otherwise return nullptr
void set (std::shared_ptr< ObjectPoints > op)
 set to hold ObjectPoints
ObjectPointsasObjectPoints () 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
MeshOrPoints meshOrPoints () const
 get class that hold either mesh part or point cloud

Detailed Description

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


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