![]() |
Stellarium 0.15.2
|
A structure which stores a specific view position, view direction and FOV, together with a textual description. More...
#include <SceneInfo.hpp>
Collaboration diagram for StoredView:Static Public Member Functions | |
| static StoredViewList | getGlobalViewsForScene (const SceneInfo &scene) |
| Returns a list of all global views of a scene. More... | |
| static StoredViewList | getUserViewsForScene (const SceneInfo &scene) |
| Returns a list of all user-generated views of a scene. More... | |
| static void | saveUserViews (const SceneInfo &scene, const StoredViewList &list) |
| Saves the given user views to userviews.ini, replacing all views existing for this scene The scene MUST be valid, will throw an assertion if not. More... | |
Public Attributes | |
| QString | label |
| A descriptive label. More... | |
| QString | description |
| A description of the view. More... | |
| Vec4d | position |
| Stored grid position + current eye height in 4th component. More... | |
| Vec3f | view_fov |
| Alt/Az angles in degrees + field of view. More... | |
| bool | isGlobal |
| True if this is a position stored next to the scene definition (viewpoints.ini). If false, this is a user-defined view (from userdir\stellarium\scenery3d\userviews.ini). More... | |
| double | jd |
| Julian Date of interest. More... | |
| bool | jdIsRelevant |
| Indicate if stored date is potentially relevant. More... | |
Static Public Attributes | |
| static QSettings * | userviews |
| static const QString | USERVIEWS_FILE |
A structure which stores a specific view position, view direction and FOV, together with a textual description.
Definition at line 152 of file SceneInfo.hpp.
|
static |
Returns a list of all global views of a scene.
If the scene is invalid, an empty list is returned.
|
static |
Returns a list of all user-generated views of a scene.
If the scene is invalid, an empty list is returned.
|
static |
Saves the given user views to userviews.ini, replacing all views existing for this scene The scene MUST be valid, will throw an assertion if not.
| QString StoredView::description |
A description of the view.
Definition at line 160 of file SceneInfo.hpp.
| bool StoredView::isGlobal |
True if this is a position stored next to the scene definition (viewpoints.ini). If false, this is a user-defined view (from userdir\stellarium\scenery3d\userviews.ini).
Definition at line 166 of file SceneInfo.hpp.
| double StoredView::jd |
Julian Date of interest.
Definition at line 168 of file SceneInfo.hpp.
| bool StoredView::jdIsRelevant |
Indicate if stored date is potentially relevant.
Definition at line 170 of file SceneInfo.hpp.
| QString StoredView::label |
A descriptive label.
Definition at line 158 of file SceneInfo.hpp.
| Vec4d StoredView::position |
Stored grid position + current eye height in 4th component.
Definition at line 162 of file SceneInfo.hpp.
| Vec3f StoredView::view_fov |
Alt/Az angles in degrees + field of view.
Definition at line 164 of file SceneInfo.hpp.
1.8.11