Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/classSpaceShipObserver.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 07:38:37 2014
Кодировка:
Stellarium: SpaceShipObserver Class Reference
Stellarium 0.12.3
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.

Definition at line 76 of file StelObserver.hpp.

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.

Definition at line 87 of file StelObserver.hpp.

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.

Definition at line 85 of file StelObserver.hpp.

virtual bool SpaceShipObserver::isTraveling ( ) const
inlinevirtual

Get whether the location is a moving one.

Reimplemented from StelObserver.

Definition at line 86 of file StelObserver.hpp.

virtual void SpaceShipObserver::update ( double  deltaTime)
virtual

Update StelObserver info if needed. Default implementation does nothing.

Reimplemented from StelObserver.


The documentation for this class was generated from the following file: