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