40 #ifndef PCL_SAMPLE_CONSENSUS_MODEL_PARALLELPLANE_H_
41 #define PCL_SAMPLE_CONSENSUS_MODEL_PARALLELPLANE_H_
64 template <
typename Po
intT>
72 typedef boost::shared_ptr<SampleConsensusModelParallelPlane>
Ptr;
79 axis_ (Eigen::Vector3f::Zero ()),
80 eps_angle_ (0.0), sin_angle_ (-1.0)
90 axis_ (Eigen::Vector3f::Zero ()),
91 eps_angle_ (0.0), sin_angle_ (-1.0)
99 setAxis (
const Eigen::Vector3f &ax) { axis_ = ax; }
102 inline Eigen::Vector3f
110 setEpsAngle (
const double ea) { eps_angle_ = ea; sin_angle_ = fabs (sin (ea));}
123 const double threshold,
124 std::vector<int> &inliers);
134 const double threshold);
142 std::vector<double> &distances);
153 isModelValid (
const Eigen::VectorXf &model_coefficients);
156 Eigen::Vector3f axis_;
166 #endif //#ifndef PCL_SAMPLE_CONSENSUS_MODEL_PARALLELPLANE_H_