VAT  3.0
Video Analysis Tool
FakeSegmentationModule.h
1 #ifndef __FAKESEGMENTATION_MODULE_H__
2 #define __FAKESEGMENTATION_MODULE_H__
3 
4 #include <map>
5 #include <string>
6 #include <QImage>
7 #include "Datapool.h"
8 #include "ModuleInterface.h"
9 
10 #include <QDir>
11 
13  public:
16 
17  //Set module configuration parameters
18  bool setParameters(QDomNode& config);
19 
20  //Initialization after reading parameters
21  bool init();
22 
23  //Function executed at each frame
24  bool run();
25 
26  //update parameters at runtime.
27  bool updateParameters();
28 
29  private:
30  //Internal data:
31  QString m_fileName;
32  QDomDocument *xmlGT;
33  QDomElement root;
34  QDomNode currentNode;
35  int currentFrame;
36  int line;
37 };
38 
39 
40 #endif
Definition: ModuleInterface.h:43
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39
Definition: FakeSegmentationModule.h:12