gSatWrapper.hpp   gSatWrapper.hpp 
skipping to change at line 45 skipping to change at line 45
#include "gsatellite/gSatTEME.hpp" #include "gsatellite/gSatTEME.hpp"
#include "gsatellite/gTime.hpp" #include "gsatellite/gTime.hpp"
//constants for predict visibility //constants for predict visibility
#define RADAR_SUN 1 #define RADAR_SUN 1
#define VISIBLE 2 #define VISIBLE 2
#define RADAR_NIGHT 3 #define RADAR_NIGHT 3
#define NOT_VISIBLE 4 #define NOT_VISIBLE 4
//! Wrapper allowing compatibility between gsat and Stellarium/Qt.
class gSatWrapper class gSatWrapper
{ {
public: public:
gSatWrapper(QString designation, QString tle1,QString tle2); gSatWrapper(QString designation, QString tle1,QString tle2);
~gSatWrapper(); ~gSatWrapper();
// Operation updateEpoch // Operation updateEpoch
//! @brief This operation update Epoch timestamp for gSatTEME object //! @brief This operation update Epoch timestamp for gSatTEME object
//! from Stellarium Julian Date. //! from Stellarium Julian Date.
//! @return void
void updateEpoch(); void updateEpoch();
void setEpoch(double ai_julianDaysEpoch); void setEpoch(double ai_julianDaysEpoch);
// Operation getTEMEPos // Operation getTEMEPos
//! @brief This operation isolate gSatTEME getPos operation. //! @brief This operation isolate gSatTEME getPos operation.
//! @return Vec3d with TEME position. Units measured in Km. //! @return Vec3d with TEME position. Units measured in Km.
Vec3d getTEMEPos(); Vec3d getTEMEPos();
// Operation getTEMEVel // Operation getTEMEVel
skipping to change at line 78 skipping to change at line 78
Vec3d getTEMEVel(); Vec3d getTEMEVel();
// Operation: getSubPoint // Operation: getSubPoint
//! @brief This operation isolate getSubPoint method of gSatTEME obj ect. //! @brief This operation isolate getSubPoint method of gSatTEME obj ect.
//! @return Vec3d Geographical coordinates\n //! @return Vec3d Geographical coordinates\n
//! Latitude: Coord[0] measured in degrees\n //! Latitude: Coord[0] measured in degrees\n
//! Longitude: Coord[1] measured in degrees\n //! Longitude: Coord[1] measured in degrees\n
//! Altitude: Coord[2] measured in Km.\n //! Altitude: Coord[2] measured in Km.\n
Vec3d getSubPoint(); Vec3d getSubPoint();
// Operation getAltAz // Operation getAltAz
//! @brief This operation compute the coordinates in StelCore::Frame AltAz //! @brief This operation compute the coordinates in StelCore::Frame AltAz
//! @return Vect3d Vector with coordinates (Meassured in Km) //! @return Vect3d Vector with coordinates (meassured in km)
//! @ref //! @par References
//! Orbital Coordinate Systems, Part II //! Orbital Coordinate Systems, Part II
//! Dr. T.S. Kelso //! Dr. T.S. Kelso
//! http://www.celestrak.com/columns/v02n02/ //! http://www.celestrak.com/columns/v02n02/
Vec3d getAltAz(); Vec3d getAltAz();
// Operation getSlantRange // Operation getSlantRange
//! @brief This operation compute the slant range (distance between the //! @brief This operation compute the slant range (distance between the
//! satellite and the observer) and its variation/seg //! satellite and the observer) and its variation/seg
//! @param &ao_slantRange Reference to a output variable where the method store the slant range measured in Km //! @param &ao_slantRange Reference to a output variable where the method store the slant range measured in Km
//! @param &ao_slantRangeRate Reference to a output variable where the method store the slant range variation in Km/s //! @param &ao_slantRangeRate Reference to a output variable where the method store the slant range variation in Km/s
skipping to change at line 107 skipping to change at line 107
//! This prediction can return 4 different states //! This prediction can return 4 different states
//! RADAR_SUN when satellite an observer are in the sunlit //! 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. //! 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. //! RADAR_NIGHT when satellite is eclipsed by the earth shadow.
//! NOT_VISIBLE The satellite is under the observer horizon //! NOT_VISIBLE The satellite is under the observer horizon
//! @return //! @return
//! 1 if RADAR_SUN //! 1 if RADAR_SUN
//! 2 if VISIBLE //! 2 if VISIBLE
//! 3 if RADAR_NIGHt //! 3 if RADAR_NIGHt
//! 3 if NOT_VISIBLE //! 3 if NOT_VISIBLE
//! @ref //! @par References
//! Fundamentals of Astrodynamis and Applications (Third Edition) pg 898 //! Fundamentals of Astrodynamis and Applications (Third Edition) pg 898
//! David A. Vallado //! David A. Vallado
int getVisibilityPredict(); int getVisibilityPredict();
private: private:
// Operation calcObserverECIPosition // Operation calcObserverECIPosition
//! @brief This operation compute the observer ECI coordinates in G eocentric //! @brief This operation compute the observer ECI coordinates in G eocentric
//! Ecuatorial Coordinate System (IJK) for the ai_epoch time. //! Ecuatorial Coordinate System (IJK) for the ai_epoch time.
//! This position can be asumed as observer position in TEME framew ork without an appreciable error. //! This position can be asumed as observer position in TEME framew ork without an appreciable error.
//! ECI axis (IJK) are parallel to StelCore::EquinoxEQ Framework bu t centered in the earth centre //! ECI axis (IJK) are parallel to StelCore::EquinoxEQ Framework bu t centered in the earth centre
//! instead the observer position. //! instead the observer position.
//! @details //! @par References
//! References:
//! Orbital Coordinate Systems, Part II //! Orbital Coordinate Systems, Part II
//! Dr. T.S. Kelso //! Dr. T.S. Kelso
//! http://www.celestrak.com/columns/v02n02/ //! http://www.celestrak.com/columns/v02n02/
//! @param[out] ao_position Observer ECI position vector measured i n Km //! @param[out] ao_position Observer ECI position vector measured i n Km
//! @param[out] ao_vel Observer ECI velocity vector measured in Km/ s //! @param[out] ao_vel Observer ECI velocity vector measured in Km/ s
void calcObserverECIPosition(Vec3d& ao_position, Vec3d& ao_vel); void calcObserverECIPosition(Vec3d& ao_position, Vec3d& ao_vel);
private: private:
gSatTEME *pSatellite; gSatTEME *pSatellite;
gTime epoch; gTime epoch;
 End of changes. 6 change blocks. 
7 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/