40 #ifndef PCL_SAMPLE_CONSENSUS_MODEL_LINE_H_
41 #define PCL_SAMPLE_CONSENSUS_MODEL_LINE_H_
61 template <
typename Po
intT>
72 typedef boost::shared_ptr<SampleConsensusModelLine>
Ptr;
93 Eigen::VectorXf &model_coefficients);
101 std::vector<double> &distances);
110 const double threshold,
111 std::vector<int> &inliers);
121 const double threshold);
131 const Eigen::VectorXf &model_coefficients,
132 Eigen::VectorXf &optimized_coefficients);
142 const Eigen::VectorXf &model_coefficients,
144 bool copy_data_fields =
true);
153 const Eigen::VectorXf &model_coefficients,
154 const double threshold);
165 isModelValid (
const Eigen::VectorXf &model_coefficients)
167 if (model_coefficients.size () != 6)
169 PCL_ERROR (
"[pcl::SampleConsensusModelLine::selectWithinDistance] Invalid number of model coefficients given (%zu)!\n", model_coefficients.size ());
181 isSampleGood (
const std::vector<int> &samples)
const;
185 #endif //#ifndef PCL_SAMPLE_CONSENSUS_MODEL_LINE_H_