OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Abstract interpolator. More...
#include <HermiteInterpolator.h>
Public Member Functions | |
HermiteInterpolator () | |
Constructor. More... | |
HermiteInterpolator (int nbrPoints, double *x, double *y, double *dy) | |
Constructor with initializations. More... | |
~HermiteInterpolator () | |
Destructor. More... | |
HermiteInterpolator (const HermiteInterpolator &rhs) | |
Copy constructor. More... | |
HermiteInterpolator & | operator= (const HermiteInterpolator &rhs) |
Affectation operator. More... | |
int | Interpolate (double x, double &y, double &dy) const |
This function performs the interpolation for the abscissa x. More... | |
int | Interpolate (double x, double &y) const |
This function performs the interpolation for the abscissa x. More... | |
Protected Member Functions | |
void | Clear () |
int | Precompute () const |
Protected Attributes | |
int | theNPointsAvailable |
double * | theXValues |
double * | theYValues |
double * | thedYValues |
double * | prodC |
double * | sumC |
bool | isComputed |
ossimplugins::HermiteInterpolator::HermiteInterpolator | ( | ) |
Constructor.
Definition at line 22 of file HermiteInterpolator.cpp.
ossimplugins::HermiteInterpolator::HermiteInterpolator | ( | int | nbrPoints, |
double * | x, | ||
double * | y, | ||
double * | dy | ||
) |
Constructor with initializations.
nbrPoints | Number of points used to perform the interpolation |
x | Values of the points abscissa |
y | Values of the points |
dy | Values of the differential coefficients |
Definition at line 33 of file HermiteInterpolator.cpp.
References thedYValues, theNPointsAvailable, theXValues, theYValues, x, and y.
ossimplugins::HermiteInterpolator::~HermiteInterpolator | ( | ) |
ossimplugins::HermiteInterpolator::HermiteInterpolator | ( | const HermiteInterpolator & | rhs | ) |
Copy constructor.
Definition at line 98 of file HermiteInterpolator.cpp.
References thedYValues, theNPointsAvailable, theXValues, and theYValues.
|
protected |
Definition at line 320 of file HermiteInterpolator.cpp.
References isComputed, prodC, sumC, thedYValues, theNPointsAvailable, theXValues, and theYValues.
Referenced by operator=(), and ~HermiteInterpolator().
int ossimplugins::HermiteInterpolator::Interpolate | ( | double | x, |
double & | y, | ||
double & | dy | ||
) | const |
This function performs the interpolation for the abscissa x.
x | Abscissa of the interpolation |
y | [out] value of the point at the abscissa x |
dy | [out] value of the differential coefficient at abscissa x |
Definition at line 194 of file HermiteInterpolator.cpp.
References abs, isComputed, Precompute(), prodC, sumC, thedYValues, theNPointsAvailable, theXValues, theYValues, x, and y.
Referenced by ossimplugins::PlatformPosition::Interpolate().
int ossimplugins::HermiteInterpolator::Interpolate | ( | double | x, |
double & | y | ||
) | const |
This function performs the interpolation for the abscissa x.
x | Abscissa of the interpolation |
y | [out] value of the point at the abscissa x |
Definition at line 257 of file HermiteInterpolator.cpp.
References isComputed, Precompute(), prodC, sumC, thedYValues, theNPointsAvailable, theXValues, theYValues, x, and y.
HermiteInterpolator & ossimplugins::HermiteInterpolator::operator= | ( | const HermiteInterpolator & | rhs | ) |
Affectation operator.
Definition at line 144 of file HermiteInterpolator.cpp.
References Clear(), isComputed, prodC, sumC, thedYValues, theNPointsAvailable, theXValues, and theYValues.
|
protected |
Definition at line 297 of file HermiteInterpolator.cpp.
References isComputed, prodC, sumC, theNPointsAvailable, and theXValues.
Referenced by Interpolate().
|
mutableprotected |
Definition at line 85 of file HermiteInterpolator.h.
Referenced by Clear(), Interpolate(), operator=(), and Precompute().
|
mutableprotected |
Definition at line 83 of file HermiteInterpolator.h.
Referenced by Clear(), Interpolate(), operator=(), and Precompute().
|
mutableprotected |
Definition at line 84 of file HermiteInterpolator.h.
Referenced by Clear(), Interpolate(), operator=(), and Precompute().
|
protected |
Definition at line 81 of file HermiteInterpolator.h.
Referenced by Clear(), HermiteInterpolator(), Interpolate(), and operator=().
|
protected |
Definition at line 78 of file HermiteInterpolator.h.
Referenced by Clear(), HermiteInterpolator(), Interpolate(), operator=(), and Precompute().
|
protected |
Definition at line 79 of file HermiteInterpolator.h.
Referenced by Clear(), HermiteInterpolator(), Interpolate(), operator=(), and Precompute().
|
protected |
Definition at line 80 of file HermiteInterpolator.h.
Referenced by Clear(), HermiteInterpolator(), Interpolate(), and operator=().