swift
|
Interpolant interface. More...
Public Member Functions | |
IInterpolant ()=default | |
Default ctor. | |
IInterpolant (qint64 interpolatedTime) | |
Constructor. | |
virtual std::tuple< geo::CCoordinateGeodetic, aviation::CAltitude > | interpolatePositionAndAltitude () const =0 |
Perform the interpolation. More... | |
virtual aviation::COnGroundInfo | interpolateGroundFactor () const =0 |
Interpolate the ground information/factor. | |
virtual const IInterpolatorPbh & | pbh () const =0 |
Get the PBH interpolator. | |
qint64 | getInterpolatedTime () const |
"Real time" representing the interpolated situation | |
bool | isValid () const |
Valid? | |
void | setValid (bool valid) |
Valid? | |
bool | isRecalculated () const |
Is recalculated interpolant? | |
void | setRecalculated (bool reCalculated) |
Set recalculated interpolant. | |
Protected Attributes | |
qint64 | m_interpolatedTime = -1 |
"Real time "of interpolated situation | |
bool | m_valid = true |
valid? | |
bool | m_recalculated = false |
recalculated interpolant | |
Interpolant interface.
Definition at line 14 of file interpolant.h.
|
pure virtual |
Perform the interpolation.
Implemented in swift::misc::simulation::CInterpolatorSpline::CInterpolant, and swift::misc::simulation::CInterpolatorLinear::CInterpolant.