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