argos::CQTOpenGLCamera Class Reference

#include <qtopengl_camera.h>

Inheritance diagram for argos::CQTOpenGLCamera:
Collaboration diagram for argos::CQTOpenGLCamera:

Classes

struct  SKeyframe
 
struct  SPlacement
 

Public Member Functions

 CQTOpenGLCamera ()
 
 ~CQTOpenGLCamera ()
 
void Init (TConfigurationNode &t_tree)
 
void Reset ()
 
void Look ()
 
const CVector3GetPosition () const
 
const CVector3GetTarget () const
 
Real GetLensFocalLength () const
 
void Rotate (const QPoint &c_delta)
 
void Rotate (const CRadians &c_up_down, const CRadians &c_left_right)
 
void Move (SInt32 n_forwards_backwards, SInt32 n_sideways, SInt32 n_up_down)
 
void Interpolate (UInt32 un_start_placement, UInt32 un_end_placement, Real f_time_fraction)
 
SPlacementGetActivePlacement ()
 
const SPlacementGetActivePlacement () const
 
void SetActivePlacement (UInt32 n_index)
 
SPlacementGetPlacement (UInt32 n_index)
 
void UpdateTimeline ()
 

Detailed Description

Definition at line 31 of file qtopengl_camera.h.

Constructor & Destructor Documentation

◆ CQTOpenGLCamera()

argos::CQTOpenGLCamera::CQTOpenGLCamera ( )

Definition at line 76 of file qtopengl_camera.cpp.

◆ ~CQTOpenGLCamera()

argos::CQTOpenGLCamera::~CQTOpenGLCamera ( )

Definition at line 110 of file qtopengl_camera.cpp.

Member Function Documentation

◆ GetActivePlacement() [1/2]

SPlacement& argos::CQTOpenGLCamera::GetActivePlacement ( )
inline

Definition at line 106 of file qtopengl_camera.h.

◆ GetActivePlacement() [2/2]

const SPlacement& argos::CQTOpenGLCamera::GetActivePlacement ( ) const
inline

Definition at line 110 of file qtopengl_camera.h.

◆ GetLensFocalLength()

Real argos::CQTOpenGLCamera::GetLensFocalLength ( ) const
inline

Definition at line 89 of file qtopengl_camera.h.

◆ GetPlacement()

SPlacement& argos::CQTOpenGLCamera::GetPlacement ( UInt32  n_index)
inline

Definition at line 122 of file qtopengl_camera.h.

◆ GetPosition()

const CVector3& argos::CQTOpenGLCamera::GetPosition ( ) const
inline

Definition at line 81 of file qtopengl_camera.h.

◆ GetTarget()

const CVector3& argos::CQTOpenGLCamera::GetTarget ( ) const
inline

Definition at line 85 of file qtopengl_camera.h.

◆ Init()

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

Definition at line 115 of file qtopengl_camera.cpp.

◆ Interpolate()

void argos::CQTOpenGLCamera::Interpolate ( UInt32  un_start_placement,
UInt32  un_end_placement,
Real  f_time_fraction 
)

Definition at line 385 of file qtopengl_camera.cpp.

◆ Look()

void argos::CQTOpenGLCamera::Look ( )

Definition at line 196 of file qtopengl_camera.cpp.

◆ Move()

void argos::CQTOpenGLCamera::Move ( SInt32  n_forwards_backwards,
SInt32  n_sideways,
SInt32  n_up_down 
)

Definition at line 361 of file qtopengl_camera.cpp.

◆ Reset()

void argos::CQTOpenGLCamera::Reset ( )

Definition at line 183 of file qtopengl_camera.cpp.

◆ Rotate() [1/2]

void argos::CQTOpenGLCamera::Rotate ( const CRadians c_up_down = CRadians::ZERO,
const CRadians c_left_right = CRadians::ZERO 
)

Definition at line 228 of file qtopengl_camera.cpp.

◆ Rotate() [2/2]

void argos::CQTOpenGLCamera::Rotate ( const QPoint &  c_delta)

Definition at line 214 of file qtopengl_camera.cpp.

◆ SetActivePlacement()

void argos::CQTOpenGLCamera::SetActivePlacement ( UInt32  n_index)
inline

Definition at line 114 of file qtopengl_camera.h.

◆ UpdateTimeline()

void argos::CQTOpenGLCamera::UpdateTimeline ( )

Definition at line 413 of file qtopengl_camera.cpp.