Stellarium 0.13.0
List of all members | Public Member Functions
SpaceShipObserver Class Reference

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)
 
virtual void 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 StelObservergetNextObserver () const
 Get the next observer to use once the life of this one is over. More...
 
- Public Member Functions inherited from StelObserver
 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...
 
Mat4d getRotAltAzToEquatorial (double jd) const
 
Mat4d getRotEquatorialToVsop87 (void) const
 
virtual const StelLocationgetCurrentLocation () const
 Get the informations on the current location. More...
 

Additional Inherited Members

- Protected Attributes inherited from StelObserver
StelLocation currentLocation
 
QSharedPointer< Planetplanet
 

Detailed Description

An observer which moves from from one position to another one and/or from one planet to another one.

Member Function Documentation

virtual StelObserver* SpaceShipObserver::getNextObserver ( ) const
inlinevirtual

Get the next observer to use once the life of this one is over.

Reimplemented from StelObserver.

virtual bool SpaceShipObserver::isObserverLifeOver ( ) const
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.

virtual bool SpaceShipObserver::isTraveling ( ) const
inlinevirtual

Get whether the location is a moving one.

Reimplemented from StelObserver.

virtual void SpaceShipObserver::update ( double  deltaTime)
virtual

Update StelObserver info if needed. Default implementation does nothing.

Reimplemented from StelObserver.