#ifndef NORMALSESTIMATOR_H #define NORMALSESTIMATOR_H #ifdef USE_PCL #include "iestimatorobserverandcontroller.h" #include #include #include #include #include #include #include #include #include #include typedef boost::property Weight; typedef boost::property Index; typedef boost::adjacency_list GraphPoisson; typedef boost::graph_traits::vertex_descriptor Vertex; typedef boost::graph_traits::edge_descriptor EdgePoisson; typedef boost::property_map< GraphPoisson, boost::vertex_index_t>::type VertexIndexMap; typedef boost::property_map< GraphPoisson, boost::edge_weight_t>::type WeightMap; class normalsEstimator { public: normalsEstimator(pcl::PointCloud pPointCloud, const IEstimatorObserverAndController *obs = NULL); pcl::PointCloud getNormals(int nbNeighborsNormals); private: pcl::PointCloud pointCloud; IEstimatorObserverAndController *m_observer; void setProgress(int p); bool mustStop() const; }; #endif #endif // NORMALSESTIMATOR_H