20 #ifndef _STELOBSERVER_HPP_
21 #define _STELOBSERVER_HPP_
24 #include "StelLocation.hpp"
25 #include "VecMath.hpp"
29 #include <QSharedPointer>
32 class ArtificialPlanet;
53 Mat4d getRotAltAzToEquatorial(
double jd)
const;
54 Mat4d getRotEquatorialToVsop87(
void)
const;
56 virtual const QSharedPointer<Planet> getHomePlanet(
void)
const;
73 QSharedPointer<Planet> planet;
85 virtual void update(
double deltaTime);
86 virtual const QSharedPointer<Planet> getHomePlanet()
const;
94 QSharedPointer<Planet> artificialPlanet;
96 double transitSeconds;
99 #endif // _STELOBSERVER_HPP_
virtual bool isObserverLifeOver() const
Get whether the life of this observer is over, and therefore that it should be changed to the next on...
virtual const StelLocation & getCurrentLocation() const
Get the informations on the current location.
Store the informations for a location on a planet.
virtual void update(double deltaTime)
Update StelObserver info if needed. Default implementation does nothing.
double getDistanceFromCenter(void) const
Get the distance between observer and home planet center in AU.
Vec3d getCenterVsop87Pos(void) const
Get the position of the home planet center in the heliocentric VSOP87 frame in AU.
virtual bool isObserverLifeOver() const
Get whether the life of this observer is over, and therefore that it should be changed to the next on...
StelObserver(const StelLocation &loc)
Create a new StelObserver instance which is at a fixed Location.
virtual bool isTraveling() const
Get whether the location is a moving one.
Should be renamed as PlanetBasedObserver and derive from a more generical StelObserver class...
An observer which moves from from one position to another one and/or from one planet to another one...
virtual StelObserver * getNextObserver() const
Get the next observer to use once the life of this one is over.
virtual bool isTraveling() const
Get whether the location is a moving one.
virtual void update(double)
Update StelObserver info if needed. Default implementation does nothing.
virtual StelObserver * getNextObserver() const
Get the next observer to use once the life of this one is over.
A templatized 3d vector compatible with openGL.