40 #ifndef PCL_SAMPLE_CONSENSUS_MODEL_STICK_H_
41 #define PCL_SAMPLE_CONSENSUS_MODEL_STICK_H_
62 template <
typename Po
intT>
75 typedef boost::shared_ptr<SampleConsensusModelStick>
Ptr;
96 Eigen::VectorXf &model_coefficients);
104 std::vector<double> &distances);
113 const double threshold,
114 std::vector<int> &inliers);
124 const double threshold);
134 const Eigen::VectorXf &model_coefficients,
135 Eigen::VectorXf &optimized_coefficients);
145 const Eigen::VectorXf &model_coefficients,
147 bool copy_data_fields =
true);
156 const Eigen::VectorXf &model_coefficients,
157 const double threshold);
168 isModelValid (
const Eigen::VectorXf &model_coefficients)
170 if (model_coefficients.size () != 7)
172 PCL_ERROR (
"[pcl::SampleConsensusModelStick::selectWithinDistance] Invalid number of model coefficients given (%zu)!\n", model_coefficients.size ());
184 isSampleGood (
const std::vector<int> &samples)
const;
188 #endif //#ifndef PCL_SAMPLE_CONSENSUS_MODEL_STICK_H_