LuciadCPillar 2023.1.04
|
Structure to orient
a camera based on a specific target point.
More...
#include <luciad/cameras/Camera.h>
Public Member Functions | |
LookAt (Coordinate target, double distance, Azimuth yaw, double pitch, double roll) | |
Constructs the LookAt. More... | |
Public Attributes | |
double | distance |
The distance between the camera location (eye) and the reference point. More... | |
double | pitch |
The pitch angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point. More... | |
double | roll |
The roll angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point. More... | |
Coordinate | target |
The point to which the camera is looking, expressed in the map reference. More... | |
Azimuth | yaw = 0.0 |
The yaw angle of the viewer, defined with respect to a local coordinate system based on the reference point. More... | |
Structure to orient
a camera based on a specific target point.
|
inline |
Constructs the LookAt.
target | The point to which the camera is looking, expressed in the map reference. |
distance | The distance between the camera location (eye) and the reference point. |
yaw | The yaw angle of the viewer, defined with respect to a local coordinate system based on the reference point. |
pitch | The pitch angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point. |
roll | The roll angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point. |
double luciad::Camera::LookAt::distance |
The distance between the camera location (eye) and the reference point.
double luciad::Camera::LookAt::pitch |
The pitch angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference 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::LookAt::roll |
The roll angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point.
Positive angles bank the viewer to the right; negative angles bank to the left. This value is typically 0.
Coordinate luciad::Camera::LookAt::target |
The point to which the camera is looking, expressed in the map reference.
This location maps to the center of the camera plane.
Azimuth luciad::Camera::LookAt::yaw = 0.0 |
The yaw angle of the viewer, defined with respect to a local coordinate system based on the reference 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.