Blender V2.61 - r43446
Public Member Functions | Protected Attributes

GHOST_NDOFManager Class Reference

#include <GHOST_NDOFManager.h>

List of all members.

Public Member Functions

 GHOST_NDOFManager (GHOST_System &)
virtual ~GHOST_NDOFManager ()
virtual bool available ()=0
bool setDevice (unsigned short vendor_id, unsigned short product_id)
void setDeadZone (float)
void updateTranslation (short t[3], GHOST_TUns64 time)
void updateRotation (short r[3], GHOST_TUns64 time)
void updateButton (int button_number, bool press, GHOST_TUns64 time)
void updateButtons (int button_bits, GHOST_TUns64 time)
bool sendMotionEvent ()

Protected Attributes

GHOST_Systemm_system

Detailed Description

Definition at line 92 of file GHOST_NDOFManager.h.


Constructor & Destructor Documentation

GHOST_NDOFManager::GHOST_NDOFManager ( GHOST_System sys)

Definition at line 166 of file GHOST_NDOFManager.cpp.

virtual GHOST_NDOFManager::~GHOST_NDOFManager ( ) [inline, virtual]

Definition at line 97 of file GHOST_NDOFManager.h.


Member Function Documentation

virtual bool GHOST_NDOFManager::available ( ) [pure virtual]
bool GHOST_NDOFManager::sendMotionEvent ( )
void GHOST_NDOFManager::setDeadZone ( float  dz)

Definition at line 359 of file GHOST_NDOFManager.cpp.

References GHOST_PRINTF.

bool GHOST_NDOFManager::setDevice ( unsigned short  vendor_id,
unsigned short  product_id 
)
void GHOST_NDOFManager::updateButton ( int  button_number,
bool  press,
GHOST_TUns64  time 
)
void GHOST_NDOFManager::updateButtons ( int  button_bits,
GHOST_TUns64  time 
)

Definition at line 343 of file GHOST_NDOFManager.cpp.

References KDL::diff(), and updateButton().

void GHOST_NDOFManager::updateRotation ( short  r[3],
GHOST_TUns64  time 
)

Definition at line 255 of file GHOST_NDOFManager.cpp.

void GHOST_NDOFManager::updateTranslation ( short  t[3],
GHOST_TUns64  time 
)

Definition at line 248 of file GHOST_NDOFManager.cpp.


Member Data Documentation

Definition at line 136 of file GHOST_NDOFManager.h.

Referenced by sendMotionEvent(), and updateButton().


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