LuciadCPillar 2023.1.04
|
Structure describing the position and orientation of the camera. More...
#include <luciad/cameras/Camera.h>
Public Member Functions | |
LookFrom (Coordinate eye, Azimuth yaw, double pitch, double roll) | |
Constructs the LookFrom. More... | |
Public Attributes | |
Coordinate | eye |
The location of the camera, expressed in the map reference. More... | |
double | pitch |
The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point. More... | |
double | roll |
The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point. More... | |
Azimuth | yaw = 0.0 |
The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point. More... | |
Structure describing the position and orientation of the camera.
|
inline |
Constructs the LookFrom.
eye | The location of the camera, expressed in the map reference. |
yaw | The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point. |
pitch | The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point. |
roll | The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point. |
Coordinate luciad::Camera::LookFrom::eye |
The location of the camera, expressed in the map reference.
This location maps to the center of the camera plane.
double luciad::Camera::LookFrom::pitch |
The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
A value of zero represents a horizontal viewer (i.e. looking towards the horizon). Positive angles look up and negative angles look down.
double luciad::Camera::LookFrom::roll |
The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
Positive angles bank the viewer to the right; negative angles bank to the left. This value is typically 0.
Azimuth luciad::Camera::LookFrom::yaw = 0.0 |
The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point.
It represents the viewing angle with respect to the north. I.e. a value of 0 means that the camera is faced to the north.