Public Types | Public Member Functions | Private Attributes | List of all members
swri_math_util::Ransac< Model > Class Template Reference

#include <ransac.h>

Public Types

typedef Model::T DataType
 
typedef Model::M ModelType
 

Public Member Functions

ModelType FitModel (Model &model, double max_error, double confidence, int32_t min_iterations, int32_t max_iterations, std::vector< uint32_t > &inliers, int32_t &iterations)
 
 Ransac (RandomGeneratorPtr rng=RandomGeneratorPtr())
 

Private Attributes

RandomGeneratorPtr rng_
 

Detailed Description

template<class Model>
class swri_math_util::Ransac< Model >

Definition at line 43 of file ransac.h.

Member Typedef Documentation

◆ DataType

template<class Model >
typedef Model::T swri_math_util::Ransac< Model >::DataType

Definition at line 47 of file ransac.h.

◆ ModelType

template<class Model >
typedef Model::M swri_math_util::Ransac< Model >::ModelType

Definition at line 46 of file ransac.h.

Constructor & Destructor Documentation

◆ Ransac()

template<class Model >
swri_math_util::Ransac< Model >::Ransac ( RandomGeneratorPtr  rng = RandomGeneratorPtr())
inlineexplicit

Definition at line 49 of file ransac.h.

Member Function Documentation

◆ FitModel()

template<class Model >
ModelType swri_math_util::Ransac< Model >::FitModel ( Model &  model,
double  max_error,
double  confidence,
int32_t  min_iterations,
int32_t  max_iterations,
std::vector< uint32_t > &  inliers,
int32_t &  iterations 
)
inline

Definition at line 51 of file ransac.h.

Member Data Documentation

◆ rng_

template<class Model >
RandomGeneratorPtr swri_math_util::Ransac< Model >::rng_
private

Definition at line 119 of file ransac.h.


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


swri_math_util
Author(s): Marc Alban
autogenerated on Sat Jan 21 2023 03:13:11