Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a03634.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a03634.php on line 2
The ARGoS Website

argos::CQTOpenGLCamera::SSettings Struct Reference

#include <qtopengl_camera.h>

Collaboration diagram for argos::CQTOpenGLCamera::SSettings:

Public Member Functions

 SSettings ()
 
void Init (TConfigurationNode &t_tree)
 Initialize from XML. More...
 
void RotateUpDown (const CRadians &c_angle)
 Rotation around the local Y axis. More...
 
void RotateLeftRight (const CRadians &c_angle)
 Rotation around the local Z axis. More...
 
void RotateLeftRight2 (const CRadians &c_angle)
 Rotation around the global Z axis. More...
 
void Translate (const CVector3 &c_delta)
 c_delta is expressed in the camera local coordinates More...
 
void Do ()
 Places this camera in the right position. More...
 
void CalculateYFieldOfView ()
 Calculates the value of YFieldOfView. More...
 
void CalculateSensitivity ()
 Calculate the sensitivity of the camera. More...
 

Public Attributes

CVector3 Position
 The position of the camera in the global reference frame. More...
 
CVector3 Left
 The local Y axis of the camera in the global reference frame. More...
 
CVector3 Up
 The local Z axis of the camera in the global reference frame. More...
 
CVector3 Forward
 The local X axis of the camera in the global reference frame. More...
 
CVector3 Target
 The direction of sight of the camera in the global reference frame. More...
 
Real LensFocalLength
 The focal length of the lens (if this was a real camera) More...
 
CDegrees YFieldOfView
 The focal length of the camera. More...
 
Real MotionSensitivity
 Motion sensitivity. More...
 
Real RotationSensitivity
 Rotation sensitivity. More...
 

Detailed Description

Definition at line 37 of file qtopengl_camera.h.

Constructor & Destructor Documentation

◆ SSettings()

argos::CQTOpenGLCamera::SSettings::SSettings ( )
inline

Definition at line 57 of file qtopengl_camera.h.

Member Function Documentation

◆ CalculateSensitivity()

void argos::CQTOpenGLCamera::SSettings::CalculateSensitivity ( )

Calculate the sensitivity of the camera.

Definition at line 293 of file qtopengl_camera.cpp.

◆ CalculateYFieldOfView()

void argos::CQTOpenGLCamera::SSettings::CalculateYFieldOfView ( )

Calculates the value of YFieldOfView.

Definition at line 286 of file qtopengl_camera.cpp.

◆ Do()

void argos::CQTOpenGLCamera::SSettings::Do ( )

Places this camera in the right position.

Definition at line 270 of file qtopengl_camera.cpp.

◆ Init()

void argos::CQTOpenGLCamera::SSettings::Init ( TConfigurationNode t_tree)

Initialize from XML.

Definition at line 48 of file qtopengl_camera.cpp.

◆ RotateLeftRight()

void argos::CQTOpenGLCamera::SSettings::RotateLeftRight ( const CRadians c_angle)

Rotation around the local Z axis.

Definition at line 151 of file qtopengl_camera.cpp.

◆ RotateLeftRight2()

void argos::CQTOpenGLCamera::SSettings::RotateLeftRight2 ( const CRadians c_angle)

Rotation around the global Z axis.

Definition at line 183 of file qtopengl_camera.cpp.

◆ RotateUpDown()

void argos::CQTOpenGLCamera::SSettings::RotateUpDown ( const CRadians c_angle)

Rotation around the local Y axis.

Definition at line 96 of file qtopengl_camera.cpp.

◆ Translate()

void argos::CQTOpenGLCamera::SSettings::Translate ( const CVector3 c_delta)

c_delta is expressed in the camera local coordinates

Definition at line 261 of file qtopengl_camera.cpp.

Member Data Documentation

◆ Forward

CVector3 argos::CQTOpenGLCamera::SSettings::Forward

The local X axis of the camera in the global reference frame.

Definition at line 45 of file qtopengl_camera.h.

◆ Left

CVector3 argos::CQTOpenGLCamera::SSettings::Left

The local Y axis of the camera in the global reference frame.

Definition at line 41 of file qtopengl_camera.h.

◆ LensFocalLength

Real argos::CQTOpenGLCamera::SSettings::LensFocalLength

The focal length of the lens (if this was a real camera)

Definition at line 49 of file qtopengl_camera.h.

◆ MotionSensitivity

Real argos::CQTOpenGLCamera::SSettings::MotionSensitivity

Motion sensitivity.

Definition at line 53 of file qtopengl_camera.h.

◆ Position

CVector3 argos::CQTOpenGLCamera::SSettings::Position

The position of the camera in the global reference frame.

Definition at line 39 of file qtopengl_camera.h.

◆ RotationSensitivity

Real argos::CQTOpenGLCamera::SSettings::RotationSensitivity

Rotation sensitivity.

Definition at line 55 of file qtopengl_camera.h.

◆ Target

CVector3 argos::CQTOpenGLCamera::SSettings::Target

The direction of sight of the camera in the global reference frame.

Definition at line 47 of file qtopengl_camera.h.

◆ Up

CVector3 argos::CQTOpenGLCamera::SSettings::Up

The local Z axis of the camera in the global reference frame.

Definition at line 43 of file qtopengl_camera.h.

◆ YFieldOfView

CDegrees argos::CQTOpenGLCamera::SSettings::YFieldOfView

The focal length of the camera.

Definition at line 51 of file qtopengl_camera.h.