#include <GteApprPolynomial3.h>
Public Member Functions | |
ApprPolynomial3 (int xDegree, int yDegree) | |
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, ApprPolynomial3< 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 Attributes | |
std::vector< Real > | mParameters |
int | mSize |
int | mXDegree |
int | mXDegreeP1 |
std::array< Real, 2 > | mXDomain |
std::vector< Real > | mYCoefficient |
int | mYDegree |
int | mYDegreeP1 |
std::array< Real, 2 > | mYDomain |
Additional Inherited Members | |
Static Public Member Functions inherited from gte::ApprQuery< Real, ApprPolynomial3< Real >, std::array< Real, 3 > > | |
static bool | RANSAC (ApprPolynomial3< Real > &candidateModel, std::vector< std::array< Real, 3 > > const &observations, int const numRequiredForGoodFit, Real const maxErrorForGoodFit, int const numIterations, std::vector< int > &bestConsensus, ApprPolynomial3< Real > &bestModel) |
Definition at line 44 of file GteApprPolynomial3.h.
gte::ApprPolynomial3< Real >::ApprPolynomial3 | ( | int | xDegree, |
int | yDegree | ||
) |
Definition at line 87 of file GteApprPolynomial3.h.
Real gte::ApprPolynomial3< Real >::Error | ( | std::array< Real, 3 > const & | observation | ) | const |
Definition at line 202 of file GteApprPolynomial3.h.
Real gte::ApprPolynomial3< Real >::Evaluate | ( | Real | x, |
Real | y | ||
) | const |
Definition at line 229 of file GteApprPolynomial3.h.
bool gte::ApprPolynomial3< Real >::Fit | ( | std::vector< std::array< Real, 3 >> const & | observations, |
std::vector< int > const & | indices | ||
) |
Definition at line 112 of file GteApprPolynomial3.h.
int gte::ApprPolynomial3< Real >::GetMinimumRequired | ( | ) | const |
Definition at line 106 of file GteApprPolynomial3.h.
std::vector< Real > const & gte::ApprPolynomial3< Real >::GetParameters | ( | ) | const |
Definition at line 211 of file GteApprPolynomial3.h.
std::array< Real, 2 > const & gte::ApprPolynomial3< Real >::GetXDomain | ( | ) | const |
Definition at line 217 of file GteApprPolynomial3.h.
std::array< Real, 2 > const & gte::ApprPolynomial3< Real >::GetYDomain | ( | ) | const |
Definition at line 223 of file GteApprPolynomial3.h.
|
private |
Definition at line 77 of file GteApprPolynomial3.h.
|
private |
Definition at line 75 of file GteApprPolynomial3.h.
|
private |
Definition at line 75 of file GteApprPolynomial3.h.
|
private |
Definition at line 75 of file GteApprPolynomial3.h.
|
private |
Definition at line 76 of file GteApprPolynomial3.h.
|
mutableprivate |
Definition at line 82 of file GteApprPolynomial3.h.
|
private |
Definition at line 75 of file GteApprPolynomial3.h.
|
private |
Definition at line 75 of file GteApprPolynomial3.h.
|
private |
Definition at line 76 of file GteApprPolynomial3.h.