Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

cybuserc.h

Go to the documentation of this file.
00001 #ifndef CYBUSERC_H
00002 #define CYBUSERC_H
00003 
00004 
00005 #include "oaw/misc/vectorc.h"
00006 #include "oaw/misc/matrixc.h"
00007 #include "../oawconfig.h"
00008 
00009 OAW_BEGIN_NAMESPACE
00010 
00011 
00012 class CybSixDOFSensorC;
00013 
00014 class OAW_DLLMAPPING CybUserC{
00015 public:
00016   CybUserC();
00017   virtual ~CybUserC();
00018   const VectorC& GetHeadCenter() const {return m_eyesCenter;}
00019   const Matrix4C& GetHeadOri() const {return m_R;}
00020   const VectorC& GetLeftEye()const {return m_leftEye;}
00021   const VectorC& GetRightEye()const {return m_rightEye;}
00022   void SetHeadtracker(CybSixDOFSensorC* p){m_pHeadtracker = p;}
00023   void SetEyedist(const double& d){m_eyedist=d;}
00024   void Update();
00025   void Freeze(short b){m_bFreeze =b;}
00026 protected:
00027   CybSixDOFSensorC* m_pHeadtracker;
00028   double m_eyedist;
00029   
00030   VectorC m_leftEye;
00031   VectorC m_rightEye;
00032   VectorC m_eyesCenter;
00033   Matrix4C m_R;
00034 
00035   short m_bFreeze;
00036   VectorC m_v;
00037 };
00038 
00039 OAW_END_NAMESPACE
00040 
00041 
00042 #endif
00043 
00044 
00045 
00046 
00047 
00048 
00049 

Generated on Tue Jul 29 14:24:14 2003 for Open ActiveWrl by doxygen1.3-rc2