A structure which stores a specific view position, view direction and FOV, together with a textual description.
#include <SceneInfo.hpp>
|
QString | label |
| A descriptive label.
|
|
QString | description |
| A description of the view.
|
|
Vec4d | position |
| Stored grid position + current eye height in 4th component.
|
|
Vec3f | view_fov |
| Alt/Az angles in degrees + field of view.
|
|
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).
|
|
double | jd |
| Julian Date of interest.
|
|
bool | jdIsRelevant |
| Indicate if stored date is potentially relevant.
|
|
|
static QSettings * | userviews |
|
static const QString | USERVIEWS_FILE |
|
◆ getGlobalViewsForScene()
static StoredViewList StoredView::getGlobalViewsForScene |
( |
const SceneInfo & |
scene | ) |
|
|
static |
If the scene is invalid, an empty list is returned.
◆ getUserViewsForScene()
static StoredViewList StoredView::getUserViewsForScene |
( |
const SceneInfo & |
scene | ) |
|
|
static |
If the scene is invalid, an empty list is returned.
◆ saveUserViews()
static void StoredView::saveUserViews |
( |
const SceneInfo & |
scene, |
|
|
const StoredViewList & |
list |
|
) |
| |
|
static |