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

VRJugglerTracker Class Reference

VMDTracker subclass that interfaces to the VRJuggler wand. More...

#include <VRJugglerTracker.h>

Inheritance diagram for VRJugglerTracker:

VMDTracker List of all members.

Public Methods

 VRJugglerTracker (VRJugglerScene *scene)
virtual VMDTrackerclone ()
const char * device_name () const
 Device name; must be unique to other VMDTracker subclasses. More...

virtual void update ()
virtual int alive ()

Protected Methods

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


Protected Attributes

VRJugglerScenemScene

Detailed Description

VMDTracker subclass that interfaces to the VRJuggler wand.

Definition at line 25 of file VRJugglerTracker.h.


Constructor & Destructor Documentation

VRJugglerTracker::VRJugglerTracker VRJugglerScene   scene
 

Definition at line 26 of file VRJugglerTracker.C.

Referenced by clone.


Member Function Documentation

virtual int VRJugglerTracker::alive   [inline, virtual]
 

Implements VMDTracker.

Definition at line 31 of file VRJugglerTracker.h.

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

Implements VMDTracker.

Definition at line 28 of file VRJugglerTracker.h.

References mScene, and VRJugglerTracker.

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

Device name; must be unique to other VMDTracker subclasses.

Implements VMDTracker.

Definition at line 29 of file VRJugglerTracker.h.

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

Do device-specific configuration. Return success.

Reimplemented from VMDTracker.

Definition at line 86 of file VRJugglerTracker.C.

void VRJugglerTracker::update   [virtual]
 

Implements VMDTracker.

Definition at line 33 of file VRJugglerTracker.C.

References VRJugglerScene::getWandRotMat, VRJugglerScene::getWandXYZ, Matrix4::loadmatrix, mScene, Matrix4::multpoint3d, VMDTracker::orient, VMDTracker::pos, and Matrix4::rot.


Member Data Documentation

VRJugglerScene* VRJugglerTracker::mScene [protected]
 

Definition at line 35 of file VRJugglerTracker.h.

Referenced by clone, and update.


The documentation for this class was generated from the following files:
Generated on Sat May 26 01:49:35 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002