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

#include <GteApprPolynomialSpecial2.h>

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

Public Member Functions

 ApprPolynomialSpecial2 (std::vector< int > const &degrees)
 
Real Error (std::array< Real, 2 > const &observation) const
 
Real Evaluate (Real x) const
 
bool Fit (std::vector< std::array< Real, 2 >> const &observations, std::vector< int > const &indices)
 
int GetMinimumRequired () const
 
std::vector< Real > const & GetParameters () const
 
std::array< Real, 2 > const & GetXDomain () const
 
- Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomialSpecial2< Real >, std::array< Real, 2 > >
bool Fit (std::vector< std::array< Real, 2 > > const &observations)
 
bool Fit (std::vector< std::array< Real, 2 > > const &observations, int const imin, int const imax)
 
bool Fit (std::vector< std::array< Real, 2 > > const &observations, std::vector< int > const &indices, int const numIndices)
 

Private Member Functions

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

Private Attributes

std::vector< intmDegrees
 
Real mInvTwoWScale
 
std::vector< Real > mParameters
 
std::array< Real, 2 > mScale
 
std::array< Real, 2 > mWDomain
 
std::array< Real, 2 > mXDomain
 
std::vector< Real > mXPowers
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 25 of file GteApprPolynomialSpecial2.h.

Constructor & Destructor Documentation

template<typename Real >
gte::ApprPolynomialSpecial2< Real >::ApprPolynomialSpecial2 ( std::vector< int > const &  degrees)

Definition at line 82 of file GteApprPolynomialSpecial2.h.

Member Function Documentation

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

Definition at line 238 of file GteApprPolynomialSpecial2.h.

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

Definition at line 141 of file GteApprPolynomialSpecial2.h.

template<typename Real >
Real gte::ApprPolynomialSpecial2< Real >::Evaluate ( Real  x) const

Definition at line 162 of file GteApprPolynomialSpecial2.h.

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

Definition at line 122 of file GteApprPolynomialSpecial2.h.

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

Definition at line 116 of file GteApprPolynomialSpecial2.h.

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

Definition at line 150 of file GteApprPolynomialSpecial2.h.

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

Definition at line 156 of file GteApprPolynomialSpecial2.h.

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

Definition at line 188 of file GteApprPolynomialSpecial2.h.

Member Data Documentation

template<typename Real >
std::vector<int> gte::ApprPolynomialSpecial2< Real >::mDegrees
private

Definition at line 64 of file GteApprPolynomialSpecial2.h.

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

Definition at line 72 of file GteApprPolynomialSpecial2.h.

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

Definition at line 65 of file GteApprPolynomialSpecial2.h.

template<typename Real >
std::array<Real, 2> gte::ApprPolynomialSpecial2< Real >::mScale
private

Definition at line 71 of file GteApprPolynomialSpecial2.h.

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

Definition at line 70 of file GteApprPolynomialSpecial2.h.

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

Definition at line 70 of file GteApprPolynomialSpecial2.h.

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

Definition at line 77 of file GteApprPolynomialSpecial2.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