VAT  3.0
Video Analysis Tool
AcquisitionInterface.h
1 #ifndef __ACQUISITION_INTERFACE_H__
2 #define __ACQUISITION_INTERFACE_H__
3 
4 #include <map>
5 #include <string>
6 #include <QImage>
7 #include "Datapool.h"
8 #include <QDir>
9 #include "string.h"
10 #include <opencv2/core/core.hpp>
11 #include <opencv2/highgui/highgui.hpp>
12 #include <iostream>
13 #include <opencv2/core/mat.hpp>
14 #include "../ModuleInterface.h"
15 
17  public:
19  virtual ~AcquisitionInterface();
20 
21  //Set module configuration parameters
22  bool setParameters(QDomNode& configTree);
23 
24  //Initialization after reading parameters
25  bool init();
26 
27  //Function executed at each frame
28  bool run();
29 
30  //update parameters at runtime.
31  bool updateParameters();
32 
33 
34 protected:
35 
36  virtual void setParametersAcquisition(QDomNode& configTree) = 0;
37  virtual void setImageDimension() = 0;
38  virtual void getNextFrame() = 0;
39  virtual void updatesParametersFromForm() = 0;
40 
41 };
42 
43 
44 #endif //__ACQUISITION_INTERFACE_H__
Definition: ModuleInterface.h:43
Definition: AcquisitionInterface.h:16
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39