Isis Developer Reference
LightTimeCorrectionState.h
Go to the documentation of this file.
1#ifndef LightTimeCorrectionState_h
2#define LightTimeCorrectionState_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <QString>
11
12namespace 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;
69
70 bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice);
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
Provides interface to user configurable Light Time correction feature.
Definition LightTimeCorrectionState.h:48
void setCorrectLightTimeToSurface()
Sets state of light time from surface to center body for orrection.
Definition LightTimeCorrectionState.cpp:328
bool checkObserverTargetSwap(int ikCode, Spice *spice)
Check status of target/observer swap specification.
Definition LightTimeCorrectionState.cpp:254
void setSwapObserverTarget()
Turns on swapping of observer/target
Definition LightTimeCorrectionState.cpp:277
bool checkSpkKernelsForAberrationCorrection()
Check for light time/stellar aberration tag in SPK comments.
Definition LightTimeCorrectionState.cpp:173
bool isLightTimeToSurfaceCorrected() const
Returns state of light time from surface to center body correction.
Definition LightTimeCorrectionState.cpp:323
bool checkLightTimeToSurfaceCorrect(int ikCode, Spice *spice)
Determines state of surface to s/c light time correction.
Definition LightTimeCorrectionState.cpp:306
bool checkAberrationCorrection(int ikCode, Spice *spice)
Apply instrument (team) specific light time/stellar aborration option.
Definition LightTimeCorrectionState.cpp:107
QString getAberrationCorrection() const
Returns the value of the current stellar aberration state.
Definition LightTimeCorrectionState.cpp:147
void setAberrationCorrection(const QString &correction)
Sets the aberration correction directly.
Definition LightTimeCorrectionState.cpp:134
virtual ~LightTimeCorrectionState()
Definition LightTimeCorrectionState.h:55
bool isLightTimeCorrected() const
Is light time to target corrected?
Definition LightTimeCorrectionState.cpp:230
void setNoCorrectLightTimeToSurface()
Disables state of light time from surface to center body for correction.
Definition LightTimeCorrectionState.cpp:334
LightTimeCorrectionState()
Default constructor sets default state of light time corrections.
Definition LightTimeCorrectionState.cpp:42
void setNoSwapObserverTarget()
Turns off swapping of observer/target (default)
Definition LightTimeCorrectionState.cpp:282
bool isObserverTargetSwapped() const
Returns state swap observer/target
Definition LightTimeCorrectionState.cpp:272
bool operator==(const LightTimeCorrectionState &state) const
Compare two instances of the LightTimeCorrectionState objects.
Definition LightTimeCorrectionState.cpp:78
Obtain SPICE information for a spacecraft.
Definition Spice.h:283
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16