Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classStelObserver.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:27:52 2014 Кодировка: Поисковые слова: meteoroid |
Stellarium 0.12.3
|
Should be renamed as PlanetBasedObserver and derive from a more generical StelObserver class. More...
#include <StelObserver.hpp>
Public Member Functions | |
StelObserver (const StelLocation &loc) | |
Create a new StelObserver instance which is at a fixed Location. More... | |
virtual void | update (double) |
Update StelObserver info if needed. Default implementation does nothing. 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 QSharedPointer < Planet > | getHomePlanet (void) const |
virtual const StelLocation & | getCurrentLocation () const |
Get the informations on the current location. More... | |
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... | |
Protected Attributes | |
StelLocation | currentLocation |
QSharedPointer< Planet > | planet |
Should be renamed as PlanetBasedObserver and derive from a more generical StelObserver class.
Definition at line 35 of file StelObserver.hpp.
StelObserver::StelObserver | ( | const StelLocation & | loc | ) |
Create a new StelObserver instance which is at a fixed Location.
Vec3d StelObserver::getCenterVsop87Pos | ( | void | ) | const |
Get the position of the home planet center in the heliocentric VSOP87 frame in AU.
|
inlinevirtual |
Get the informations on the current location.
Definition at line 57 of file StelObserver.hpp.
double StelObserver::getDistanceFromCenter | ( | void | ) | const |
Get the distance between observer and home planet center in AU.
|
inlinevirtual |
Get the next observer to use once the life of this one is over.
Reimplemented in SpaceShipObserver.
Definition at line 67 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 in SpaceShipObserver.
Definition at line 61 of file StelObserver.hpp.
|
inlinevirtual |
Get whether the location is a moving one.
Reimplemented in SpaceShipObserver.
Definition at line 64 of file StelObserver.hpp.
|
inlinevirtual |
Update StelObserver info if needed. Default implementation does nothing.
Reimplemented in SpaceShipObserver.
Definition at line 45 of file StelObserver.hpp.