VAT  3.0
Video Analysis Tool
gtstructures.h
1 #ifndef GTSTRUCTURES_H
2 #define GTSTRUCTURES_H
3 
4 #include <QString>
5 #include <QRect>
6 /* parameterType
7  * name Nombre del atributo
8  * attribute Lista con posibles valores (QStrings) del atributo.
9  * number Numero asociado a cada valor del atributo.
10  */
11 typedef struct{
12  QString name;
13  QList<QString> attribute;
14  QList<QString> number;
16 
17 /* classType
18  * className Nombre de la clase
19  * parameters Lista de parametros que la componen.
20  */
21 typedef struct{
22  QString className;
23  QList<parameterType> parameters;
24 } classType;
25 
26 /* boundingBox
27  * className Clase a la cual pertenece
28  * ID numero de identificación
29  * box Posición y dimensiones de la caja en pixeles
30  * paramValues Valores de sus atributos.
31  */
32 typedef struct{
33  QString className;
34  int ID;
35  QRect box;
36  QList<int> paramValues;
37 } boundingBox;
38 
39 #endif // GTSTRUCTURES_H
Definition: gtstructures.h:21
Definition: gtstructures.h:11
Definition: gtstructures.h:32