LuciadCPillar 2023.1.04
luciad::Camera::Look Struct Reference

Structure describing the position and orientation of the camera. More...

#include <luciad/cameras/Camera.h>

Public Member Functions

 Look (Coordinate eye, Coordinate forward, Coordinate up)
 Constructs the Look with eye, forward, and up information. More...
 

Public Attributes

Coordinate eye
 The location of the camera in 3D cartesian coordinates. More...
 
Coordinate forward
 The forward direction of the camera. More...
 
Coordinate up
 The direction corresponding to the upward direction of the view. More...
 

Detailed Description

Structure describing the position and orientation of the camera.

See PerspectiveCamera or OrthographicCamera for an illustration.

Constructor & Destructor Documentation

◆ Look()

luciad::Camera::Look::Look ( Coordinate  eye,
Coordinate  forward,
Coordinate  up 
)
inline

Constructs the Look with eye, forward, and up information.

Parameters
eyeThe location of the camera in 3D cartesian coordinates.
forwardThe forward direction of the camera.
upThe direction corresponding to the upward direction of the view.

Member Data Documentation

◆ eye

Coordinate luciad::Camera::Look::eye

The location of the camera in 3D cartesian coordinates.

◆ forward

Coordinate luciad::Camera::Look::forward

The forward direction of the camera.

◆ up

Coordinate luciad::Camera::Look::up

The direction corresponding to the upward direction of the view.