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