42 #include <pcl/pcl_base.h>
43 #include <pcl/PolygonMesh.h>
44 #include <pcl/search/pcl_search.h>
45 #include <pcl/conversions.h>
46 #include <pcl/surface/boost.h>
59 template <
typename Po
intInT>
63 using Ptr = shared_ptr<PCLSurfaceBase<PointInT> >;
64 using ConstPtr = shared_ptr<const PCLSurfaceBase<PointInT> >;
117 template <
typename Po
intInT>
121 using Ptr = shared_ptr<SurfaceReconstruction<PointInT> >;
122 using ConstPtr = shared_ptr<const SurfaceReconstruction<PointInT> >;
152 std::vector<pcl::Vertices> &polygons);
171 std::vector<pcl::Vertices> &polygons) = 0;
186 template <
typename Po
intInT>
190 using Ptr = shared_ptr<MeshConstruction<PointInT> >;
191 using ConstPtr = shared_ptr<const MeshConstruction<PointInT> >;
224 reconstruct (std::vector<pcl::Vertices> &polygons);
245 #include <pcl/surface/impl/reconstruction.hpp>
MeshConstruction represents a base surface reconstruction class.
MeshConstruction()
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.
~MeshConstruction()
Destructor.
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.
~PCLSurfaceBase()
Empty destructor.
virtual void reconstruct(pcl::PolygonMesh &output)=0
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
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()
Destructor.
SurfaceReconstruction()
Constructor.
virtual void performReconstruction(pcl::PointCloud< PointInT > &points, std::vector< pcl::Vertices > &polygons)=0
Abstract surface reconstruction method.
shared_ptr< pcl::search::Search< PointInT > > Ptr