CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Attributes | List of all members
CartoTypeCore::CameraParam Class Reference

#include <cartotype_transform.h>

Public Attributes

Point3FP Position
 
double AzimuthDegrees = 0
 
double DeclinationDegrees = 30
 
double RotationDegrees = 0
 
double FieldOfViewDegrees = 22.5
 
RectFP Display = { 0,0,1,1 }
 
bool YAxisUp = false
 

Detailed Description

Parameters defining a camera position relative to a flat plane representing the earth's surface projected on to a map.

Member Data Documentation

◆ AzimuthDegrees

double CartoTypeCore::CameraParam::AzimuthDegrees = 0

The azimuth of the camera in degrees going clockwise, where 0 is N, 90 is E, etc.

◆ DeclinationDegrees

double CartoTypeCore::CameraParam::DeclinationDegrees = 30

The declination of the camera downward from the horizontal plane.

◆ Display

RectFP CartoTypeCore::CameraParam::Display = { 0,0,1,1 }

The display rectangle on to which the camera view is projected. The view width is scaled to that of the display, and the aspect ratio of the camera view is preserved.

◆ FieldOfViewDegrees

double CartoTypeCore::CameraParam::FieldOfViewDegrees = 22.5

The camera's field of view in degrees.

◆ Position

Point3FP CartoTypeCore::CameraParam::Position

The position of the camera. The z coordinate represents height above the surface.

◆ RotationDegrees

double CartoTypeCore::CameraParam::RotationDegrees = 0

The amount by which the camera is rotated about its axis, after applying the declination, in degrees going clockwise.

◆ YAxisUp

bool CartoTypeCore::CameraParam::YAxisUp = false

True if y values increase upwards in the display coordinate system.


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