38 #ifndef PCL_SEGMENTATION_PLANAR_POLYGON_FUSION_H_
39 #define PCL_SEGMENTATION_PLANAR_POLYGON_FUSION_H_
43 #include <pcl/segmentation/planar_region.h>
51 template <
typename Po
intT>
74 int start =
static_cast<int> (
regions_.size ());
76 for(
size_t i = 0; i < input.size (); i++)
82 std::vector<pcl::PlanarRegion<PointT>, Eigen::aligned_allocator<pcl::PlanarRegion<PointT> > >
regions_;
86 #ifdef PCL_NO_PRECOMPILE
87 #include <pcl/segmentation/impl/planar_polygon_fusion.hpp>
90 #endif // PCL_SEGMENTATION_PLANAR_POLYGON_FUSION_H_
virtual ~PlanarPolygonFusion()
Destructor.
void addInputPolygons(const std::vector< PlanarRegion< PointT >, Eigen::aligned_allocator< PlanarRegion< PointT > > > &input)
Set the list of 2D planar polygons to refine.
PlanarPolygonFusion()
Constructor.
void reset()
Reset the state (clean the list of planar models).
std::vector< pcl::PlanarRegion< PointT >, Eigen::aligned_allocator< pcl::PlanarRegion< PointT > > > regions_
Internal list of planar states.
PlanarRegion represents a set of points that lie in a plane.
PlanarPolygonFusion takes a list of 2D planar polygons and attempts to reduce them to a minimum set t...