H3D API  2.4.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | Static Public Member Functions | List of all members
H3D::H3DNavigationDevices Class Reference

Base class for devices that should be used to navigate the scene. More...

#include <H3D/H3DNavigationDevices.h>

Inheritance diagram for H3D::H3DNavigationDevices:
Inheritance graph

Public Member Functions

 H3DNavigationDevices (H3DNavigation *h3d_navigation)
 Constructor.
 
virtual ~H3DNavigationDevices ()
 Destructor.
 
virtual void resetAll ()
 reset values of movement variables
 
virtual void disableDevice ()
 virtual function to remove routes for this device.
 
virtual void enableDevice ()
 virtual function to enable routes for this device.
 
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.
 

Static Public Member Functions

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
 

Detailed Description

Base class for devices that should be used to navigate the scene.


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