|
H3D API
2.4.1
|
Take care of mouseNavigation. More...
#include <H3D/H3DNavigationDevices.h>

Public Member Functions | |
| MouseNavigation (H3DNavigation *h3d_navigation) | |
| Constructor. | |
| virtual void | resetAll () |
| Reset all variables. | |
| virtual void | disableDevice () |
| virtual function to remove routes for this device. | |
| virtual void | enableDevice () |
| virtual function to enable routes for this device. | |
| bool | isEnabled () |
| Check if MouseNavigation is enabled. | |
| void | leftButtonUpdate (bool _left_button) |
| Called when left button has changed. | |
| void | motionUpdate (int x, int y) |
| Called for each movement change. | |
| void | scrollWheelUpdate (bool up) |
| Called when scroll wheel updates. | |
Public Member Functions inherited from H3D::H3DNavigationDevices | |
| H3DNavigationDevices (H3DNavigation *h3d_navigation) | |
| Constructor. | |
| virtual | ~H3DNavigationDevices () |
| Destructor. | |
| void | setNavType (string &_nav_type) |
| Set type of navigation. | |
| string | getNavType () |
| Get the current type of navigation. | |
| virtual Vec3f | getCenterOfRot () |
| Get the center or rotation. | |
Additional Inherited Members | |
Static Public Member Functions inherited from H3D::H3DNavigationDevices | |
| static bool | getMoveInfo (MoveInfo &move_info, H3DNavigation *h3d_navigation) |
| Call this function to sum up movement changes from all devices returns true if there are changes. | |
| static void | setNavTypeForAll (string &_nav_type, H3DNavigation *h3d_navigation) |
| sets type of navigation for all devices | |
Take care of mouseNavigation.