forked from atsommer/Simplicio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSensicamDriver.h
49 lines (40 loc) · 991 Bytes
/
SensicamDriver.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
#pragma once
#include "CameraDriver.h"
namespace forms2{
public ref class SensicamDriver : public CameraDriver
{
public:
SensicamDriver(void);
~SensicamDriver(){;}
virtual int initCamera() override;
virtual int openCameraDialog() override;
virtual void closeCamera() override;
virtual void lockCameraDialog(bool lock) override;
//settings
virtual int getRows() override;
virtual int getCols() override;
virtual bool isDouble() override;
/*
static const int MODE = 1;
static const int TRIG = 1<<1;
static const int ROIX1 = 1<<2;
static const int ROIX2 = 1<<3;
static const int ROIY1 = 1<<4;
static const int ROIY2 = 1<<5;
static const int HBIN = 1<<6;
static const int VBIN = 1<<7;
// static const int TABLE = 1<<8;
*/
static const int NULL_SETTING = -999;
protected:
int mode;
int trig;
//char table[300];
virtual void getSettings() override;
};
public class SensicamHelper
{
SensicamHelper(){}
~SensicamHelper(){}
};
}