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> KdTreePtr getSearchMethod()
Get a pointer to the search method used.
~PCLSurfaceBase()
Empty destructor.
bool check_tree_
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree...
SurfaceReconstruction represents a base surface reconstruction class.
~SurfaceReconstruction()
Destructor.
void setSearchMethod(const KdTreePtr &tree)
Provide an optional pointer to a search object.
PCLSurfaceBase()
Empty constructor.
MeshConstruction()
Constructor.
shared_ptr< PCLSurfaceBase< PointNT > > Ptr
MeshConstruction represents a base surface reconstruction class.
virtual void reconstruct(pcl::PolygonMesh &output)=0
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> ...
bool check_tree_
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree...
shared_ptr< const PCLSurfaceBase< PointNT > > ConstPtr
void reconstruct(pcl::PolygonMesh &output) override
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> ...
virtual void performReconstruction(pcl::PolygonMesh &output)=0
Abstract surface reconstruction method.
virtual std::string getClassName() const
Abstract class get name method.
void reconstruct(pcl::PolygonMesh &output) override
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> ...
~MeshConstruction()
Destructor.
shared_ptr< pcl::search::Search< PointInT > > Ptr
virtual void performReconstruction(pcl::PolygonMesh &output)=0
Abstract surface reconstruction method.
SurfaceReconstruction()
Constructor.
KdTreePtr tree_
A pointer to the spatial search object.
typename KdTree::Ptr KdTreePtr