Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classLandscapeMgr.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:27:37 2014 Кодировка: Поисковые слова: п п п п п п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п |
Stellarium 0.12.3
|
Manages all the rendering at the level of the observer's surroundings. More...
#include <LandscapeMgr.hpp>
Public Slots | |
QStringList | getAllLandscapeNames () const |
Retrieve a list of the names of all the available landscapes in the file search path sub-directories of the landscape area. More... | |
QStringList | getAllLandscapeIDs () const |
Retrieve a list of the identifiers of all the available landscapes in the file search path sub-directories of the landscape area. More... | |
QStringList | getUserLandscapeIDs () const |
Retrieve a list of the identifiers of all user-installed landscapes. More... | |
const QString & | getCurrentLandscapeID () const |
Get the current landscape ID. More... | |
bool | setCurrentLandscapeID (const QString &id) |
Change the current landscape to the landscape with the ID specified. More... | |
QString | getCurrentLandscapeName () const |
Get the current landscape name. More... | |
bool | setCurrentLandscapeName (const QString &name) |
Change the current landscape to the landscape with the name specified. More... | |
const QString & | getDefaultLandscapeID () const |
Get the default landscape ID. More... | |
bool | setDefaultLandscapeID (const QString &id) |
Change the default landscape to the landscape with the ID specified. More... | |
QString | getCurrentLandscapeHtmlDescription () const |
Return a pseudo HTML formated string with all informations on the current landscape. More... | |
QString | getDescription () const |
Return a pseudo HTML formated string with information from description or ini file. More... | |
bool | getFlagLandscape () const |
Get flag for displaying Landscape. More... | |
void | setFlagLandscape (const bool displayed) |
Set flag for displaying Landscape. More... | |
bool | getFlagFog () const |
Get flag for displaying Fog. More... | |
void | setFlagFog (const bool displayed) |
Set flag for displaying Fog. More... | |
bool | getFlagLandscapeSetsLocation () const |
Return the value of the flag determining if a change of landscape will update the observer location. More... | |
void | setFlagLandscapeSetsLocation (bool b) |
Set the value of the flag determining if a change of landscape will update the observer location. More... | |
bool | getFlagCardinalsPoints () const |
Get flag for displaying Cardinals Points. More... | |
void | setFlagCardinalsPoints (const bool displayed) |
Set flag for displaying Cardinals Points. More... | |
Vec3f | getColorCardinalPoints () const |
Get Cardinals Points color. More... | |
void | setColorCardinalPoints (const Vec3f &v) |
Set Cardinals Points color. More... | |
bool | getFlagAtmosphere () const |
Get flag for displaying Atmosphere. More... | |
void | setFlagAtmosphere (const bool displayed) |
Set flag for displaying Atmosphere. More... | |
float | getAtmosphereFadeDuration () const |
Get atmosphere fade duration in s. More... | |
void | setAtmosphereFadeDuration (float f) |
Set atmosphere fade duration in s. More... | |
void | setAtmosphereBortleLightPollution (int bIndex) |
Set the light pollution following the Bortle Scale. More... | |
int | getAtmosphereBortleLightPollution () |
Get the light pollution following the Bortle Scale. More... | |
void | setZRotation (float d) |
Set the rotation of the landscape about the z-axis. More... | |
QString | installLandscapeFromArchive (QString pathToSourceArchive, bool display=false, bool forAllUsers=false) |
Install a landscape from a ZIP archive. More... | |
bool | removeLandscape (QString landscapeID) |
This function removes a landscape from the user data directory. More... | |
QString | loadLandscapeName (QString landscapeID) |
This function reads a landscape's name from its configuration file. More... | |
quint64 | loadLandscapeSize (QString landscapeID) |
This function calculates and returns a landscape's disc size in bytes. More... | |
Signals | |
void | atmosphereDisplayedChanged (const bool displayed) |
void | cardinalsPointsDisplayedChanged (const bool displayed) |
void | fogDisplayedChanged (const bool displayed) |
void | landscapeDisplayedChanged (const bool displayed) |
void | landscapesChanged () |
Emitted when a landscape has been installed or un-installed. More... | |
void | errorUnableToOpen (QString path) |
Emitted when installLandscapeFromArchive() can't read from, write to or create a file or a directory. More... | |
void | errorNotArchive () |
Emitted when the file passed to installLandscapeFromArchive() is not a ZIP archive or does not contain a valid landscape. More... | |
void | errorNotUnique (QString nameOrID) |
Emitted when installLandscapeFromArchive() tries to install a landscape with the same name or identifier as an already installed one. More... | |
void | errorRemoveManually (QString path) |
Emitted when removeLandscape() is unable to remove all the files of a landscape. More... | |
Public Member Functions | |
virtual void |