ProjectedTextures
Prototype software for spacial augmented reality applications.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
PsEyeCam.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Camera.h"
4 #include <CLEyeMulticam.h>
5 #include <opencv2\legacy\compat.hpp>
6 
10 class PsEyeCam : public Camera
11 {
12  Q_OBJECT
13 
14 public:
21  PsEyeCam(QString name, GUID uuid, CLEyeCameraResolution resolution, QString mode, int gain, int exposure,
22  int targetFps, int bufferSize, QString calibrationFile);
23  ~PsEyeCam(void);
24 
25 protected:
26  void grabFrame();
28  bool color;
30  CLEyeCameraInstance eyeCam;
31  IplImage *pCapImage;
32  PBYTE pCapBuffer;
33  Mat matC4;
34  Mat matC3;
35  Mat matC1;
36 
37 public slots:
38  void setExposure(int exposure);
39  void setGain(int gain);
40 };
41