swift
Public Member Functions | Protected Attributes | List of all members
swift::misc::simulation::IInterpolant Class Referenceabstract

Interpolant interface. More...

Inheritance diagram for swift::misc::simulation::IInterpolant:
[legend]

Public Member Functions

 IInterpolant ()=default
 Default ctor.
 
 IInterpolant (qint64 interpolatedTime)
 Constructor.
 
virtual std::tuple< geo::CCoordinateGeodetic, aviation::CAltitudeinterpolatePositionAndAltitude () const =0
 Perform the interpolation. More...
 
virtual aviation::COnGroundInfo interpolateGroundFactor () const =0
 Interpolate the ground information/factor.
 
virtual const IInterpolatorPbhpbh () 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
 

Detailed Description

Interpolant interface.

Definition at line 14 of file interpolant.h.

Member Function Documentation

◆ interpolatePositionAndAltitude()

virtual std::tuple<geo::CCoordinateGeodetic, aviation::CAltitude> swift::misc::simulation::IInterpolant::interpolatePositionAndAltitude ( ) const
pure virtual

Perform the interpolation.

Returns
interpolated position and altitude

Implemented in swift::misc::simulation::CInterpolatorSpline::CInterpolant, and swift::misc::simulation::CInterpolatorLinear::CInterpolant.


The documentation for this class was generated from the following file: