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