-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviewer.h
50 lines (41 loc) · 1.02 KB
/
viewer.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
50
#ifndef VIEWER_H
#define VIEWER_H
#include "camera.h"
#include "image.h"
#include "palette.h"
#include "genicam.h"
#include <vector>
struct Viewer {
std::vector<Camera *> cameras;
Camera *camera;
char *selectedCamera;
Image *image;
double timeout;
int numImages;
int numAllImages;
int numErrors;
double numBytes;
float scaleWidth;
float scaleHeight;
PaletteList paletteList;
int paletteCurrentIndex;
Genicam *genicam;
Viewer(void);
~Viewer(void);
void clearCameraList(void);
void selectCamera(const unsigned int _index);
void stopCamera(void);
void startCamera(void);
void showCameraList(void);
void showCameraInfo(void);
void showCameraImage(void);
void showCameraFeatures(void);
void handleImageBinning(void);
void handleImageOffset(void);
void handleImageSize(void);
void handleImagePixelFormat(void);
void handleImageFrameRate(void);
void handleGain(void);
void handleExposure(void);
};
#endif // VIEWER_H