Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

CrHapticController Class Reference

Device class for the PHANToM haptic controller. More...

#include <CrHapticController.h>

Inheritance diagram for CrHapticController:

CrController Subject List of all members.
virtual void updateController ()
 Sends the user interaction events to any observers.
SoControllerButtonEventm_buttonEvent
 Stylus button press and release event.
SoTrackerEventm_trackerEvent
 Movement event.

Public Member Functions

 CrHapticController (gstPHANToM *)
 Parameterized constructor takes a gstPHANToM object.
virtual ~CrHapticController ()
 Destructor quits the haptic servo loop.

Static Public Member Functions

static void GraphicsCB (gstTransform *, void *, void *)
 Callback triggered by GHOST for graphics updates.

Protected Attributes

bool m_ghostButtonStatus
 Current status of the PHANToM stylus button.
gstPHANToM * m_phantom
 Pointer to the GHOST PHANToM device object.

Detailed Description

Device class for the PHANToM haptic controller.

Author:
Chris Scharver
Date
2004/06/07 16:56:43
Revision
1.8
This class captures PHANToM device information and monitors state changes.


Constructor & Destructor Documentation

CrHapticController::CrHapticController gstPHANToM *   ) 
 

Parameterized constructor takes a gstPHANToM object.

CrHapticController::~CrHapticController  )  [virtual]
 

Destructor quits the haptic servo loop.


Member Function Documentation

void CrHapticController::GraphicsCB gstTransform *  ,
void *  ,
void * 
[static]
 

Callback triggered by GHOST for graphics updates.

void CrHapticController::updateController  )  [virtual]
 

Sends the user interaction events to any observers.

Reimplemented from CrController.


Member Data Documentation

SoControllerButtonEvent* CrHapticController::m_buttonEvent [protected]
 

Stylus button press and release event.

bool CrHapticController::m_ghostButtonStatus [protected]
 

Current status of the PHANToM stylus button.

gstPHANToM* CrHapticController::m_phantom [protected]
 

Pointer to the GHOST PHANToM device object.

SoTrackerEvent* CrHapticController::m_trackerEvent [protected]
 

Movement event.


The documentation for this class was generated from the following files:
Generated on Wed May 18 01:24:58 2005 for SculptDemo by  doxygen 1.4.3