42 #include <pcl/pcl_base.h>
43 #include <pcl/PolygonMesh.h>
56 template <
typename Po
intInT,
typename Po
intOutT>
60 using Ptr = shared_ptr<CloudSurfaceProcessing<PointInT, PointOutT> >;
61 using ConstPtr = shared_ptr<const CloudSurfaceProcessing<PointInT, PointOutT> >;
97 using Ptr = shared_ptr<MeshProcessing>;
98 using ConstPtr = shared_ptr<const MeshProcessing>;
113 { input_mesh_ = input; }
120 {
return input_mesh_; }
151 #include "pcl/surface/impl/processing.hpp"
CloudSurfaceProcessing represents the base class for algorithms that takes a point cloud as input and...
~CloudSurfaceProcessing() override=default
Empty destructor.
virtual void performProcessing(pcl::PointCloud< PointOutT > &output)=0
Abstract cloud processing method.
shared_ptr< const CloudSurfaceProcessing< PointInT, PointOutT > > ConstPtr
shared_ptr< CloudSurfaceProcessing< PointInT, PointOutT > > Ptr
virtual void process(pcl::PointCloud< PointOutT > &output)
Process the input cloud and store the results.
CloudSurfaceProcessing()
Constructor.
MeshProcessing represents the base class for mesh processing algorithms.
virtual bool initCompute()
Initialize computation.
virtual void performProcessing(pcl::PolygonMesh &output)=0
Abstract surface processing method.
virtual ~MeshProcessing()=default
Destructor.
MeshProcessing()=default
Constructor.
virtual std::string getClassName() const
Abstract class get name method.
void setInputMesh(const pcl::PolygonMeshConstPtr &input)
Set the input mesh that we want to process.
void process(pcl::PolygonMesh &output)
Process the input surface mesh and store the results.
pcl::PolygonMeshConstPtr input_mesh_
Input polygonal mesh.
shared_ptr< const MeshProcessing > ConstPtr
PolygonMesh::ConstPtr PolygonMeshConstPtr
shared_ptr< MeshProcessing > Ptr
virtual void deinitCompute()
UnInitialize computation.
pcl::PolygonMeshConstPtr getInputMesh() const
Get the input mesh to be processed.
PointCloud represents the base class in PCL for storing collections of 3D points.
PolygonMesh::ConstPtr PolygonMeshConstPtr
shared_ptr< const ::pcl::PolygonMesh > ConstPtr