Isis 3 Developer Reference
SpacecraftPosition.h
Go to the documentation of this file.
1 #ifndef SpacecraftPosition_h
2 #define SpacecraftPosition_h
3 
24 #include <string>
25 #include <vector>
26 #include "Distance.h"
28 #include "SpicePosition.h"
29 
30 namespace Isis {
31 
75  public:
76 
77  SpacecraftPosition(int targetCode, int observerCode,
79  const Distance &radius = Distance(0.0, Distance::Meters));
80 
81 
82  // destructor
83  virtual ~SpacecraftPosition() { }
84 
85  double getRadiusLightTime() const;
86  static double getDistanceLightTime(const Distance &distance);
87 
88  virtual void SetAberrationCorrection(const QString &correction);
89  virtual QString GetAberrationCorrection() const;
90 
91  virtual void SetEphemerisTimeSpice();
92 
94 
95  private:
96  LightTimeCorrectionState m_abcorr;
97  Distance m_radius;
98  };
99 
100 
101 } // Isis namespace
102 #endif
Provides swap observer/target and improved light time correction.
Definition: SpacecraftPosition.h:74
static double getDistanceLightTime(const Distance &distance)
Returns the time it takes for light to travel a given distance.
Definition: SpacecraftPosition.cpp:102
virtual QString GetAberrationCorrection() const
Returns the stellr aberration correction applied.
Definition: SpacecraftPosition.cpp:125
Provides interface to user configurable Light Time correction feature.
Definition: LightTimeCorrectionState.h:62
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Distance measurement, usually in meters.
Definition: Distance.h:47
SpacecraftPosition(int targetCode, int observerCode, const LightTimeCorrectionState &ltState=LightTimeCorrectionState(), const Distance &radius=Distance(0.0, Distance::Meters))
constructor for swapping observer/target parameters
Definition: SpacecraftPosition.cpp:63
virtual void SetEphemerisTimeSpice()
Determine accurate position of target w.r.t.
Definition: SpacecraftPosition.cpp:146
const LightTimeCorrectionState & getLightTimeState() const
Return the state of light time correction parameters.
Definition: SpacecraftPosition.cpp:212
Obtain SPICE position information for a body.
Definition: SpicePosition.h:183
virtual void SetAberrationCorrection(const QString &correction)
Set aberration correction value for determining positions.
Definition: SpacecraftPosition.cpp:114
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
The distance is being specified in meters.
Definition: Distance.h:56
virtual ~SpacecraftPosition()
Definition: SpacecraftPosition.h:83
double getRadiusLightTime() const
Returns the time it takes for light to travel the radius of the target.
Definition: SpacecraftPosition.cpp:88