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

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

Definition at line 57 of file qtopengl_camera.h.

Member Function Documentation

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

Calculate the sensitivity of the camera.

Definition at line 293 of file qtopengl_camera.cpp.

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

Calculates the value of YFieldOfView.

Definition at line 286 of file qtopengl_camera.cpp.

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

Places this camera in the right position.

Definition at line 270 of file qtopengl_camera.cpp.

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

Initialize from XML.

Definition at line 48 of file qtopengl_camera.cpp.

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

Rotation around the local Z axis.

Definition at line 151 of file qtopengl_camera.cpp.

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

Rotation around the global Z axis.

Definition at line 183 of file qtopengl_camera.cpp.

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

Rotation around the local Y axis.

Definition at line 96 of file qtopengl_camera.cpp.

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

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.

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.

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.

Real argos::CQTOpenGLCamera::SSettings::MotionSensitivity

Motion sensitivity.

Definition at line 53 of file qtopengl_camera.h.

CVector3 argos::CQTOpenGLCamera::SSettings::Position

The position of the camera in the global reference frame.

Definition at line 39 of file qtopengl_camera.h.

Real argos::CQTOpenGLCamera::SSettings::RotationSensitivity

Rotation sensitivity.

Definition at line 55 of file qtopengl_camera.h.

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.

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.

CDegrees argos::CQTOpenGLCamera::SSettings::YFieldOfView

The focal length of the camera.

Definition at line 51 of file qtopengl_camera.h.