Public Member Functions | Private Attributes | List of all members
gte::ApprPolynomial4< Real > Class Template Reference

#include <GteApprPolynomial4.h>

Inheritance diagram for gte::ApprPolynomial4< Real >:
Inheritance graph
[legend]

Public Member Functions

 ApprPolynomial4 (int xDegree, int yDegree, int zDegree)
 
Real Error (std::array< Real, 4 > const &observation) const
 
Real Evaluate (Real x, Real y, Real z) const
 
bool Fit (std::vector< std::array< Real, 4 >> const &observations, std::vector< int > const &indices)
 
int GetMinimumRequired () const
 
std::vector< Real > const & GetParameters () const
 
std::array< Real, 2 > const & GetXDomain () const
 
std::array< Real, 2 > const & GetYDomain () const
 
std::array< Real, 2 > const & GetZDomain () const
 
- Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomial4< Real >, std::array< Real, 4 > >
bool Fit (std::vector< std::array< Real, 4 > > const &observations)
 
bool Fit (std::vector< std::array< Real, 4 > > const &observations, int const imin, int const imax)
 
bool Fit (std::vector< std::array< Real, 4 > > const &observations, std::vector< int > const &indices, int const numIndices)
 

Private Attributes

std::vector< Real > mParameters
 
int mSize
 
int mXDegree
 
int mXDegreeP1
 
std::array< Real, 2 > mXDomain
 
int mYDegree
 
int mYDegreeP1
 
std::array< Real, 2 > mYDomain
 
std::vector< Real > mYZCoefficient
 
std::vector< Real > mZCoefficient
 
int mZDegree
 
int mZDegreeP1
 
std::array< Real, 2 > mZDomain
 

Additional Inherited Members

- Static Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomial4< Real >, std::array< Real, 4 > >
static bool RANSAC (ApprPolynomial4< Real > &candidateModel, std::vector< std::array< Real, 4 > > const &observations, int const numRequiredForGoodFit, Real const maxErrorForGoodFit, int const numIterations, std::vector< int > &bestConsensus, ApprPolynomial4< Real > &bestModel)
 

Detailed Description

template<typename Real>
class gte::ApprPolynomial4< Real >

Definition at line 47 of file GteApprPolynomial4.h.

Constructor & Destructor Documentation

template<typename Real >
gte::ApprPolynomial4< Real >::ApprPolynomial4 ( int  xDegree,
int  yDegree,
int  zDegree 
)

Definition at line 93 of file GteApprPolynomial4.h.

Member Function Documentation

template<typename Real >
Real gte::ApprPolynomial4< Real >::Error ( std::array< Real, 4 > const &  observation) const

Definition at line 234 of file GteApprPolynomial4.h.

template<typename Real >
Real gte::ApprPolynomial4< Real >::Evaluate ( Real  x,
Real  y,
Real  z 
) const

Definition at line 267 of file GteApprPolynomial4.h.

template<typename Real >
bool gte::ApprPolynomial4< Real >::Fit ( std::vector< std::array< Real, 4 >> const &  observations,
std::vector< int > const &  indices 
)

Definition at line 124 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::GetMinimumRequired ( ) const

Definition at line 118 of file GteApprPolynomial4.h.

template<typename Real >
std::vector< Real > const & gte::ApprPolynomial4< Real >::GetParameters ( ) const

Definition at line 243 of file GteApprPolynomial4.h.

template<typename Real >
std::array< Real, 2 > const & gte::ApprPolynomial4< Real >::GetXDomain ( ) const

Definition at line 249 of file GteApprPolynomial4.h.

template<typename Real >
std::array< Real, 2 > const & gte::ApprPolynomial4< Real >::GetYDomain ( ) const

Definition at line 255 of file GteApprPolynomial4.h.

template<typename Real >
std::array< Real, 2 > const & gte::ApprPolynomial4< Real >::GetZDomain ( ) const

Definition at line 261 of file GteApprPolynomial4.h.

Member Data Documentation

template<typename Real >
std::vector<Real> gte::ApprPolynomial4< Real >::mParameters
private

Definition at line 82 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::mSize
private

Definition at line 80 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::mXDegree
private

Definition at line 79 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::mXDegreeP1
private

Definition at line 80 of file GteApprPolynomial4.h.

template<typename Real >
std::array<Real, 2> gte::ApprPolynomial4< Real >::mXDomain
private

Definition at line 81 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::mYDegree
private

Definition at line 79 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::mYDegreeP1
private

Definition at line 80 of file GteApprPolynomial4.h.

template<typename Real >
std::array<Real, 2> gte::ApprPolynomial4< Real >::mYDomain
private

Definition at line 81 of file GteApprPolynomial4.h.

template<typename Real >
std::vector<Real> gte::ApprPolynomial4< Real >::mYZCoefficient
mutableprivate

Definition at line 87 of file GteApprPolynomial4.h.

template<typename Real >
std::vector<Real> gte::ApprPolynomial4< Real >::mZCoefficient
mutableprivate

Definition at line 88 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::mZDegree
private

Definition at line 79 of file GteApprPolynomial4.h.

template<typename Real >
int gte::ApprPolynomial4< Real >::mZDegreeP1
private

Definition at line 80 of file GteApprPolynomial4.h.

template<typename Real >
std::array<Real, 2> gte::ApprPolynomial4< Real >::mZDomain
private

Definition at line 81 of file GteApprPolynomial4.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05