Isis 3 Programmer Reference
LightTimeCorrectionState.h
1#ifndef LightTimeCorrectionState_h
2#define LightTimeCorrectionState_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <QString>
11
12namespace Isis {
13
14 class Spice;
15
49 public:
50
52 LightTimeCorrectionState(int ikCode, Spice *spice);
53
54 // destructor
55 virtual ~LightTimeCorrectionState() { }
56
57 bool operator==(const LightTimeCorrectionState &state) const;
58
59 bool checkAberrationCorrection(int ikCode, Spice *spice);
60 void setAberrationCorrection(const QString &correction);
61 QString getAberrationCorrection() const;
63 bool isLightTimeCorrected() const;
64
65 bool checkObserverTargetSwap(int ikCode, Spice *spice);
66 bool isObserverTargetSwapped() const;
69
70 bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice);
74
75 private:
76 QString m_abcorr;
77 bool m_swapObserverTarget;
78 bool m_sc_to_surf_ltcorr;
79
80 void setDefaultState();
81 };
82} // Isis namespace
83#endif
Provides interface to user configurable Light Time correction feature.
void setCorrectLightTimeToSurface()
Sets state of light time from surface to center body for orrection.
bool checkObserverTargetSwap(int ikCode, Spice *spice)
Check status of target/observer swap specification.
void setSwapObserverTarget()
Turns on swapping of observer/target
bool checkSpkKernelsForAberrationCorrection()
Check for light time/stellar aberration tag in SPK comments.
bool isLightTimeToSurfaceCorrected() const
Returns state of light time from surface to center body correction.
bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice)
Determines state of surface to s/c light time correction.
void setDefaultState()
Set default conditions for light time correction state.
bool checkAberrationCorrection(int ikCode, Spice *spice)
Apply instrument (team) specific light time/stellar aborration option.
QString getAberrationCorrection() const
Returns the value of the current stellar aberration state.
void setAberrationCorrection(const QString &correction)
Sets the aberration correction directly.
bool isLightTimeCorrected() const
Is light time to target corrected?
void setNoCorrectLightTimeToSurface()
Disables state of light time from surface to center body for correction.
LightTimeCorrectionState()
Default constructor sets default state of light time corrections.
void setNoSwapObserverTarget()
Turns off swapping of observer/target (default)
bool isObserverTargetSwapped() const
Returns state swap observer/target
bool operator==(const LightTimeCorrectionState &state) const
Compare two instances of the LightTimeCorrectionState objects.
Obtain SPICE information for a spacecraft.
Definition Spice.h:283
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16