Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classLandscape.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:21:37 2014 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п р п р п р п р п р п р п р п р п |
Stellarium 0.12.3
|
Store and manages the displaying of the Landscape. More...
#include <Landscape.hpp>
Classes | |
struct | landscapeTexCoord |
Public Member Functions | |
Landscape (float _radius=2.f) | |
virtual void | load (const QSettings &landscapeIni, const QString &landscapeId)=0 |
virtual void | draw (StelCore *core, class StelRenderer *renderer)=0 |
Draw the landscape. More... | |
void | update (double deltaTime) |
void | setBrightness (const float b) |
Set the brightness of the landscape. More... | |
void | setFlagShow (const bool b) |
Set whether landscape is displayed (does not concern fog) More... | |
bool | getFlagShow () const |
Get whether landscape is displayed (does not concern fog) More... | |
void | setFlagShowFog (const bool b) |
Set whether fog is displayed. More... | |
bool | getFlagShowFog () const |
Get whether fog is displayed. More... | |
QString | getName () const |
Get landscape name. More... | |
QString | getAuthorName () const |
Get landscape author name. More... | |
QString | getDescription () const |
Get landscape description. More... | |
const StelLocation & | getLocation () const |
Return the associated location or NULL. More... | |
int | getDefaultBortleIndex () const |
Return default Bortle index (light pollution value) or -1 (unknown/no change) More... | |
int | getDefaultFogSetting () const |
Return default fog setting (0/1) or -1 (no change) More... | |
float | getDefaultAtmosphericExtinction () const |
Return default atmosperic extinction, mag/airmass, or -1 (no change) More... | |
float | getDefaultAtmosphericTemperature () const |
Return default atmospheric temperature, for refraction computation, or -1000 for "unknown/no change". More... | |
float | getDefaultAtmosphericPressure () const |
Return default atmospheric temperature, for refraction computation. More... | |
void | setZRotation (float d) |
Set the z-axis rotation (offset from original value when rotated. More... | |
Protected Member Functions | |
void | loadCommon (const QSettings &landscapeIni, const QString &landscapeId) |
Load attributes common to all landscapes. More... | |
const QString | getTexturePath (const QString &basename, const QString &landscapeId) |
search for a texture in landscape directory, else global textures directory More... | |
Protected Attributes | |
const float | radius |
QString | name |
float | skyBrightness |
float | nightBrightness |
bool | validLandscape |
LinearFader | landFader |
LinearFader | fogFader |
QString | author |
QString | description |
int | rows |
int | cols |
int | defaultBortleIndex |
int | defaultFogSetting |
double | defaultExtinctionCoefficient |
double | defaultTemperature |
double | defaultPressure |
StelLocation | location |
float | angleRotateZ |
float | angleRotateZOffset |
Store and manages the displaying of the Landscape.
Don't use this class direcly, use the LandscapeMgr.
Definition at line 42 of file Landscape.hpp.
|
pure virtual |
Draw the landscape.
core | The StelCore object. |
renderer | The renderer to draw with. |
Implemented in LandscapeSpherical, LandscapeFisheye, and LandscapeOldStyle.
|
inline |
Get landscape author name.
Definition at line 75 of file Landscape.hpp.
|
inline |
Return default atmosperic extinction, mag/airmass, or -1 (no change)
Definition at line 86 of file Landscape.hpp.
|
inline |
Return default atmospheric temperature, for refraction computation.
returns -1 to signal "standard conditions", or -2 for "unknown/invalid/no change"
Definition at line 91 of file Landscape.hpp.
|
inline |
Return default atmospheric temperature, for refraction computation, or -1000 for "unknown/no change".
Definition at line 88 of file Landscape.hpp.
|
inline |
Return default Bortle index (light pollution value) or -1 (unknown/no change)
Definition at line 82 of file