ProjectedTextures
Prototype software for spacial augmented reality applications.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
OpenCvCam.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Camera.h"
4 
5 
9 class OpenCvCam : public Camera
10 {
11  Q_OBJECT
12 
13 public:
18  OpenCvCam(QString name, int deviceId, int frameWidth, int frameHeight, int targetFps, int bufferSize, QString calibrationFile);
19  ~OpenCvCam(void);
20 
21 protected:
22  VideoCapture cap;
24  void grabFrame();
26 public slots:
27  void setExposure(int exposure){}
28  void setGain(int gain){}
29 };
30