Carna  Version 3.0.1
Public Member Functions | List of all members
Carna::base::CameraControl Class Referenceabstract

Defines interface for intuitive Camera control. More...

#include <CameraControl.h>

+ Inheritance diagram for Carna::base::CameraControl:

Public Member Functions

virtual ~CameraControl ()
 Does nothing.
 
virtual void setCamera (Spatial &camera)=0
 Sets the camera that this object should control.
 
virtual void rotateHorizontally (float radians)=0
 Rotates the previously set camera horizontally. The rotation axis depends on the implementation.
 
virtual void rotateVertically (float radians)=0
 Rotates the previously set camera vertically. The rotation axis depends on the implementation.
 
virtual void moveAxially (float distance)=0
 Moves the camera along its z-axis. The parameters of this movement depend on the implementation.
 
virtual void moveLaterally (float distanceX, float distanceY)=0
 Moves the camera along its x-/y-axis. The parameters of this movement depend on the implementation.
 

Detailed Description

Defines interface for intuitive Camera control.

Author
Leonid Kostrykin
Date
22.2.15 - 16.3.15

Definition at line 39 of file CameraControl.h.


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