38 #ifndef PCL_FILTERS_PROJECT_INLIERS_H_
39 #define PCL_FILTERS_PROJECT_INLIERS_H_
41 #include <pcl/point_types.h>
42 #include <pcl/filters/filter.h>
43 #include <pcl/ModelCoefficients.h>
45 #include <pcl/sample_consensus/model_types.h>
46 #include <pcl/sample_consensus/sac_model.h>
47 #include <pcl/sample_consensus/sac_model_circle.h>
48 #include <pcl/sample_consensus/sac_model_cylinder.h>
49 #include <pcl/sample_consensus/sac_model_cone.h>
50 #include <pcl/sample_consensus/sac_model_line.h>
51 #include <pcl/sample_consensus/sac_model_normal_plane.h>
52 #include <pcl/sample_consensus/sac_model_normal_sphere.h>
53 #include <pcl/sample_consensus/sac_model_parallel_plane.h>
54 #include <pcl/sample_consensus/sac_model_normal_parallel_plane.h>
55 #include <pcl/sample_consensus/sac_model_parallel_line.h>
56 #include <pcl/sample_consensus/sac_model_perpendicular_plane.h>
57 #include <pcl/sample_consensus/sac_model_plane.h>
58 #include <pcl/sample_consensus/sac_model_sphere.h>
68 template<
typename Po
intT>
83 typedef boost::shared_ptr< ProjectInliers<PointT> >
Ptr;
84 typedef boost::shared_ptr< const ProjectInliers<PointT> >
ConstPtr;
88 ProjectInliers () : model_ (), sacmodel_ (), model_type_ (), copy_all_data_ (false)
109 return (model_type_);
134 copy_all_data_ = val;
141 return (copy_all_data_);
156 SampleConsensusModelPtr sacmodel_;
168 initSACModel (
int model_type);
192 ProjectInliers () : model_type_ (), copy_all_data_ (false), copy_all_fields_ (true), model_ (), sacmodel_ ()
194 filter_name_ =
"ProjectInliers";
204 setModelType (
int model)
211 getModelType ()
const
213 return (model_type_);
227 getModelCoefficients ()
const
236 setCopyAllFields (
bool val)
238 copy_all_fields_ = val;
243 getCopyAllFields ()
const
245 return (copy_all_fields_);
252 setCopyAllData (
bool val)
254 copy_all_data_ = val;
259 getCopyAllData ()
const
261 return (copy_all_data_);
281 SampleConsensusModelPtr sacmodel_;
284 initSACModel (
int model_type);
288 #ifdef PCL_NO_PRECOMPILE
289 #include <pcl/filters/impl/project_inliers.hpp>
292 #endif //#ifndef PCL_FILTERS_PROJECT_INLIERS_H_