42 #include <pcl/pcl_base.h>
43 #include <pcl/PolygonMesh.h>
44 #include <pcl/search/search.h>
58 template <
typename Po
intInT>
62 using Ptr = shared_ptr<PCLSurfaceBase<PointInT> >;
63 using ConstPtr = shared_ptr<const PCLSurfaceBase<PointInT> >;
116 template <
typename Po
intInT>
120 using Ptr = shared_ptr<SurfaceReconstruction<PointInT> >;
121 using ConstPtr = shared_ptr<const SurfaceReconstruction<PointInT> >;
151 std::vector<pcl::Vertices> &polygons);
170 std::vector<pcl::Vertices> &polygons) = 0;
185 template <
typename Po
intInT>
189 using Ptr = shared_ptr<MeshConstruction<PointInT> >;
190 using ConstPtr = shared_ptr<const MeshConstruction<PointInT> >;
223 reconstruct (std::vector<pcl::Vertices> &polygons);
244 #include <pcl/surface/impl/reconstruction.hpp>
MeshConstruction represents a base surface reconstruction class.
~MeshConstruction() override=default
Destructor.
MeshConstruction()=default
Constructor.
virtual void performReconstruction(pcl::PolygonMesh &output)=0
Abstract surface reconstruction method.
void reconstruct(pcl::PolygonMesh &output) override
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
virtual void performReconstruction(std::vector< pcl::Vertices > &polygons)=0
Abstract surface reconstruction method.
bool check_tree_
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree.
shared_ptr< const PCLSurfaceBase< PointInT > > ConstPtr
typename KdTree::Ptr KdTreePtr
KdTreePtr getSearchMethod()
Get a pointer to the search method used.
KdTreePtr tree_
A pointer to the spatial search object.
virtual std::string getClassName() const
Abstract class get name method.
shared_ptr< PCLSurfaceBase< PointInT > > Ptr
PCLSurfaceBase()
Empty constructor.
virtual void reconstruct(pcl::PolygonMesh &output)=0
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
~PCLSurfaceBase() override=default
Empty destructor.
void setSearchMethod(const KdTreePtr &tree)
Provide an optional pointer to a search object.
SurfaceReconstruction represents a base surface reconstruction class.
virtual void performReconstruction(pcl::PolygonMesh &output)=0
Abstract surface reconstruction method.
bool check_tree_
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree.
void reconstruct(pcl::PolygonMesh &output) override
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
SurfaceReconstruction()=default
Constructor.
~SurfaceReconstruction() override=default
Destructor.
virtual void performReconstruction(pcl::PointCloud< PointInT > &points, std::vector< pcl::Vertices > &polygons)=0
Abstract surface reconstruction method.
shared_ptr< pcl::search::Search< PointInT > > Ptr