VAT
3.0
Video Analysis Tool
Main Page
ToDo
Modules
Parameters
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
MODULES
trackingmodule.h
1
#ifndef TRACKINGMODULE_H
2
#define TRACKINGMODULE_H
3
4
#include <map>
5
#include <string>
6
#include <QImage>
7
#include "Datapool.h"
8
#include "src/calibration.h"
9
#include <QDir>
10
#include <math.h>
11
#include "src/trackingatribute.h"
12
#include "ModuleInterface.h"
13
14
//
15
16
class
trackingModule
:
public
ModuleInterface
{
17
public
:
18
trackingModule
(
Datapool
*i_data);
19
~
trackingModule
();
20
21
//Set module configuration parameters
22
bool
setParameters(QDomNode& config);
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
private
:
34
35
//Internal data:
36
//QString m_fileName; //para xml
37
position m_pos;
38
//QDomDocument *xmlGT; //para xml
39
//QDomElement root; //para xml
40
//QDomNode currentNode; //para xml
41
int
currentFrame;
42
int
line;
43
44
// Premerge
45
void
preMerge(
int
Hmax);
46
bool
blobSortCriterionPos (
Blob
b1,
Blob
b2);
47
bool
blobSortCriterionBase (
Blob
b1,
Blob
b2);
48
};
49
50
#endif // TRACKINGMODULE_H
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
Blob
Definition:
blob.h:79
trackingModule
Definition:
trackingmodule.h:16
Generated on Fri Jan 15 2016 06:14:51 for VAT by
1.8.11