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_FreeVRTracker.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 * Representation of the Tracker in FreeVR 00020 ***************************************************************************/ 00021 00022 #include "P_Tracker.h" 00023 00024 class VMDApp; 00025 00027 class FreeVRTracker : public VMDTracker { 00028 private: 00029 VMDApp *app; 00030 00031 public: 00032 inline FreeVRTracker(VMDApp *vmdapp) : VMDTracker() { app=vmdapp; }; 00033 virtual VMDTracker *clone() { return new FreeVRTracker(app); } 00034 const char *device_name() const { return "freevrtracker"; } 00035 virtual void update(); 00036 inline virtual int alive() { return 1; } 00037 00038 protected: 00039 virtual int do_start(const SensorConfig *); 00040 }; 00041