MeshProcessing represents the base class for mesh processing algorithms. More...
#include <processing.h>
Public Types | |
typedef PolygonMesh::ConstPtr | PolygonMeshConstPtr |
Public Member Functions | |
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 88 of file processing.h.
typedef PolygonMesh::ConstPtr pcl::MeshProcessing::PolygonMeshConstPtr |
Definition at line 91 of file processing.h.
pcl::MeshProcessing::MeshProcessing | ( | ) | [inline] |
Constructor.
Definition at line 94 of file processing.h.
virtual pcl::MeshProcessing::~MeshProcessing | ( | ) | [inline, virtual] |
Destructor.
Definition at line 97 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 129 of file processing.h.
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, and pcl::EarClipping.
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 103 of file processing.h.
pcl::PolygonMeshConstPtr pcl::MeshProcessing::input_mesh_ [protected] |
Input polygonal mesh.
Definition at line 132 of file processing.h.