41 #ifndef PCL_SAMPLE_CONSENSUS_MODEL_NORMALPARALLELPLANE_H_
42 #define PCL_SAMPLE_CONSENSUS_MODEL_NORMALPARALLELPLANE_H_
44 #include <pcl/sample_consensus/sac_model_normal_plane.h>
45 #include <pcl/sample_consensus/model_types.h>
83 template <
typename Po
intT,
typename Po
intNT>
100 typedef boost::shared_ptr<SampleConsensusModelNormalParallelPlane>
Ptr;
109 , axis_ (Eigen::Vector4f::Zero ())
110 , distance_from_origin_ (0)
123 const std::vector<int> &indices,
126 , axis_ (Eigen::Vector4f::Zero ())
127 , distance_from_origin_ (0)
141 setAxis (
const Eigen::Vector3f &ax) { axis_.head<3> () = ax; axis_.normalize ();}
144 inline Eigen::Vector3f
152 setEpsAngle (
const double ea) { eps_angle_ = ea; cos_angle_ = fabs (cos (ea));}
182 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
189 isModelValid (
const Eigen::VectorXf &model_coefficients);
193 Eigen::Vector4f axis_;
196 double distance_from_origin_;
208 #ifdef PCL_NO_PRECOMPILE
209 #include <pcl/sample_consensus/impl/sac_model_normal_parallel_plane.hpp>
212 #endif //#ifndef PCL_SAMPLE_CONSENSUS_MODEL_NORMALPARALLELPLANE_H_