USGS

Isis 3.0 Object Programmers' Reference

Home

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