Isis Developer Reference
LightTimeCorrectionState.h
Go to the documentation of this file.
1 #ifndef LightTimeCorrectionState_h
2 #define LightTimeCorrectionState_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <QString>
11 
12 namespace Isis {
13 
14  class Spice;
15 
49  public:
50 
52  LightTimeCorrectionState(int ikCode, Spice *spice);
53 
54  // destructor
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;
67  void setSwapObserverTarget();
69 
70  bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice);
71  bool isLightTimeToSurfaceCorrected() const;
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
Isis::Kernels
Determine SPICE kernels defined in an ISIS file.
Definition: Kernels.h:94
Isis::LightTimeCorrectionState::isLightTimeCorrected
bool isLightTimeCorrected() const
Is light time to target corrected?
Definition: LightTimeCorrectionState.cpp:230
Isis::Spice::getString
QString getString(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1261
Isis::LightTimeCorrectionState::checkSpkKernelsForAberrationCorrection
bool checkSpkKernelsForAberrationCorrection()
Check for light time/stellar aberration tag in SPK comments.
Definition: LightTimeCorrectionState.cpp:173
PvlGroup.h
Isis::LightTimeCorrectionState::setSwapObserverTarget
void setSwapObserverTarget()
Turns on swapping of observer/target
Definition: LightTimeCorrectionState.cpp:277
Spice.h
Isis::Kernels::Discover
int Discover()
Determine which NAIF kernels are currently loaded in the pool.
Definition: Kernels.cpp:235
NaifStatus.h
Isis::Kernels::getKernelList
QStringList getKernelList(const QString &ktype="") const
Provide a list of all the kernels found.
Definition: Kernels.cpp:672
Isis::NaifStatus::CheckErrors
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Definition: NaifStatus.cpp:28
QStringList
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
IString.h
LightTimeCorrectionState.h
Pvl.h
Isis::LightTimeCorrectionState::checkLightTimeToSurfaceCorrect
bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice)
Determines state of surface to s/c light time correction.
Definition: LightTimeCorrectionState.cpp:306
Isis::LightTimeCorrectionState::LightTimeCorrectionState
LightTimeCorrectionState()
Default constructor sets default state of light time corrections.
Definition: LightTimeCorrectionState.cpp:42
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::Spice
Obtain SPICE information for a spacecraft.
Definition: Spice.h:283
Isis::LightTimeCorrectionState::~LightTimeCorrectionState
virtual ~LightTimeCorrectionState()
Definition: LightTimeCorrectionState.h:55
Isis::LightTimeCorrectionState::setAberrationCorrection
void setAberrationCorrection(const QString &correction)
Sets the aberration correction directly.
Definition: LightTimeCorrectionState.cpp:134
IException.h
Isis::LightTimeCorrectionState::checkAberrationCorrection
bool checkAberrationCorrection(int ikCode, Spice *spice)
Apply instrument (team) specific light time/stellar aborration option.
Definition: LightTimeCorrectionState.cpp:107
Isis::LightTimeCorrectionState::isObserverTargetSwapped
bool isObserverTargetSwapped() const
Returns state swap observer/target
Definition: LightTimeCorrectionState.cpp:272
Isis::LightTimeCorrectionState::checkObserverTargetSwap
bool checkObserverTargetSwap(int ikCode, Spice *spice)
Check status of target/observer swap specification.
Definition: LightTimeCorrectionState.cpp:254
Isis::LightTimeCorrectionState::setNoSwapObserverTarget
void setNoSwapObserverTarget()
Turns off swapping of observer/target (default)
Definition: LightTimeCorrectionState.cpp:282
Isis::LightTimeCorrectionState::setNoCorrectLightTimeToSurface
void setNoCorrectLightTimeToSurface()
Disables state of light time from surface to center body for correction.
Definition: LightTimeCorrectionState.cpp:334
Isis::LightTimeCorrectionState::isLightTimeToSurfaceCorrected
bool isLightTimeToSurfaceCorrected() const
Returns state of light time from surface to center body correction.
Definition: LightTimeCorrectionState.cpp:323
Isis::LightTimeCorrectionState::operator==
bool operator==(const LightTimeCorrectionState &state) const
Compare two instances of the LightTimeCorrectionState objects.
Definition: LightTimeCorrectionState.cpp:78
Isis::LightTimeCorrectionState::setCorrectLightTimeToSurface
void setCorrectLightTimeToSurface()
Sets state of light time from surface to center body for orrection.
Definition: LightTimeCorrectionState.cpp:328
Kernels.h
Isis::LightTimeCorrectionState
Provides interface to user configurable Light Time correction feature.
Definition: LightTimeCorrectionState.h:48
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::LightTimeCorrectionState::getAberrationCorrection
QString getAberrationCorrection() const
Returns the value of the current stellar aberration state.
Definition: LightTimeCorrectionState.cpp:147