![]() |
Stellarium
0.16.1
|
Wrapper allowing compatibility between gsat and Stellarium/Qt. More...
#include <gSatWrapper.hpp>
Public Types | |
enum | Visibility { UNKNOWN =0, RADAR_SUN =1, VISIBLE =2, RADAR_NIGHT =3, NOT_VISIBLE =4 } |
Public Member Functions | |
gSatWrapper (QString designation, QString tle1, QString tle2) | |
void | setEpoch (double ai_julianDaysEpoch) |
This operation update Epoch timestamp for gSatTEME object from Stellarium Julian Date. More... | |
Vec3d | getTEMEPos () const |
This operation isolate gSatTEME getPos operation. More... | |
Vec3d | getTEMEVel () const |
This operation isolate gSatTEME getVel operation. More... | |
Vec3d | getSubPoint () const |
This operation isolate getSubPoint method of gSatTEME object. More... | |
Vec3d | getAltAz () const |
This operation compute the coordinates in StelCore::FrameAltAz. More... | |
void | getSlantRange (double &ao_slantRange, double &ao_slantRangeRate) const |
This operation compute the slant range (distance between the satellite and the observer) and its variation/seg. More... | |
Visibility | getVisibilityPredict () |
This operation predicts the satellite visibility contidions. More... | |
double | getPhaseAngle () const |
gTime | getEpoch () const |
Static Public Member Functions | |
static Vec3d | getSunECIPos () |
Get Sun positions in ECI system. More... | |
static void | calcObserverECIPosition (Vec3d &ao_position, Vec3d &ao_vel) |
This operation computes the observer ECI coordinates in Geocentric Equatorial Coordinate System (IJK) for the ai_epoch time. More... | |
Wrapper allowing compatibility between gsat and Stellarium/Qt.
Definition at line 41 of file gSatWrapper.hpp.
This operation computes the observer ECI coordinates in Geocentric Equatorial Coordinate System (IJK) for the ai_epoch time.
This position can be asumed as observer position in TEME framework without an appreciable error. ECI axis (IJK) are parallel to StelCore::EquinoxEQ Framework but centered in the earth centre instead the observer position.
[out] | ao_position | Observer ECI position vector measured in Km |
[out] | ao_vel | Observer ECI velocity vector measured in Km/s |
Vec3d gSatWrapper::getAltAz | ( | ) | const |
This operation compute the coordinates in StelCore::FrameAltAz.
void gSatWrapper::getSlantRange | ( | double & | ao_slantRange, |
double & | ao_slantRangeRate | ||
) | const |
This operation compute the slant range (distance between the satellite and the observer) and its variation/seg.
&ao_slantRange | Reference to a output variable where the method store the slant range measured in Km |
&ao_slantRangeRate | Reference to a output variable where the method store the slant range variation in Km/s |
Vec3d gSatWrapper::getSubPoint | ( | ) | const |
This operation isolate getSubPoint method of gSatTEME object.
|
static |
Get Sun positions in ECI system.
Vec3d gSatWrapper::getTEMEPos | ( | ) | const |
This operation isolate gSatTEME getPos operation.
Vec3d gSatWrapper::getTEMEVel | ( | ) | const |
This operation isolate gSatTEME getVel operation.
Visibility gSatWrapper::getVisibilityPredict | ( | ) |
This operation predicts the satellite visibility contidions.
This prediction can return 4 different states RADAR_SUN when satellite and observer are in the sunlight VISIBLE when satellite is in sunlight and observer is in the dark. Satellite could be visible in the sky. RADAR_NIGHT when satellite is eclipsed by the earth shadow. NOT_VISIBLE The satellite is under the observer horizon
void gSatWrapper::setEpoch | ( | double | ai_julianDaysEpoch | ) |
This operation update Epoch timestamp for gSatTEME object from Stellarium Julian Date.