VAT  3.0
Video Analysis Tool
setForeground.h
1 #ifndef SETFOREGROUND_H
2 #define SETFOREGROUND_H
3 
4 #include "Datapool.h"
5 #include "drawInterface.h"
6 
7 
9 {
10 public:
11  setForeground(Datapool *i_data);
12 
13  ~setForeground();
14 
15  //Set module configuration parameters
16  bool setParameters(QDomNode &config);
17 
18  //Initialization after reading parameters
19  bool init();
20 
21  //Function executed at each frame
22  bool draw(QImage **image);
23 
24  bool paint(QImage *image);
25 
26  bool m_setROI;
27  int m_dx;
28  int m_dy;
29  int m_w;
30  int m_h;
31  int m_wscale;
32 
33 };
34 
35 #endif // setForeground_H
Definition: setForeground.h:8
Definition: drawInterface.h:23
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39