#include <cameramanipulatorFollow.h>
Inherits CameraManipulator.
Inheritance diagram for CameraManipulatorFollow:
Public Member Functions | |
CameraManipulatorFollow (osg::Node *node, GlobalData &global, CameraHandle &cameraHandle) | |
Protected Member Functions | |
virtual | ~CameraManipulatorFollow () |
virtual void | calcMovementByAgent () |
This handles robot movements, so that the camera movemenent is right affected. | |
virtual void | setHomeViewByAgent () |
Sets the right view and eye if the robot has changed. |
Left mouse button: Pan and tilt Right mouse button: forward and sideways Middle mouse button: up and sideways
CameraManipulatorFollow | ( | osg::Node * | node, | |
GlobalData & | global, | |||
CameraHandle & | cameraHandle | |||
) |
~CameraManipulatorFollow | ( | ) | [protected, virtual] |
void calcMovementByAgent | ( | ) | [protected, virtual] |
This handles robot movements, so that the camera movemenent is right affected.
should be overwritten by new cameramanipulator
Reimplemented from CameraManipulator.
void setHomeViewByAgent | ( | ) | [protected, virtual] |
Sets the right view and eye if the robot has changed.
Is called from manageRobots(); should be overwritten by new cameramanipulator if needed
Reimplemented from CameraManipulator.