![]() |
Stellarium
0.16.1
|
An observer which moves from from one position to another one and/or from one planet to another one. More...
#include <StelObserver.hpp>
Public Member Functions | |
SpaceShipObserver (const StelLocation &startLoc, const StelLocation &target, double transitSeconds=1.f, double timeToGo=-1.0) | |
virtual bool | update (double deltaTime) |
Update StelObserver info if needed. Default implementation does nothing. More... | |
virtual const QSharedPointer< Planet > | getHomePlanet () const |
virtual bool | isObserverLifeOver () const |
Get whether the life of this observer is over, and therefore that it should be changed to the next one provided by the getNextObserver() method. More... | |
virtual bool | isTraveling () const |
Get whether the location is a moving one. More... | |
virtual StelObserver * | getNextObserver () const |
Get the next observer to use once the life of this one is over. More... | |
StelLocation | getTargetLocation () const |
Returns the target location. More... | |
double | getRemainingTime () const |
Returns the remaining movement time. More... | |
double | getTransitTime () const |
Returns the total movement time. More... | |
![]() | |
StelObserver (const StelLocation &loc) | |
Create a new StelObserver instance which is at a fixed Location. More... | |
Vec3d | getCenterVsop87Pos (void) const |
Get the position of the home planet center in the heliocentric VSOP87 frame in AU. More... | |
double | getDistanceFromCenter (void) const |
Get the distance between observer and home planet center in AU. More... | |
Vec3d | getTopographicOffsetFromCenter (void) const |
Get the geocentric rectangular coordinates of the observer in AU, plus geocentric latitude φ'. More... | |
Mat4d | getRotAltAzToEquatorial (double JD, double JDE) const |
returns rotation matrix for conversion of alt-azimuthal to equatorial coordinates For Earth we need JD(UT), for other planets JDE! To be general, just have both in here! More... | |
Mat4d | getRotEquatorialToVsop87 (void) const |
virtual const StelLocation & | getCurrentLocation () const |
Get the informations on the current location. More... | |
Additional Inherited Members | |
![]() | |
StelLocation | currentLocation |
QSharedPointer< Planet > | planet |
An observer which moves from from one position to another one and/or from one planet to another one.
Definition at line 87 of file StelObserver.hpp.
|
inlinevirtual |
Get the next observer to use once the life of this one is over.
Reimplemented from StelObserver.
Definition at line 99 of file StelObserver.hpp.
|
inline |
Returns the remaining movement time.
Definition at line 104 of file StelObserver.hpp.
|
inline |
Returns the target location.
Definition at line 102 of file StelObserver.hpp.
|
inline |
Returns the total movement time.
Definition at line 106 of file StelObserver.hpp.
|
inlinevirtual |
Get whether the life of this observer is over, and therefore that it should be changed to the next one provided by the getNextObserver() method.
Reimplemented from StelObserver.
Definition at line 97 of file StelObserver.hpp.
|
inlinevirtual |
Get whether the location is a moving one.
Reimplemented from StelObserver.
Definition at line 98 of file StelObserver.hpp.
|
virtual |
Update StelObserver info if needed. Default implementation does nothing.
Reimplemented from StelObserver.