home *** CD-ROM | disk | FTP | other *** search
/ VRML Tools for 3D Cyberspace / VRML_Tools_For_3D_Cyberspace.iso / amber / include / viotrk.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-01  |  1020 b   |  49 lines

  1. //**********************************************************************
  2. //  DIVE Laboratories, Inc.
  3. //  Copyright(c) 1995
  4. //  All rights reserved.
  5. //  FILE:   VIOTRK.HPP
  6. //
  7. //  DESCRIPTION
  8. //  This file provides the function prototypes for the vioTrkClass
  9. //  that is the driver for the Virtual I/O tracker.
  10. //
  11. //  Author: M. Doucet
  12. //
  13. //  Modification History:
  14. //  7/3/95    Created
  15. //
  16. //**********************************************************************
  17. #ifndef _VIOTRK_HPP
  18. #define _VIOTRK_HPP
  19.  
  20. #include "sensor.hpp"
  21. #include "style.hpp"
  22.  
  23. class vioTrkClass : public sensorClass, public styleClass {
  24.  
  25. private:
  26.  
  27.     V3 angle;
  28.  
  29. public:
  30.  
  31.     void style(void);
  32.  
  33.     void init();
  34.  
  35.     int  isActive();
  36.  
  37.     void mouseEvent(mouseEventEnum event, I2 point, void *wnd);
  38.  
  39.     vioTrkClass(portEnumType               port=COM1,
  40.                 int                        baud=19200,
  41.                 sensorAngleEnumType    sa = ABSOLUTE_ANGLES,
  42.                     sensorPositionEnumType sp = NO_POSITIONS);
  43.  
  44.     ~vioTrkClass();
  45.  
  46. };
  47.  
  48. #endif
  49.