Enviro application
Public Member Functions | Public Attributes | List of all members
vtJoystickEngine Class Reference
Inheritance diagram for vtJoystickEngine:
Inheritance graph
[legend]

Public Member Functions

 vtJoystickEngine ()
 
void Eval ()
 
void SetSpeed (float f)
 
float GetSpeed ()
 
- Public Member Functions inherited from vtEngine
osg::Referenced * GetTarget (uint which=0)
 
void AddTarget (osg::Referenced *ptr)
 
void RemoveTarget (osg::Referenced *ptr)
 
uint NumTargets ()
 
virtual void OnMouse (vtMouseEvent &event)
 
virtual void OnKey (int key, int flags)
 
virtual void OnWindowSize (int width, int height)
 

Public Attributes

class wxJoystick * m_pStick
 
float m_fSpeed
 
float m_fLastTime
 

Constructor & Destructor Documentation

vtJoystickEngine::vtJoystickEngine ( )

Member Function Documentation

void vtJoystickEngine::Eval ( )
virtual

Reimplemented from vtEngine.

float vtJoystickEngine::GetSpeed ( )
inline
void vtJoystickEngine::SetSpeed ( float  f)
inline

Member Data Documentation

float vtJoystickEngine::m_fLastTime
float vtJoystickEngine::m_fSpeed
class wxJoystick* vtJoystickEngine::m_pStick