Carna  Version 3.3.2
Public Member Functions | List of all members
Carna::presets::CameraNavigationControl Class Reference

Implements base::CameraControl, rotates the camera around itself and allows completely free camera movement. More...

#include <CameraNavigationControl.h>

+ Inheritance diagram for Carna::presets::CameraNavigationControl:
+ Collaboration diagram for Carna::presets::CameraNavigationControl:

Public Member Functions

 CameraNavigationControl ()
 Instantiates.
 
virtual ~CameraNavigationControl ()
 Deletes.
 
virtual void setCamera (base::Spatial &) override
 Sets the camera that this object should control.
 
virtual void rotateHorizontally (float radians) override
 Rotates the camera around its local \(\left(0, 1, 0\right)^\mathrm T\) vector by radians.
 
virtual void rotateVertically (float radians) override
 Rotates the camera around its local \(\left(1, 0, 0\right)^\mathrm T\) vector by radians.
 
virtual void moveAxially (float units) override
 Moves the camera along its local \(\left(0, 0, 1\right)^\mathrm T\) vector by units.
 
virtual void moveLaterally (float unitsX, float unitsY) override
 Moves the camera along its x-/y-axis. The parameters of this movement depend on the implementation.
 
- Public Member Functions inherited from Carna::base::CameraControl
virtual ~CameraControl ()
 Does nothing.
 

Detailed Description

Implements base::CameraControl, rotates the camera around itself and allows completely free camera movement.

Author
Leonid Kostrykin
Date
22.2.15 - 5.4.15

Definition at line 42 of file CameraNavigationControl.h.


The documentation for this class was generated from the following file: