20 #ifndef _STELOBSERVER_HPP_ 21 #define _STELOBSERVER_HPP_ 24 #include "StelLocation.hpp" 25 #include "VecMath.hpp" 29 #include <QSharedPointer> 32 class ArtificialPlanet;
48 virtual bool update(
double) {
return false;}
58 Mat4d getRotEquatorialToVsop87(
void)
const;
60 virtual const QSharedPointer<Planet> getHomePlanet(
void)
const;
77 QSharedPointer<Planet> planet;
90 virtual bool update(
double deltaTime);
91 virtual const QSharedPointer<Planet> getHomePlanet()
const;
106 QSharedPointer<Planet> artificialPlanet;
108 double transitSeconds;
111 #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.
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.
StelLocation getTargetLocation() const
Returns the target location.
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 update(double)
Update StelObserver info if needed.
double getTransitTime() const
Returns the total movement time.
double getRemainingTime() const
Returns the remaining movement time.
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.
Mat4d getRotAltAzToEquatorial(double JD, double JDE) const
returns rotation matrix for conversion of alt-azimuthal to equatorial coordinates For Earth we need J...
virtual StelObserver * getNextObserver() const
Get the next observer to use once the life of this one is over.