MeshProcessing represents the base class for mesh processing algorithms. More...
#include <processing.h>
Public Types | |
typedef boost::shared_ptr < const MeshProcessing > | ConstPtr |
typedef PolygonMesh::ConstPtr | PolygonMeshConstPtr |
typedef boost::shared_ptr < MeshProcessing > | Ptr |
Public Member Functions | |
pcl::PolygonMeshConstPtr | getInputMesh () const |
Get the input mesh to be processed. | |
MeshProcessing () | |
Constructor. | |
void | process (pcl::PolygonMesh &output) |
Process the input surface mesh and store the results. | |
void | setInputMesh (const pcl::PolygonMeshConstPtr &input) |
Set the input mesh that we want to process. | |
virtual | ~MeshProcessing () |
Destructor. | |
Protected Member Functions | |
virtual void | deinitCompute () |
UnInitialize computation. Must be called after processing ends. | |
virtual std::string | getClassName () const |
Abstract class get name method. | |
virtual bool | initCompute () |
Initialize computation. Must be called before processing starts. | |
virtual void | performProcessing (pcl::PolygonMesh &output)=0 |
Abstract surface processing method. | |
Protected Attributes | |
pcl::PolygonMeshConstPtr | input_mesh_ |
Input polygonal mesh. |
MeshProcessing represents the base class for mesh processing algorithms.
Definition at line 94 of file processing.h.
typedef boost::shared_ptr<const MeshProcessing> pcl::MeshProcessing::ConstPtr |
Reimplemented in pcl::EarClipping.
Definition at line 98 of file processing.h.
Definition at line 100 of file processing.h.
typedef boost::shared_ptr<MeshProcessing> pcl::MeshProcessing::Ptr |
Reimplemented in pcl::EarClipping.
Definition at line 97 of file processing.h.
pcl::MeshProcessing::MeshProcessing | ( | ) | [inline] |
Constructor.
Definition at line 103 of file processing.h.
virtual pcl::MeshProcessing::~MeshProcessing | ( | ) | [inline, virtual] |
Destructor.
Definition at line 106 of file processing.h.
void pcl::MeshProcessing::deinitCompute | ( | ) | [protected, virtual] |
UnInitialize computation. Must be called after processing ends.
Definition at line 54 of file processing.cpp.
virtual std::string pcl::MeshProcessing::getClassName | ( | ) | const [inline, protected, virtual] |
Abstract class get name method.
Definition at line 143 of file processing.h.
pcl::PolygonMeshConstPtr pcl::MeshProcessing::getInputMesh | ( | ) | const [inline] |
bool pcl::MeshProcessing::initCompute | ( | ) | [protected, virtual] |
Initialize computation. Must be called before processing starts.
Reimplemented in pcl::EarClipping.
Definition at line 44 of file processing.cpp.
virtual void pcl::MeshProcessing::performProcessing | ( | pcl::PolygonMesh & | output | ) | [protected, pure virtual] |
Abstract surface processing method.
Implemented in pcl::MeshSmoothingWindowedSincVTK, pcl::MeshSmoothingLaplacianVTK, pcl::MeshSubdivisionVTK, pcl::EarClipping, and pcl::MeshQuadricDecimationVTK.
void pcl::MeshProcessing::process | ( | pcl::PolygonMesh & | output | ) |
Process the input surface mesh and store the results.
[out] | output | the resultant processed surface model |
NOTE: usually the number of triangles is around twice the number of vertices
Definition at line 61 of file processing.cpp.
void pcl::MeshProcessing::setInputMesh | ( | const pcl::PolygonMeshConstPtr & | input | ) | [inline] |
Set the input mesh that we want to process.
[in] | input | the input polygonal mesh |
Definition at line 112 of file processing.h.
Input polygonal mesh.
Definition at line 147 of file processing.h.