Debian package version of polhemus's g4display
Janis Streib
30.03.22 48e3f3ec6672ba89420338fdfa76018e46750c9e
commit | author | age
69b66f 1 // G4Hub.h: interface for the CG4Hub class.
JS 2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_)
6 #define AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 #include "G4TrackIncl.h"
13
14 #define BYTE unsigned char
15
16 class CG4Hub  
17 {
18 public:
19     void SetColor(const float* col);
20     void Render(GLUquadric* quadric,float scale);
21     void SetId(int id);
22     int GetId();
23     void SetPnoData(float* pno,int sen);
24     CG4Hub();
25     virtual ~CG4Hub();
26
27 private:
28     bool m_senActive[G4_SENSORS_PER_HUB];
29     float m_invCol[3][3];
30     float m_col[3][3];
31     int m_id;
32     float m_pno[G4_SENSORS_PER_HUB][6];
33 };
34
35 #endif // !defined(AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_)