|
swift
|
Interpolant interface. More...
#include <interpolant.h>
Public Member Functions | |
| IInterpolant ()=default | |
| Default ctor. | |
| IInterpolant (qint64 interpolatedTime) | |
| Constructor. | |
| virtual std::tuple< geo::CCoordinateGeodetic, aviation::CAltitude > | interpolatePositionAndAltitude () const =0 |
| Perform the interpolation. | |
| 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.
|
inlineexplicit |
Constructor.
Definition at line 21 of file interpolant.h.
|
inline |
"Real time" representing the interpolated situation
Definition at line 36 of file interpolant.h.
|
pure virtual |
Interpolate the ground information/factor.
Implemented in swift::misc::simulation::CInterpolatorLinear::CInterpolant, and swift::misc::simulation::CInterpolatorSpline::CInterpolant.
|
pure virtual |
Perform the interpolation.
Implemented in swift::misc::simulation::CInterpolatorLinear::CInterpolant, and swift::misc::simulation::CInterpolatorSpline::CInterpolant.
|
inline |
Is recalculated interpolant?
Definition at line 45 of file interpolant.h.
|
inline |
Valid?
Definition at line 39 of file interpolant.h.
|
pure virtual |
Get the PBH interpolator.
Implemented in swift::misc::simulation::CInterpolatorLinear::CInterpolant, and swift::misc::simulation::CInterpolatorSpline::CInterpolant.
|
inline |
Set recalculated interpolant.
Definition at line 48 of file interpolant.h.
|
inline |
Valid?
Definition at line 42 of file interpolant.h.
|
protected |
"Real time "of interpolated situation
Definition at line 51 of file interpolant.h.
|
protected |
recalculated interpolant
Definition at line 53 of file interpolant.h.
|
protected |
valid?
Definition at line 52 of file interpolant.h.