Stellarium 0.14.3
|
Wrapper allowing compatibility between gsat and Stellarium/Qt. More...
#include <gSatWrapper.hpp>
Public Member Functions | |
gSatWrapper (QString designation, QString tle1, QString tle2) | |
void | updateEpoch () |
This operation update Epoch timestamp for gSatTEME object from Stellarium Julian Date. More... | |
void | setEpoch (double ai_julianDaysEpoch) |
Vec3d | getTEMEPos () |
This operation isolate gSatTEME getPos operation. More... | |
Vec3d | getSunECIPos () |
Get Sun positions in ECI system. More... | |
Vec3d | getTEMEVel () |
This operation isolate gSatTEME getVel operation. More... | |
Vec3d | getSubPoint () |
This operation isolate getSubPoint method of gSatTEME object. More... | |
Vec3d | getAltAz () |
This operation compute the coordinates in StelCore::FrameAltAz. More... | |
void | getSlantRange (double &ao_slantRange, double &ao_slantRangeRate) |
This operation compute the slant range (distance between the satellite and the observer) and its variation/seg. More... | |
int | getVisibilityPredict () |
This operation predicts the satellite visibility contidions. More... | |
double | getPhaseAngle () |
gTime | getEpoch () |
void | calcObserverECIPosition (Vec3d &ao_position, Vec3d &ao_vel) |
This operation compute the observer ECI coordinates in Geocentric Ecuatorial Coordinate System (IJK) for the ai_epoch time. More... | |
Wrapper allowing compatibility between gsat and Stellarium/Qt.
Definition at line 47 of file gSatWrapper.hpp.
void gSatWrapper::calcObserverECIPosition | ( | Vec3d & | ao_position, |
Vec3d & | ao_vel | ||
) |
This operation compute the observer ECI coordinates in Geocentric Ecuatorial 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 | ( | ) |
This operation compute the coordinates in StelCore::FrameAltAz.
void gSatWrapper::getSlantRange | ( | double & | ao_slantRange, |
double & | ao_slantRangeRate | ||
) |
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 | ( | ) |
This operation isolate getSubPoint method of gSatTEME object.
Vec3d gSatWrapper::getSunECIPos | ( | ) |
Get Sun positions in ECI system.
Vec3d gSatWrapper::getTEMEPos | ( | ) |
This operation isolate gSatTEME getPos operation.
Vec3d gSatWrapper::getTEMEVel | ( | ) |
This operation isolate gSatTEME getVel operation.
int gSatWrapper::getVisibilityPredict | ( | ) |
This operation predicts the satellite visibility contidions.
This prediction can return 4 different states RADAR_SUN when satellite an observer are in the sunlit VISIBLE when satellite is in sunlit 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::updateEpoch | ( | ) |
This operation update Epoch timestamp for gSatTEME object from Stellarium Julian Date.