Stellarium 0.12.3
List of all members | Public Member Functions
gSatWrapper Class Reference

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 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...
 

Detailed Description

Wrapper allowing compatibility between gsat and Stellarium/Qt.

Definition at line 46 of file gSatWrapper.hpp.

Member Function Documentation

Vec3d gSatWrapper::getAltAz ( )

This operation compute the coordinates in StelCore::FrameAltAz.

Returns
Vect3d Vector with coordinates (meassured in km)
References
Orbital Coordinate Systems, Part II Dr. T.S. Kelso http://www.celestrak.com/columns/v02n02/
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.

Parameters
&ao_slantRangeReference to a output variable where the method store the slant range measured in Km
&ao_slantRangeRateReference to a output variable where the method store the slant range variation in Km/s
Returns
void
Vec3d gSatWrapper::getSubPoint ( )

This operation isolate getSubPoint method of gSatTEME object.

Returns
Vec3d Geographical coordinates
Latitude: Coord[0] measured in degrees
Longitude: Coord[1] measured in degrees
Altitude: Coord[2] measured in Km.
Vec3d gSatWrapper::getTEMEPos ( )

This operation isolate gSatTEME getPos operation.

Returns
Vec3d with TEME position. Units measured in Km.
Vec3d gSatWrapper::getTEMEVel ( )

This operation isolate gSatTEME getVel operation.

Returns
Vec3d with TEME speed. Units measured in Km/s.
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

Returns
1 if RADAR_SUN 2 if VISIBLE 3 if RADAR_NIGHt 3 if NOT_VISIBLE
References
Fundamentals of Astrodynamis and Applications (Third Edition) pg 898 David A. Vallado
void gSatWrapper::updateEpoch ( )

This operation update Epoch timestamp for gSatTEME object from Stellarium Julian Date.


The documentation for this class was generated from the following file: