LuciadCPillar C# 2025.0
Luciad.Cameras.Camera.LookAt Struct Reference

Structure to orient a camera based on a specific target point. More...

Public Member Functions

 LookAt (Luciad.Cartesian.Coordinate target, double distance, Luciad.Cartesian.Azimuth yaw, double pitch, double roll)
 Constructs the LookAt. More...
 

Properties

double Distance [get]
 The distance between the camera location (eye) and the reference point. More...
 
double Pitch [get]
 The pitch angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point. More...
 
double Roll [get]
 The roll angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point. More...
 
Luciad.Cartesian.Coordinate Target [get]
 The point to which the camera is looking, expressed in the map reference. More...
 
Luciad.Cartesian.Azimuth Yaw [get]
 The yaw angle of the viewer, defined with respect to a local coordinate system based on the reference point. More...
 

Detailed Description

Structure to orient a camera based on a specific target point.

Constructor & Destructor Documentation

◆ LookAt()

Luciad.Cameras.Camera.LookAt.LookAt ( Luciad.Cartesian.Coordinate  target,
double  distance,
Luciad.Cartesian.Azimuth  yaw,
double  pitch,
double  roll 
)
inline

Constructs the LookAt.

Parameters
targetThe point to which the camera is looking, expressed in the map reference.
distanceThe distance between the camera location (eye) and the reference point.
yawThe yaw angle of the viewer, defined with respect to a local coordinate system based on the reference point.
pitchThe pitch angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point.
rollThe roll angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point.

Property Documentation

◆ Distance

double Luciad.Cameras.Camera.LookAt.Distance
get

The distance between the camera location (eye) and the reference point.

[get]

The distance between the camera location (eye) and the reference point.

◆ Pitch

double Luciad.Cameras.Camera.LookAt.Pitch
get

The pitch angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point.

[get]

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.

◆ Roll

double Luciad.Cameras.Camera.LookAt.Roll
get

The roll angle of the viewer in degrees, defined with respect to a local coordinate system based on the reference point.

[get]

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.

◆ Target

Luciad.Cartesian.Coordinate Luciad.Cameras.Camera.LookAt.Target
get

The point to which the camera is looking, expressed in the map reference.

[get]

The point to which the camera is looking, expressed in the map reference. This location maps to the center of the camera plane.

◆ Yaw

Luciad.Cartesian.Azimuth Luciad.Cameras.Camera.LookAt.Yaw
get

The yaw angle of the viewer, defined with respect to a local coordinate system based on the reference point.

[get]

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.