#include <models.h>
Public Types | |
enum | { MIN_SIZE = 3 } |
Public Member Functions | |
virtual bool | GetModel (const std::vector< int32_t > &indices, M &model, double max_error) const |
PlaneFit (const T &data, float min_angle=0.2) | |
bool | ValidData () const |
Protected Member Functions | |
virtual void | CalculateNorms (const M &model, cv::Mat &norms) |
Protected Attributes | |
float | min_angle_ |
swri_opencv_util::PlaneFit::PlaneFit | ( | const T & | data, |
float | min_angle = 0.2 |
||
) | [inline] |
void swri_opencv_util::PlaneFit::CalculateNorms | ( | const M & | model, |
cv::Mat & | norms | ||
) | [protected, virtual] |
Implements swri_opencv_util::Fit3d< PlaneModel >.
Definition at line 452 of file models.cpp.
bool swri_opencv_util::PlaneFit::GetModel | ( | const std::vector< int32_t > & | indices, |
M & | model, | ||
double | max_error | ||
) | const [virtual] |
Implements swri_opencv_util::Fit3d< PlaneModel >.
Reimplemented in swri_opencv_util::PerpendicularPlaneWithPointFit.
Definition at line 406 of file models.cpp.
bool swri_opencv_util::PlaneFit::ValidData | ( | ) | const [inline] |
float swri_opencv_util::PlaneFit::min_angle_ [protected] |