#include <models.h>
Public Types | |
enum | { MIN_SIZE = 3 } |
Public Member Functions | |
CrossFit3d (const T &data, float min_angle=0.2) | |
virtual bool | GetModel (const std::vector< int32_t > &indices, M &model, double max_error) const |
bool | ValidData () const |
Protected Member Functions | |
virtual void | CalculateNorms (const M &model, cv::Mat &norms) |
Protected Attributes | |
float | min_angle_ |
cv::Mat | temp1__ |
cv::Mat | temp2__ |
cv::Mat | temp3__ |
cv::Mat | x0_p__ |
cv::Mat | x0_p_dot_n__ |
swri_opencv_util::CrossFit3d::CrossFit3d | ( | const T & | data, |
float | min_angle = 0.2 |
||
) | [inline] |
void swri_opencv_util::CrossFit3d::CalculateNorms | ( | const M & | model, |
cv::Mat & | norms | ||
) | [protected, virtual] |
Implements swri_opencv_util::Fit3d< CrossModel3d >.
Definition at line 630 of file models.cpp.
bool swri_opencv_util::CrossFit3d::GetModel | ( | const std::vector< int32_t > & | indices, |
M & | model, | ||
double | max_error | ||
) | const [virtual] |
Implements swri_opencv_util::Fit3d< CrossModel3d >.
Definition at line 574 of file models.cpp.
bool swri_opencv_util::CrossFit3d::ValidData | ( | ) | const [inline] |
float swri_opencv_util::CrossFit3d::min_angle_ [protected] |
cv::Mat swri_opencv_util::CrossFit3d::temp1__ [protected] |
cv::Mat swri_opencv_util::CrossFit3d::temp2__ [protected] |
cv::Mat swri_opencv_util::CrossFit3d::temp3__ [protected] |
cv::Mat swri_opencv_util::CrossFit3d::x0_p__ [protected] |
cv::Mat swri_opencv_util::CrossFit3d::x0_p_dot_n__ [protected] |