Point Cloud Library (PCL) 1.13.1
Loading...
Searching...
No Matches
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::MeshProcessing Class Referenceabstract

MeshProcessing represents the base class for mesh processing algorithms. More...

#include <pcl/surface/processing.h>

+ Inheritance diagram for pcl::MeshProcessing:
+ Collaboration diagram for pcl::MeshProcessing:

Public Types

using Ptr = shared_ptr< MeshProcessing >
 
using ConstPtr = shared_ptr< const MeshProcessing >
 
using PolygonMeshConstPtr = PolygonMesh::ConstPtr
 

Public Member Functions

 MeshProcessing ()=default
 Constructor.
 
virtual ~MeshProcessing ()=default
 Destructor.
 
void setInputMesh (const pcl::PolygonMeshConstPtr &input)
 Set the input mesh that we want to process.
 
pcl::PolygonMeshConstPtr getInputMesh () const
 Get the input mesh to be processed.
 
void process (pcl::PolygonMesh &output)
 Process the input surface mesh and store the results.
 

Protected Member Functions

virtual bool initCompute ()
 Initialize computation.
 
virtual void deinitCompute ()
 UnInitialize computation.
 
virtual void performProcessing (pcl::PolygonMesh &output)=0
 Abstract surface processing method.
 
virtual std::string getClassName () const
 Abstract class get name method.
 

Protected Attributes

pcl::PolygonMeshConstPtr input_mesh_
 Input polygonal mesh.
 

Detailed Description

MeshProcessing represents the base class for mesh processing algorithms.

Author
Alexandru E. Ichim

Definition at line 94 of file processing.h.

Member Typedef Documentation

◆ ConstPtr

using pcl::MeshProcessing::ConstPtr = shared_ptr<const MeshProcessing>

Definition at line 98 of file processing.h.

◆ PolygonMeshConstPtr

Definition at line 100 of file processing.h.

◆ Ptr

Definition at line 97 of file processing.h.

Constructor & Destructor Documentation

◆ MeshProcessing()

pcl::MeshProcessing::MeshProcessing ( )
default

Constructor.

◆ ~MeshProcessing()

virtual pcl::MeshProcessing::~MeshProcessing ( )
virtualdefault

Destructor.

Member Function Documentation

◆ deinitCompute()

virtual void pcl::MeshProcessing::deinitCompute ( )
protectedvirtual

UnInitialize computation.

Must be called after processing ends.

◆ getClassName()

virtual std::string pcl::MeshProcessing::getClassName ( ) const
inlineprotectedvirtual

Abstract class get name method.

Definition at line 143 of file processing.h.

◆ getInputMesh()

pcl::PolygonMeshConstPtr pcl::MeshProcessing::getInputMesh ( ) const
inline

Get the input mesh to be processed.

Returns
the mesh

Definition at line 119 of file processing.h.

◆ initCompute()

virtual bool pcl::MeshProcessing::initCompute ( )
protectedvirtual

Initialize computation.

Must be called before processing starts.

Reimplemented in pcl::EarClipping, and pcl::EarClipping.

◆ performProcessing()

virtual void pcl::MeshProcessing::performProcessing ( pcl::PolygonMesh output)
protectedpure virtual

◆ process()

void pcl::MeshProcessing::process ( pcl::PolygonMesh output)

Process the input surface mesh and store the results.

Parameters
[out]outputthe resultant processed surface model

◆ setInputMesh()

void pcl::MeshProcessing::setInputMesh ( const pcl::PolygonMeshConstPtr input)
inline

Set the input mesh that we want to process.

Parameters
[in]inputthe input polygonal mesh

Definition at line 112 of file processing.h.

Member Data Documentation

◆ input_mesh_

pcl::PolygonMeshConstPtr pcl::MeshProcessing::input_mesh_
protected

Input polygonal mesh.

Definition at line 147 of file processing.h.


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