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

SpaceballTracker Class Reference

VMDTracker subclass that gets its info from the Spaceball driver. More...

#include <SpaceballTracker.h>

Inheritance diagram for SpaceballTracker:

VMDTracker List of all members.

Public Methods

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

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

Protected Methods

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


Detailed Description

VMDTracker subclass that gets its info from the Spaceball driver.

Definition at line 33 of file SpaceballTracker.h.


Constructor & Destructor Documentation

SpaceballTracker::SpaceballTracker VMDApp  
 

Definition at line 33 of file SpaceballTracker.C.

References NULL.

Referenced by clone.

SpaceballTracker::~SpaceballTracker  
 

Definition at line 90 of file SpaceballTracker.C.

References NULL.


Member Function Documentation

virtual int SpaceballTracker::alive   [inline, virtual]
 

Implements VMDTracker.

Definition at line 52 of file SpaceballTracker.h.

Referenced by update.

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

Implements VMDTracker.

Definition at line 49 of file SpaceballTracker.h.

References SpaceballTracker.

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

Device name; must be unique to other VMDTracker subclasses.

Implements VMDTracker.

Definition at line 48 of file SpaceballTracker.h.

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

Do device-specific configuration. Return success.

Reimplemented from VMDTracker.

Definition at line 43 of file SpaceballTracker.C.

References SensorConfig::getname, SensorConfig::have_one_sensor, Matrix4::identity, VMDTracker::moveto, NULL, VMDTracker::orient, SensorConfig::require_local, stringdup, and strupcmp.

void SpaceballTracker::update   [virtual]
 

Implements VMDTracker.

Definition at line 97 of file SpaceballTracker.C.

References alive, Matrix4::identity, Matrix4::loadmatrix, VMDTracker::moveto, Matrix4::multmatrix, NULL, VMDTracker::orient, VMDTracker::pos, Matrix4::rot, and VMDApp::spaceball_get_tracker_status.


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