![]() |
scg3
0.6
|
A camera controller using mouse input. More...
#include "MouseController.h"
Public Member Functions | |
| MouseController (CameraSP camera) | |
| virtual | ~MouseController () |
| virtual void | checkInput (ViewState *viewState) |
Public Member Functions inherited from scg::CameraController | |
| CameraController (CameraSP camera) | |
| virtual | ~CameraController ()=0 |
| void | setCamera (CameraSP camera) |
| void | setMoveVelocity (GLfloat moveVelocity) |
| void | setRotateVelocity (GLfloat rotateVelocity) |
| void | setFlightVelocity (GLfloat flightVelocity) |
| void | setFlightVelocityStep (GLfloat flightVelocityStep) |
Public Member Functions inherited from scg::Controller | |
| Controller () | |
| virtual | ~Controller ()=0 |
Static Public Member Functions | |
| static MouseControllerSP | create (CameraSP camera) |
Additional Inherited Members | |
Protected Attributes inherited from scg::CameraController | |
| CameraSP | camera_ |
| GLfloat | moveVelocity_ |
| GLfloat | rotateVelocity_ |
| GLfloat | flightVelocity_ |
| GLfloat | flightVelocityStep_ |
| bool | isFlyMode_ |
A camera controller using mouse input.
See implementation of constructor MouseController::MouseController(), which prints a list of control actions.
Definition at line 40 of file MouseController.h.
| scg::MouseController::MouseController | ( | CameraSP | camera | ) |
Constructor with given camera transformation.
|
virtual |
Destructor.
|
virtual |
Check input devices, called by Viewer::startMainLoop().
| viewState | view state managed by Viewer, may be modified by controller |
Implements scg::CameraController.
|
static |
Create shared pointer with given camera transformation.