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

#include <GteApprPolynomialSpecial3.h>

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

Public Member Functions

 ApprPolynomialSpecial3 (std::vector< int > const &xDegrees, std::vector< int > const &yDegrees)
 
Real Error (std::array< Real, 3 > const &observation) const
 
Real Evaluate (Real x, Real y) const
 
bool Fit (std::vector< std::array< Real, 3 >> 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
 
- Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomialSpecial3< Real >, std::array< Real, 3 > >
bool Fit (std::vector< std::array< Real, 3 > > const &observations)
 
bool Fit (std::vector< std::array< Real, 3 > > const &observations, int const imin, int const imax)
 
bool Fit (std::vector< std::array< Real, 3 > > const &observations, std::vector< int > const &indices, int const numIndices)
 

Private Member Functions

bool DoLeastSquares (std::vector< std::array< Real, 3 >> &transformed)
 
void Transform (std::vector< std::array< Real, 3 >> const &observations, std::vector< int > const &indices, std::vector< std::array< Real, 3 >> &transformed)
 

Private Attributes

Real mInvTwoWScale
 
std::vector< Real > mParameters
 
std::array< Real, 3 > mScale
 
std::array< Real, 2 > mWDomain
 
std::vector< intmXDegrees
 
std::array< Real, 2 > mXDomain
 
std::vector< Real > mXPowers
 
std::vector< intmYDegrees
 
std::array< Real, 2 > mYDomain
 
std::vector< Real > mYPowers
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 25 of file GteApprPolynomialSpecial3.h.

Constructor & Destructor Documentation

template<typename Real >
gte::ApprPolynomialSpecial3< Real >::ApprPolynomialSpecial3 ( std::vector< int > const &  xDegrees,
std::vector< int > const &  yDegrees 
)

Definition at line 85 of file GteApprPolynomialSpecial3.h.

Member Function Documentation

template<typename Real >
bool gte::ApprPolynomialSpecial3< Real >::DoLeastSquares ( std::vector< std::array< Real, 3 >> &  transformed)
private

Definition at line 274 of file GteApprPolynomialSpecial3.h.

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

Definition at line 161 of file GteApprPolynomialSpecial3.h.

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

Definition at line 188 of file GteApprPolynomialSpecial3.h.

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

Definition at line 142 of file GteApprPolynomialSpecial3.h.

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

Definition at line 136 of file GteApprPolynomialSpecial3.h.

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

Definition at line 170 of file GteApprPolynomialSpecial3.h.

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

Definition at line 176 of file GteApprPolynomialSpecial3.h.

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

Definition at line 182 of file GteApprPolynomialSpecial3.h.

template<typename Real >
void gte::ApprPolynomialSpecial3< Real >::Transform ( std::vector< std::array< Real, 3 >> const &  observations,
std::vector< int > const &  indices,
std::vector< std::array< Real, 3 >> &  transformed 
)
private

Definition at line 222 of file GteApprPolynomialSpecial3.h.

Member Data Documentation

template<typename Real >
Real gte::ApprPolynomialSpecial3< Real >::mInvTwoWScale
private

Definition at line 75 of file GteApprPolynomialSpecial3.h.

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

Definition at line 67 of file GteApprPolynomialSpecial3.h.

template<typename Real >
std::array<Real, 3> gte::ApprPolynomialSpecial3< Real >::mScale
private

Definition at line 74 of file GteApprPolynomialSpecial3.h.

template<typename Real >
std::array<Real, 2> gte::ApprPolynomialSpecial3< Real >::mWDomain
private

Definition at line 73 of file GteApprPolynomialSpecial3.h.

template<typename Real >
std::vector<int> gte::ApprPolynomialSpecial3< Real >::mXDegrees
private

Definition at line 66 of file GteApprPolynomialSpecial3.h.

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

Definition at line 73 of file GteApprPolynomialSpecial3.h.

template<typename Real >
std::vector<Real> gte::ApprPolynomialSpecial3< Real >::mXPowers
mutableprivate

Definition at line 80 of file GteApprPolynomialSpecial3.h.

template<typename Real >
std::vector<int> gte::ApprPolynomialSpecial3< Real >::mYDegrees
private

Definition at line 66 of file GteApprPolynomialSpecial3.h.

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

Definition at line 73 of file GteApprPolynomialSpecial3.h.

template<typename Real >
std::vector<Real> gte::ApprPolynomialSpecial3< Real >::mYPowers
mutableprivate

Definition at line 80 of file GteApprPolynomialSpecial3.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