Stellarium 0.13.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 defautAngleForGravityText
 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...
 
float viewportFovDiameter
 Viewport center in screen pixel. 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.

Member Data Documentation

float StelProjector::StelProjectorParams::defautAngleForGravityText

the flag to use gravity labels or not

float StelProjector::StelProjectorParams::devicePixelsPerPixel

Whether to flip in horizontal or vertical directions.

bool StelProjector::StelProjectorParams::flipHorz

diameter of the FOV disk in pixel

float StelProjector::StelProjectorParams::fov

posX, posY, width, height

bool StelProjector::StelProjectorParams::gravityLabels

FOV in degrees.

StelProjectorMaskType StelProjector::StelProjectorParams::maskType

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

Vec2f StelProjector::StelProjectorParams::viewportCenter

Near and far clipping planes.

float StelProjector::StelProjectorParams::viewportFovDiameter

Viewport center in screen pixel.

float StelProjector::StelProjectorParams::zNear

The current projector mask.