Public Types | Public Member Functions | Protected Attributes | List of all members
swri_opencv_util::PerpendicularPlaneWithPointFit Class Reference

#include <models.h>

Inheritance diagram for swri_opencv_util::PerpendicularPlaneWithPointFit:
Inheritance graph
[legend]

Public Types

enum  { MIN_SIZE = 2 }
 
- Public Types inherited from swri_opencv_util::PlaneFit
enum  { MIN_SIZE = 3 }
 
- Public Types inherited from swri_opencv_util::Fit3d< PlaneModel >
typedef PlaneModel M
 
typedef cv::Mat T
 

Public Member Functions

virtual bool GetModel (const std::vector< int32_t > &indices, M &model, double max_error) const
 
 PerpendicularPlaneWithPointFit (const T &data, const cv::Vec3f &point_on_plane=cv::Vec3f(0, 0, 0), const cv::Vec3f &perp_axis=cv::Vec3f(0, 0, 1), float max_axis_angle=0.5, float min_angle=0.2)
 
- Public Member Functions inherited from swri_opencv_util::PlaneFit
 PlaneFit (const T &data, float min_angle=0.2)
 
bool ValidData () const
 
- Public Member Functions inherited from swri_opencv_util::Fit3d< PlaneModel >
 Fit3d (const T &data)
 
int32_t GetInlierCount (const M &model, double max_error)
 
void GetInliers (const M &model, double max_error, std::vector< uint32_t > &indices)
 
virtual std::string GetModelString (M &model) const
 
int32_t Size () const
 

Protected Attributes

float max_axis_angle_
 
cv::Vec3f perp_axis_
 
cv::Vec3f point_
 
- Protected Attributes inherited from swri_opencv_util::PlaneFit
float min_angle_
 
- Protected Attributes inherited from swri_opencv_util::Fit3d< PlaneModel >
const Tdata_
 
cv::Mat delta__
 
cv::Mat norms__
 
cv::Mat thresholded__
 

Additional Inherited Members

- Static Public Member Functions inherited from swri_opencv_util::Fit3d< PlaneModel >
static void CopyTo (const M &src, M &dst)
 
- Protected Member Functions inherited from swri_opencv_util::PlaneFit
virtual void CalculateNorms (const M &model, cv::Mat &norms)
 

Detailed Description

Definition at line 225 of file models.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MIN_SIZE 

Definition at line 228 of file models.h.

Constructor & Destructor Documentation

swri_opencv_util::PerpendicularPlaneWithPointFit::PerpendicularPlaneWithPointFit ( const T data,
const cv::Vec3f &  point_on_plane = cv::Vec3f(0,0,0),
const cv::Vec3f &  perp_axis = cv::Vec3f(0,0,1),
float  max_axis_angle = 0.5,
float  min_angle = 0.2 
)
inline

Definition at line 230 of file models.h.

Member Function Documentation

bool swri_opencv_util::PerpendicularPlaneWithPointFit::GetModel ( const std::vector< int32_t > &  indices,
M model,
double  max_error 
) const
virtual

Reimplemented from swri_opencv_util::PlaneFit.

Definition at line 354 of file models.cpp.

Member Data Documentation

float swri_opencv_util::PerpendicularPlaneWithPointFit::max_axis_angle_
protected

Definition at line 247 of file models.h.

cv::Vec3f swri_opencv_util::PerpendicularPlaneWithPointFit::perp_axis_
protected

Definition at line 246 of file models.h.

cv::Vec3f swri_opencv_util::PerpendicularPlaneWithPointFit::point_
protected

Definition at line 245 of file models.h.


The documentation for this class was generated from the following files:


swri_opencv_util
Author(s): Marc Alban
autogenerated on Tue Apr 6 2021 02:50:33