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

P_FreeVRButtons.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the      
00004  *cr                        University of Illinois                       
00005  *cr                         All Rights Reserved                        
00006  *cr                                                                   
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: P_FreeVRButtons.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.18 $       $Date: 2019/01/17 21:21:00 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  * This is Paul's new Tracker code -- pgrayson@ks.uiuc.edu
00019  *
00020  * This is a Buttons that gets its info from the FreeVR wand.
00021  ***************************************************************************/
00022 
00023 #include "P_Buttons.h"
00024 
00025 class VMDApp;
00026 
00028 class FreeVRButtons : public Buttons {
00029 private:
00030   VMDApp *app;
00031 
00032 public:
00033   FreeVRButtons(VMDApp *vmdapp) { app=vmdapp; }
00034   virtual const char *device_name() const { return "freevrbuttons"; }
00035   virtual Buttons *clone() { return new FreeVRButtons(app); }
00036   virtual void update();
00037   inline virtual int alive() { return 1; }
00038 
00039 protected:
00041   virtual int do_start(const SensorConfig *);
00042 };
00043 

Generated on Fri Apr 19 02:45:08 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002