commit | author | age
|
69b66f
|
1 |
// G4Trk.h: interface for the CG4Trk class.
|
JS |
2 |
//
|
|
3 |
//////////////////////////////////////////////////////////////////////
|
|
4 |
|
|
5 |
#if !defined(AFX_G4TRK_H__6794A431_226F_4BCD_880E_F4184AEC5EBE__INCLUDED_)
|
|
6 |
#define AFX_G4TRK_H__6794A431_226F_4BCD_880E_F4184AEC5EBE__INCLUDED_
|
|
7 |
|
|
8 |
#if _MSC_VER > 1000
|
|
9 |
#pragma once
|
|
10 |
#endif // _MSC_VER > 1000
|
|
11 |
|
|
12 |
#include "G4TrackIncl.h"
|
|
13 |
#include "G4Hub.h"
|
|
14 |
|
|
15 |
|
|
16 |
class CG4Trk
|
|
17 |
{
|
|
18 |
public:
|
|
19 |
void Boresight(bool enable=true);
|
|
20 |
void GetSrcLoc(float (*loc)[6]);
|
|
21 |
int GetNumSrc();
|
|
22 |
void GetHubList(int* list,int numEl);
|
|
23 |
int GetActHubs();
|
|
24 |
bool Connect(char*);
|
|
25 |
int GetHubsPno(REND_STRUCT*);
|
|
26 |
int UpdateHubs();
|
|
27 |
void GetSetIncr(float& posIncr,float& oriIncr,bool bSet);
|
|
28 |
void SetFilterValues(float* pfilt,float* ofilt);
|
|
29 |
void GetFilterValues(float* pfilt,float* ofilt);
|
|
30 |
|
|
31 |
CG4Trk();
|
|
32 |
virtual ~CG4Trk();
|
|
33 |
|
|
34 |
private:
|
|
35 |
int m_sysId;
|
|
36 |
bool m_bConnected;
|
|
37 |
int m_numHubs;
|
|
38 |
int* m_hubList;
|
|
39 |
LPG4_FRAMEDATA m_pframeData;
|
|
40 |
int m_numSrc;
|
|
41 |
float (*m_srcLoc)[6];
|
|
42 |
};
|
|
43 |
|
|
44 |
#endif // !defined(AFX_G4TRK_H__6794A431_226F_4BCD_880E_F4184AEC5EBE__INCLUDED_)
|