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

MobileTracker Class Reference

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

#include <MobileTracker.h>

Inheritance diagram for MobileTracker:

VMDTracker List of all members.

Public Methods

 MobileTracker (VMDApp *)
 ~MobileTracker ()
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 Mobile driver.

Definition at line 28 of file MobileTracker.h.


Constructor & Destructor Documentation

MobileTracker::MobileTracker VMDApp  
 

Definition at line 31 of file MobileTracker.C.

Referenced by clone.

MobileTracker::~MobileTracker  
 

Definition at line 58 of file MobileTracker.C.


Member Function Documentation

virtual int MobileTracker::alive   [inline, virtual]
 

Implements VMDTracker.

Definition at line 43 of file MobileTracker.h.

Referenced by update.

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

Implements VMDTracker.

Definition at line 40 of file MobileTracker.h.

References MobileTracker.

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

Device name; must be unique to other VMDTracker subclasses.

Implements VMDTracker.

Definition at line 39 of file MobileTracker.h.

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

Do device-specific configuration. Return success.

Reimplemented from VMDTracker.

Definition at line 35 of file MobileTracker.C.

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

void MobileTracker::update   [virtual]
 

Implements VMDTracker.

Definition at line 61 of file MobileTracker.C.

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


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