Isis Developer Reference
SpacecraftPosition.h
Go to the documentation of this file.
1#ifndef SpacecraftPosition_h
2#define SpacecraftPosition_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <string>
11#include <vector>
12#include "Distance.h"
14#include "SpicePosition.h"
15
16namespace Isis {
17
61 public:
62
63 SpacecraftPosition(int targetCode, int observerCode,
65 const Distance &radius = Distance(0.0, Distance::Meters));
66
67
68 // destructor
69 virtual ~SpacecraftPosition() { }
70
71 double getRadiusLightTime() const;
72 static double getDistanceLightTime(const Distance &distance);
73
74 virtual void SetAberrationCorrection(const QString &correction);
75 virtual QString GetAberrationCorrection() const;
76
77 virtual void SetEphemerisTimeSpice();
78
80
81 private:
83 Distance m_radius;
84 };
85
86
87} // Isis namespace
88#endif
Distance measurement, usually in meters.
Definition Distance.h:34
@ Meters
The distance is being specified in meters.
Definition Distance.h:43
Provides interface to user configurable Light Time correction feature.
Definition LightTimeCorrectionState.h:48
Provides swap observer/target and improved light time correction.
Definition SpacecraftPosition.h:60
const LightTimeCorrectionState & getLightTimeState() const
Return the state of light time correction parameters.
Definition SpacecraftPosition.cpp:197
virtual void SetAberrationCorrection(const QString &correction)
Set aberration correction value for determining positions.
Definition SpacecraftPosition.cpp:99
double getRadiusLightTime() const
Returns the time it takes for light to travel the radius of the target.
Definition SpacecraftPosition.cpp:73
virtual void SetEphemerisTimeSpice()
Determine accurate position of target w.r.t.
Definition SpacecraftPosition.cpp:131
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:48
virtual ~SpacecraftPosition()
Definition SpacecraftPosition.h:69
static double getDistanceLightTime(const Distance &distance)
Returns the time it takes for light to travel a given distance.
Definition SpacecraftPosition.cpp:87
virtual QString GetAberrationCorrection() const
Returns the stellr aberration correction applied.
Definition SpacecraftPosition.cpp:110
Obtain SPICE position information for a body.
Definition SpicePosition.h:176
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16