VAT  3.0
Video Analysis Tool
ContextModule.h
1 #ifndef __CONTEXT_MODULE_H__
2 #define __CONTEXT_MODULE_H__
3 
4 #include <map>
5 #include <string>
6 #include <QImage>
7 #include "Datapool.h"
8 #include "ModuleInterface.h"
9 #include "src/ObjectModelReader.h"
10 #include <QDir>
11 
13  public:
14  ContextModule(Datapool *i_data);
15  ~ContextModule();
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
31  QString m_fileName;
32  QString m_ObjectsFileName;
33  ObjectModelReader *oreader;
34  double m_MaximalObjectSpeed;
35  double m_OneMeterRepresentation;
36  bool focalNotChecked;
37  QImage *m_current;
38 
39 };
40 
41 
42 #endif
Definition: ModuleInterface.h:43
Definition: ContextModule.h:12
Definition: ObjectModelReader.h:11
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39