Stellarium
0.22.2
|
#include <StelProjector.hpp>
Data Fields | |
Vector4< int > | viewportXywh |
float | fov |
posX, posY, width, height | |
bool | gravityLabels |
FOV in degrees. | |
float | defaultAngleForGravityText |
the flag to use gravity labels or not | |
StelProjectorMaskType | maskType |
a rotation angle to apply to gravity text (only if gravityLabels is set to false) | |
double | zNear |
The current projector mask. | |
double | zFar |
Vector2< qreal > | viewportCenter |
Near and far clipping planes. | |
Vector2< qreal > | viewportCenterOffset |
Viewport center in screen pixel. | |
qreal | viewportFovDiameter |
Viewport center's offset in fractions of screen width/height. More... | |
bool | flipHorz |
diameter of the FOV disk in pixel | |
bool | flipVert |
qreal | devicePixelsPerPixel |
Whether to flip in horizontal or vertical directions. | |
qreal | widthStretch |
The number of device pixel per "Device Independent Pixels" (value is usually 1, but 2 for mac retina screens) | |
Contains all the param needed to initialize a StelProjector
qreal StelProjector::StelProjectorParams::viewportFovDiameter |
Usable e.g. in cylindrical projection to move horizon down. Currently only Y shift is fully implemented, X shift likely not too meaningful.