ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CQTOpenGLCamera::SSettings Struct Reference

#include <qtopengl_camera.h>

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 37 of file qtopengl_camera.h.


Constructor & Destructor Documentation

Definition at line 57 of file qtopengl_camera.h.


Member Function Documentation

Calculate the sensitivity of the camera.

Definition at line 277 of file qtopengl_camera.cpp.

Calculates the value of YFieldOfView.

Definition at line 270 of file qtopengl_camera.cpp.

Places this camera in the right position.

Definition at line 254 of file qtopengl_camera.cpp.

Initialize from XML.

Definition at line 48 of file qtopengl_camera.cpp.

Rotation around the local Z axis.

Definition at line 135 of file qtopengl_camera.cpp.

Rotation around the global Z axis.

Definition at line 167 of file qtopengl_camera.cpp.

Rotation around the local Y axis.

Definition at line 80 of file qtopengl_camera.cpp.

c_delta is expressed in the camera local coordinates

Definition at line 245 of file qtopengl_camera.cpp.


Member Data Documentation

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

Definition at line 45 of file qtopengl_camera.h.

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

Definition at line 41 of file qtopengl_camera.h.

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

Definition at line 49 of file qtopengl_camera.h.

Motion sensitivity.

Definition at line 53 of file qtopengl_camera.h.

The position of the camera in the global reference frame.

Definition at line 39 of file qtopengl_camera.h.

Rotation sensitivity.

Definition at line 55 of file qtopengl_camera.h.

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

Definition at line 47 of file qtopengl_camera.h.

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

Definition at line 43 of file qtopengl_camera.h.

The focal length of the camera.

Definition at line 51 of file qtopengl_camera.h.


The documentation for this struct was generated from the following files: