Isis 3 Programmer 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
69  virtual ~LightTimeCorrectionState() { }
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.
LightTimeCorrectionState()
Default constructor sets default state of light time corrections.
void setAberrationCorrection(const QString &correction)
Sets the aberration correction directly.
Provides interface to user configurable Light Time correction feature.
bool checkAberrationCorrection(int ikCode, Spice *spice)
Apply instrument (team) specific light time/stellar aborration option.
bool isObserverTargetSwapped() const
Returns state swap observer/target.
QString getAberrationCorrection() const
Returns the value of the current stellar aberration state.
void setNoSwapObserverTarget()
Turns off swapping of observer/target (default)
bool checkObserverTargetSwap(int ikCode, Spice *spice)
Check status of target/observer swap specification.
bool isLightTimeToSurfaceCorrected() const
Returns state of light time from surface to center body correction.
void setNoCorrectLightTimeToSurface()
Disables state of light time from surface to center body for correction.
bool operator==(const LightTimeCorrectionState &state) const
Compare two instances of the LightTimeCorrectionState objects.
void setCorrectLightTimeToSurface()
Sets state of light time from surface to center body for orrection.
void setDefaultState()
Set default conditions for light time correction state.
bool checkSpkKernelsForAberrationCorrection()
Check for light time/stellar aberration tag in SPK comments.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool isLightTimeCorrected() const
Is light time to target corrected?
Obtain SPICE information for a spacecraft.
Definition: Spice.h:294
void setSwapObserverTarget()
Turns on swapping of observer/target.