|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef SpacecraftPosition_h
2 #define SpacecraftPosition_h
static double getDistanceLightTime(const Distance &distance)
Returns the time it takes for light to travel a given distance.
Definition: SpacecraftPosition.cpp:87
double kilometers() const
Get the distance in kilometers.
Definition: Distance.cpp:106
virtual QString GetAberrationCorrection() const
Returns the stellr aberration correction applied.
Definition: SpacecraftPosition.cpp:110
Obtain SPICE position information for a body.
Definition: SpicePosition.h:173
virtual void SetEphemerisTimeSpice()
This is a protected method that is called by SetEphemerisTime() when Source type is Spice.
Definition: SpicePosition.cpp:1432
bool isLightTimeCorrected() const
Is light time to target corrected?
Definition: LightTimeCorrectionState.cpp:230
void computeStateVector(double et, int target, int observer, const QString &refFrame, const QString &abcorr, double state[6], bool &hasVelocity, double &lightTime) const
Computes the state vector of the target w.r.t observer.
Definition: SpicePosition.cpp:1742
virtual void SetAberrationCorrection(const QString &correction)
Set the aberration correction (light time)
Definition: SpicePosition.cpp:186
double getAdjustedEphemerisTime() const
Returns adjusted ephemeris time.
Definition: SpicePosition.cpp:1705
int getTargetCode() const
Returns target code.
Definition: SpicePosition.cpp:1689
void setStateVector(const double state[6], const bool &hasVelocity)
Sets the state of target relative to observer.
Definition: SpicePosition.cpp:1794
Distance measurement, usually in meters.
Definition: Distance.h:34
int getObserverCode() const
Returns observer code.
Definition: SpicePosition.cpp:1675
SpacecraftPosition(int targetCode, int observerCode, const LightTimeCorrectionState <State=LightTimeCorrectionState(), const Distance &radius=Distance(0.0, Distance::Meters))
constructor for swapping observer/target parameters
Definition: SpacecraftPosition.cpp:48
@ Meters
The distance is being specified in meters.
Definition: Distance.h:43
void setLightTime(const double &lightTime)
Inheritors can set the light time if indicated.
Definition: SpicePosition.cpp:1824
void setAberrationCorrection(const QString &correction)
Sets the aberration correction directly.
Definition: LightTimeCorrectionState.cpp:134
Namespace for the standard library.
virtual void SetEphemerisTimeSpice()
Determine accurate position of target w.r.t.
Definition: SpacecraftPosition.cpp:131
const LightTimeCorrectionState & getLightTimeState() const
Return the state of light time correction parameters.
Definition: SpacecraftPosition.cpp:197
virtual ~SpacecraftPosition()
Definition: SpacecraftPosition.h:69
double getRadiusLightTime() const
Returns the time it takes for light to travel the radius of the target.
Definition: SpacecraftPosition.cpp:73
bool isLightTimeToSurfaceCorrected() const
Returns state of light time from surface to center body correction.
Definition: LightTimeCorrectionState.cpp:323
virtual void SetAberrationCorrection(const QString &correction)
Set aberration correction value for determining positions.
Definition: SpacecraftPosition.cpp:99
Provides swap observer/target and improved light time correction.
Definition: SpacecraftPosition.h:60
Provides interface to user configurable Light Time correction feature.
Definition: LightTimeCorrectionState.h:48
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QString getAberrationCorrection() const
Returns the value of the current stellar aberration state.
Definition: LightTimeCorrectionState.cpp:147