argos::CQTOpenGLCamera::SPlacement Struct Reference

#include <qtopengl_camera.h>

Collaboration diagram for argos::CQTOpenGLCamera::SPlacement:

Public Member Functions

void Init (TConfigurationNode &t_tree)
 Initialize from XML. More...
 
void CalculateYFieldOfView ()
 Calculates the value of YFieldOfView. More...
 

Public Attributes

CVector3 Position
 The position of the camera in the global reference frame. More...
 
CVector3 Target
 What we are looking at in the global reference frame. More...
 
CVector3 Up
 The local Z axis 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...
 

Detailed Description

Definition at line 37 of file qtopengl_camera.h.

Member Function Documentation

◆ CalculateYFieldOfView()

void argos::CQTOpenGLCamera::SPlacement::CalculateYFieldOfView ( )

Calculates the value of YFieldOfView.

Definition at line 69 of file qtopengl_camera.cpp.

◆ Init()

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

Initialize from XML.

Definition at line 24 of file qtopengl_camera.cpp.

Member Data Documentation

◆ LensFocalLength

Real argos::CQTOpenGLCamera::SPlacement::LensFocalLength

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

Definition at line 45 of file qtopengl_camera.h.

◆ Position

CVector3 argos::CQTOpenGLCamera::SPlacement::Position

The position of the camera in the global reference frame.

Definition at line 39 of file qtopengl_camera.h.

◆ Target

CVector3 argos::CQTOpenGLCamera::SPlacement::Target

What we are looking at in the global reference frame.

Definition at line 41 of file qtopengl_camera.h.

◆ Up

CVector3 argos::CQTOpenGLCamera::SPlacement::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::SPlacement::YFieldOfView

The focal length of the camera.

Definition at line 47 of file qtopengl_camera.h.