Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

VRPNTracker Class Reference

VMDTracker subclass the manage VRPN tracker devices. More...

#include <P_VRPNTracker.h>

Inheritance diagram for VRPNTracker:

VMDTracker List of all members.

Public Methods

 VRPNTracker ()
 ~VRPNTracker ()
const char * device_name () const
 Device name; must be unique to other VMDTracker subclasses. More...

virtual VMDTrackerclone ()
virtual int alive ()
virtual void update ()

Protected Methods

virtual int do_start (const SensorConfig *)
 Do device-specific configuration. Return success. More...


Detailed Description

VMDTracker subclass the manage VRPN tracker devices.

Definition at line 41 of file P_VRPNTracker.h.


Constructor & Destructor Documentation

VRPNTracker::VRPNTracker  
 

Definition at line 60 of file P_VRPNTracker.C.

References NULL, VMDTracker::orient, VRPNTrackerUserData::orient, VMDTracker::pos, and VRPNTrackerUserData::pos.

VRPNTracker::~VRPNTracker  
 

Definition at line 85 of file P_VRPNTracker.C.


Member Function Documentation

virtual int VRPNTracker::alive   [inline, virtual]
 

Implements VMDTracker.

Definition at line 59 of file P_VRPNTracker.h.

Referenced by update.

virtual VMDTracker* VRPNTracker::clone   [inline, virtual]
 

Implements VMDTracker.

Definition at line 57 of file P_VRPNTracker.h.

const char* VRPNTracker::device_name   const [inline, virtual]
 

Device name; must be unique to other VMDTracker subclasses.

Implements VMDTracker.

Definition at line 56 of file P_VRPNTracker.h.

int VRPNTracker::do_start const SensorConfig   config [protected, virtual]
 

Do device-specific configuration. Return success.

Reimplemented from VMDTracker.

Definition at line 68 of file P_VRPNTracker.C.

References SensorConfig::getsensors, handle_vrpn_tracker, SensorConfig::have_one_sensor, and SensorConfig::make_vrpn_address.

void VRPNTracker::update   [virtual]
 

Implements VMDTracker.

Definition at line 89 of file P_VRPNTracker.C.

References alive, Matrix4::identity, VMDTracker::moveto, and VMDTracker::orient.


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 02:47:30 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002