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 
60  public:
61 
63  LightTimeCorrectionState(int ikCode, Spice *spice);
64 
65  // destructor
66  virtual ~LightTimeCorrectionState() { }
67 
68  bool operator==(const LightTimeCorrectionState &state) const;
69 
70  bool checkAberrationCorrection(int ikCode, Spice *spice);
71  void setAberrationCorrection(const QString &correction);
72  QString getAberrationCorrection() const;
74  bool isLightTimeCorrected() const;
75 
76  bool checkObserverTargetSwap(int ikCode, Spice *spice);
77  bool isObserverTargetSwapped() const;
78  void setSwapObserverTarget();
80 
81  bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice);
82  bool isLightTimeToSurfaceCorrected() const;
85 
86  private:
87  QString m_abcorr;
88  bool m_swapObserverTarget;
89  bool m_sc_to_surf_ltcorr;
90 
91  void setDefaultState();
92  };
93 } // Isis namespace
94 #endif