VAT
3.0
Video Analysis Tool
Main Page
ToDo
Modules
Parameters
Classes
Files
File List
File Members
MODULES
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
12
class
FakeSegmentationModule
:
public
ModuleInterface
{
13
public
:
14
FakeSegmentationModule
(
Datapool
*i_data);
15
~
FakeSegmentationModule
();
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
ModuleInterface
Definition:
ModuleInterface.h:43
Datapool
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition:
Datapool.h:39
FakeSegmentationModule
Definition:
FakeSegmentationModule.h:12
Generated on Fri Jan 15 2016 06:14:51 for VAT by
1.8.11