Stellarium 0.15.0
List of all members | Public Attributes
StelProjector::StelProjectorParams Struct Reference

Contains all the param needed to initialize a StelProjector. More...

#include <StelProjector.hpp>

Public Attributes

Vector4< int > viewportXywh
 
float fov
 posX, posY, width, height More...
 
bool gravityLabels
 FOV in degrees. More...
 
float defaultAngleForGravityText
 the flag to use gravity labels or not More...
 
StelProjectorMaskType maskType
 a rotation angle to apply to gravity text (only if gravityLabels is set to false) More...
 
float zNear
 The current projector mask. More...
 
float zFar
 
Vec2f viewportCenter
 Near and far clipping planes. More...
 
Vec2f viewportCenterOffset
 Viewport center in screen pixel. More...
 
float viewportFovDiameter
 Viewport center's offset in fractions of screen width/height. More...
 
bool flipHorz
 diameter of the FOV disk in pixel More...
 
bool flipVert
 
float devicePixelsPerPixel
 Whether to flip in horizontal or vertical directions. More...
 

Detailed Description

Contains all the param needed to initialize a StelProjector.

Definition at line 94 of file StelProjector.hpp.

Member Data Documentation

float StelProjector::StelProjectorParams::defaultAngleForGravityText

the flag to use gravity labels or not

Definition at line 114 of file StelProjector.hpp.

float StelProjector::StelProjectorParams::devicePixelsPerPixel

Whether to flip in horizontal or vertical directions.

Definition at line 122 of file StelProjector.hpp.

bool StelProjector::StelProjectorParams::flipHorz

diameter of the FOV disk in pixel

Definition at line 121 of file StelProjector.hpp.

float StelProjector::StelProjectorParams::fov

posX, posY, width, height

Definition at line 112 of file StelProjector.hpp.

bool StelProjector::StelProjectorParams::gravityLabels

FOV in degrees.

Definition at line 113 of file StelProjector.hpp.

StelProjectorMaskType StelProjector::StelProjectorParams::maskType

a rotation angle to apply to gravity text (only if gravityLabels is set to false)

Definition at line 115 of file StelProjector.hpp.

Vec2f StelProjector::StelProjectorParams::viewportCenter

Near and far clipping planes.

Definition at line 117 of file StelProjector.hpp.

Vec2f StelProjector::StelProjectorParams::viewportCenterOffset

Viewport center in screen pixel.

Definition at line 118 of file StelProjector.hpp.

float StelProjector::StelProjectorParams::viewportFovDiameter

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.

Definition at line 120 of file StelProjector.hpp.

float StelProjector::StelProjectorParams::zNear

The current projector mask.

Definition at line 116 of file StelProjector.hpp.


The documentation for this struct was generated from the following file: