Isis 3 Developer Reference
LightTimeCorrectionState.h
Go to the documentation of this file.
1 #ifndef LightTimeCorrectionState_h
2 #define LightTimeCorrectionState_h
3 
24 #include <QString>
25 
26 namespace Isis {
27 
28  class Spice;
29 
63  public:
64 
66  LightTimeCorrectionState(int ikCode, Spice *spice);
67 
68  // destructor
70 
71  bool operator==(const LightTimeCorrectionState &state) const;
72 
73  bool checkAberrationCorrection(int ikCode, Spice *spice);
74  void setAberrationCorrection(const QString &correction);
75  QString getAberrationCorrection() const;
77  bool isLightTimeCorrected() const;
78 
79  bool checkObserverTargetSwap(int ikCode, Spice *spice);
80  bool isObserverTargetSwapped() const;
81  void setSwapObserverTarget();
83 
84  bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice);
85  bool isLightTimeToSurfaceCorrected() const;
88 
89  private:
90  QString m_abcorr;
91  bool m_swapObserverTarget;
92  bool m_sc_to_surf_ltcorr;
93 
94  void setDefaultState();
95  };
96 } // Isis namespace
97 #endif
bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice)
Determines state of surface to s/c light time correction.
Definition: LightTimeCorrectionState.cpp:321
LightTimeCorrectionState()
Default constructor sets default state of light time corrections.
Definition: LightTimeCorrectionState.cpp:57
virtual ~LightTimeCorrectionState()
Definition: LightTimeCorrectionState.h:69
void setAberrationCorrection(const QString &correction)
Sets the aberration correction directly.
Definition: LightTimeCorrectionState.cpp:149
Provides interface to user configurable Light Time correction feature.
Definition: LightTimeCorrectionState.h:62
bool checkAberrationCorrection(int ikCode, Spice *spice)
Apply instrument (team) specific light time/stellar aborration option.
Definition: LightTimeCorrectionState.cpp:122
bool isObserverTargetSwapped() const
Returns state swap observer/target.
Definition: LightTimeCorrectionState.cpp:287
QString getAberrationCorrection() const
Returns the value of the current stellar aberration state.
Definition: LightTimeCorrectionState.cpp:162
void setNoSwapObserverTarget()
Turns off swapping of observer/target (default)
Definition: LightTimeCorrectionState.cpp:297
bool checkObserverTargetSwap(int ikCode, Spice *spice)
Check status of target/observer swap specification.
Definition: LightTimeCorrectionState.cpp:269
bool isLightTimeToSurfaceCorrected() const
Returns state of light time from surface to center body correction.
Definition: LightTimeCorrectionState.cpp:338
void setNoCorrectLightTimeToSurface()
Disables state of light time from surface to center body for correction.
Definition: LightTimeCorrectionState.cpp:349
bool operator==(const LightTimeCorrectionState &state) const
Compare two instances of the LightTimeCorrectionState objects.
Definition: LightTimeCorrectionState.cpp:93
void setCorrectLightTimeToSurface()
Sets state of light time from surface to center body for orrection.
Definition: LightTimeCorrectionState.cpp:343
bool checkSpkKernelsForAberrationCorrection()
Check for light time/stellar aberration tag in SPK comments.
Definition: LightTimeCorrectionState.cpp:188
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool isLightTimeCorrected() const
Is light time to target corrected?
Definition: LightTimeCorrectionState.cpp:245
Obtain SPICE information for a spacecraft.
Definition: Spice.h:294
void setSwapObserverTarget()
Turns on swapping of observer/target.
Definition: LightTimeCorrectionState.cpp:292