Point Cloud Library (PCL)
1.11.1-dev
|
42 #include <pcl/pcl_base.h>
43 #include <pcl/PolygonMesh.h>
44 #include <pcl/search/search.h>
57 template <
typename Po
intInT>
61 using Ptr = shared_ptr<PCLSurfaceBase<PointInT> >;
62 using ConstPtr = shared_ptr<const PCLSurfaceBase<PointInT> >;
115 template <
typename Po
intInT>
119 using Ptr = shared_ptr<SurfaceReconstruction<PointInT> >;
120 using ConstPtr = shared_ptr<const SurfaceReconstruction<PointInT> >;
150 std::vector<pcl::Vertices> &polygons);
169 std::vector<pcl::Vertices> &polygons) = 0;
184 template <
typename Po
intInT>
188 using Ptr = shared_ptr<MeshConstruction<PointInT> >;
189 using ConstPtr = shared_ptr<const MeshConstruction<PointInT> >;
222 reconstruct (std::vector<pcl::Vertices> &polygons);
243 #include <pcl/surface/impl/reconstruction.hpp>
PCLSurfaceBase()
Empty constructor.
shared_ptr< PCLSurfaceBase< PointNT > > Ptr
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 ()>
SurfaceReconstruction()
Constructor.
~MeshConstruction()
Destructor.
typename KdTree::Ptr KdTreePtr
SurfaceReconstruction represents a base surface reconstruction class.
virtual std::string getClassName() const
Abstract class get name method.
virtual void reconstruct(pcl::PolygonMesh &output)=0
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()>
shared_ptr< pcl::search::Search< PointInT > > Ptr
~PCLSurfaceBase()
Empty destructor.
shared_ptr< const PCLSurfaceBase< PointNT > > ConstPtr
bool check_tree_
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree.
KdTreePtr tree_
A pointer to the spatial search object.
KdTreePtr getSearchMethod()
Get a pointer to the search method used.
~SurfaceReconstruction()
Destructor.
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 ()>
virtual void performReconstruction(pcl::PolygonMesh &output)=0
Abstract surface reconstruction method.
void setSearchMethod(const KdTreePtr &tree)
Provide an optional pointer to a search object.
MeshConstruction()
Constructor.
MeshConstruction represents a base surface reconstruction class.