#include <GteApprPolynomialSpecial4.h>
Public Member Functions | |
ApprPolynomialSpecial4 (std::vector< int > const &xDegrees, std::vector< int > const &yDegrees, std::vector< int > const &zDegrees) | |
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, ApprPolynomialSpecial4< 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, 4 >> &transformed) |
void | Transform (std::vector< std::array< Real, 4 >> const &observations, std::vector< int > const &indices, std::vector< std::array< Real, 4 >> &transformed) |
Private Attributes | |
Real | mInvTwoWScale |
std::vector< Real > | mParameters |
std::array< Real, 4 > | mScale |
std::array< Real, 2 > | mWDomain |
std::vector< int > | mXDegrees |
std::array< Real, 2 > | mXDomain |
std::vector< Real > | mXPowers |
std::vector< int > | mYDegrees |
std::array< Real, 2 > | mYDomain |
std::vector< Real > | mYPowers |
std::vector< int > | mZDegrees |
std::array< Real, 2 > | mZDomain |
std::vector< Real > | mZPowers |
Additional Inherited Members | |
Static Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomialSpecial4< Real >, std::array< Real, 3 > > | |
static bool | RANSAC (ApprPolynomialSpecial4< Real > &candidateModel, std::vector< std::array< Real, 3 > > const &observations, int const numRequiredForGoodFit, Real const maxErrorForGoodFit, int const numIterations, std::vector< int > &bestConsensus, ApprPolynomialSpecial4< Real > &bestModel) |
Definition at line 25 of file GteApprPolynomialSpecial4.h.
gte::ApprPolynomialSpecial4< Real >::ApprPolynomialSpecial4 | ( | std::vector< int > const & | xDegrees, |
std::vector< int > const & | yDegrees, | ||
std::vector< int > const & | zDegrees | ||
) |
Definition at line 86 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 307 of file GteApprPolynomialSpecial4.h.
Real gte::ApprPolynomialSpecial4< Real >::Error | ( | std::array< Real, 4 > const & | observation | ) | const |
Definition at line 178 of file GteApprPolynomialSpecial4.h.
Real gte::ApprPolynomialSpecial4< Real >::Evaluate | ( | Real | x, |
Real | y, | ||
Real | z | ||
) | const |
Definition at line 211 of file GteApprPolynomialSpecial4.h.
bool gte::ApprPolynomialSpecial4< Real >::Fit | ( | std::vector< std::array< Real, 4 >> const & | observations, |
std::vector< int > const & | indices | ||
) |
Definition at line 159 of file GteApprPolynomialSpecial4.h.
int gte::ApprPolynomialSpecial4< Real >::GetMinimumRequired | ( | ) | const |
Definition at line 153 of file GteApprPolynomialSpecial4.h.
std::vector< Real > const & gte::ApprPolynomialSpecial4< Real >::GetParameters | ( | ) | const |
Definition at line 187 of file GteApprPolynomialSpecial4.h.
std::array< Real, 2 > const & gte::ApprPolynomialSpecial4< Real >::GetXDomain | ( | ) | const |
Definition at line 193 of file GteApprPolynomialSpecial4.h.
std::array< Real, 2 > const & gte::ApprPolynomialSpecial4< Real >::GetYDomain | ( | ) | const |
Definition at line 199 of file GteApprPolynomialSpecial4.h.
std::array< Real, 2 > const & gte::ApprPolynomialSpecial4< Real >::GetZDomain | ( | ) | const |
Definition at line 205 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 253 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 76 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 68 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 75 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 74 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 67 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 74 of file GteApprPolynomialSpecial4.h.
|
mutableprivate |
Definition at line 81 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 67 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 74 of file GteApprPolynomialSpecial4.h.
|
mutableprivate |
Definition at line 81 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 67 of file GteApprPolynomialSpecial4.h.
|
private |
Definition at line 74 of file GteApprPolynomialSpecial4.h.
|
mutableprivate |
Definition at line 81 of file GteApprPolynomialSpecial4.h.