40 #ifndef PCL_SURFACE_RECONSTRUCTION_H_
41 #define PCL_SURFACE_RECONSTRUCTION_H_
43 #include <pcl/pcl_base.h>
44 #include <pcl/PolygonMesh.h>
45 #include <pcl/search/pcl_search.h>
46 #include <pcl/conversions.h>
47 #include <pcl/surface/boost.h>
60 template <
typename Po
intInT>
64 typedef boost::shared_ptr<PCLSurfaceBase<PointInT> >
Ptr;
65 typedef boost::shared_ptr<const PCLSurfaceBase<PointInT> >
ConstPtr;
118 template <
typename Po
intInT>
122 typedef boost::shared_ptr<SurfaceReconstruction<PointInT> >
Ptr;
123 typedef boost::shared_ptr<const SurfaceReconstruction<PointInT> >
ConstPtr;
153 std::vector<pcl::Vertices> &polygons);
172 std::vector<pcl::Vertices> &polygons) = 0;
187 template <
typename Po
intInT>
191 typedef boost::shared_ptr<MeshConstruction<PointInT> >
Ptr;
192 typedef boost::shared_ptr<const MeshConstruction<PointInT> >
ConstPtr;
225 reconstruct (std::vector<pcl::Vertices> &polygons);
246 #include <pcl/surface/impl/reconstruction.hpp>
248 #endif // PCL_SURFACE_RECONSTRUCTION_H_
SurfaceReconstruction represents a base surface reconstruction class.
pcl::search::Search< PointInT >::Ptr KdTreePtr
boost::shared_ptr< const SurfaceReconstruction< PointInT > > ConstPtr
virtual void reconstruct(pcl::PolygonMesh &output)
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.
virtual void reconstruct(pcl::PolygonMesh &output)=0
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> ...
virtual void reconstruct(pcl::PolygonMesh &output)
Base method for surface reconstruction for all points given in <setInputCloud (), setIndices ()> ...
PCLSurfaceBase()
Empty constructor.
virtual std::string getClassName() const
Abstract class get name method.
KdTreePtr getSearchMethod()
Get a pointer to the search method used.
boost::shared_ptr< const PCLSurfaceBase< PointInT > > ConstPtr
boost::shared_ptr< PCLSurfaceBase< PointInT > > Ptr
bool check_tree_
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree...
MeshConstruction represents a base surface reconstruction class.
boost::shared_ptr< const MeshConstruction< PointInT > > ConstPtr
virtual ~SurfaceReconstruction()
Destructor.
pcl::search::Search< PointInT > KdTree
boost::shared_ptr< pcl::search::Search< PointT > > Ptr
virtual ~PCLSurfaceBase()
Empty destructor.
MeshConstruction()
Constructor.
boost::shared_ptr< SurfaceReconstruction< PointInT > > Ptr
virtual void performReconstruction(pcl::PolygonMesh &output)=0
Abstract surface reconstruction method.
SurfaceReconstruction()
Constructor.
boost::shared_ptr< MeshConstruction< PointInT > > Ptr
virtual ~MeshConstruction()
Destructor.
virtual void performReconstruction(pcl::PolygonMesh &output)=0
Abstract surface reconstruction method.
KdTreePtr tree_
A pointer to the spatial search object.
bool check_tree_
A flag specifying whether or not the derived reconstruction algorithm needs the search object tree...