forked from RoyWiggins/mtrk_seq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmtrk_UI.h
49 lines (37 loc) · 1.17 KB
/
mtrk_UI.h
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef mtrk_UI_h
#define mtrk_UI_h 1
#include "MrServers/MrProtSrv/MrProtocol/libUICtrl/UICtrl.h"
#ifdef WIN32
#include "MrServers/MrProtSrv/MrProtocol/libUILink/UILinkLimited.h"
#include "MrServers/MrProtSrv/MrProtocol/libUILink/UILinkSelection.h"
#endif
class MrProt;
class SeqLim;
class SeqExpo;
class Sequence;
namespace SEQ_NAMESPACE
{
namespace MTRK_UI
{
#ifdef WIN32
bool getLimitsReadoutFOV(LINK_DOUBLE_TYPE* const pThis, std::vector<MrLimitDouble>& rLimitVector, unsigned long& rulVerify, long /*lIndex*/);
double setValueReadFOV(LINK_DOUBLE_TYPE* const pThis, double dDesiredPhaseFOV, long lIndex);
double getValuePhaseFOV(LINK_DOUBLE_TYPE* const pThis, long lIndex);
long setValueSGList(LINK_LONG_TYPE* const pThis, long dDesiredValue, long lIndex);
#endif
}
class mtrkUI
{
public:
mtrkUI();
virtual ~mtrkUI();
NLS_STATUS registerUI (SeqLim &rSeqLim);
#ifdef WIN32
UILimitedElement<LINK_DOUBLE_TYPE> m_ReadFoV;
UILimitedElement<LINK_DOUBLE_TYPE> m_PhaseFoV;
UILimitedElement<LINK_LONG_TYPE> m_SGList;
void test(SeqLim& rSeqLim);
#endif
};
};
#endif