Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thiago Santini
EyeRecToo
Commits
95d6f8ef
Commit
95d6f8ef
authored
Apr 18, 2019
by
Thiago Santini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makes column headers private
parent
5f3ac22e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
41 deletions
+42
-41
EyeRecToo/src/data/DataTuple.h
EyeRecToo/src/data/DataTuple.h
+6
-5
EyeRecToo/src/data/EyeData.h
EyeRecToo/src/data/EyeData.h
+20
-20
EyeRecToo/src/data/FieldData.h
EyeRecToo/src/data/FieldData.h
+16
-16
No files found.
EyeRecToo/src/data/DataTuple.h
View file @
95d6f8ef
...
@@ -35,11 +35,6 @@ public:
...
@@ -35,11 +35,6 @@ public:
cv
::
Mat
gazeEstimationVisualization
;
cv
::
Mat
gazeEstimationVisualization
;
bool
showGazeEstimationVisualization
;
bool
showGazeEstimationVisualization
;
static
const
QString
TIMESTAMP
;
static
const
QString
LEFT_EYE_PREFIX
;
static
const
QString
RIGHT_EYE_PREFIX
;
static
const
QString
FIELD_PREFIX
;
static
QString
header
()
static
QString
header
()
{
{
return
journalField
(
TIMESTAMP
)
%
FieldData
().
header
(
FIELD_PREFIX
)
%
EyeData
().
header
(
LEFT_EYE_PREFIX
)
%
EyeData
().
header
(
RIGHT_EYE_PREFIX
);
return
journalField
(
TIMESTAMP
)
%
FieldData
().
header
(
FIELD_PREFIX
)
%
EyeData
().
header
(
LEFT_EYE_PREFIX
)
%
EyeData
().
header
(
RIGHT_EYE_PREFIX
);
...
@@ -48,6 +43,12 @@ public:
...
@@ -48,6 +43,12 @@ public:
{
{
return
journalField
(
timestamp
)
%
field
.
toQString
()
%
lEye
.
toQString
()
%
rEye
.
toQString
();
return
journalField
(
timestamp
)
%
field
.
toQString
()
%
lEye
.
toQString
()
%
rEye
.
toQString
();
}
}
private:
static
const
QString
TIMESTAMP
;
static
const
QString
LEFT_EYE_PREFIX
;
static
const
QString
RIGHT_EYE_PREFIX
;
static
const
QString
FIELD_PREFIX
;
};
};
#endif // DATATUPLE_H
#endif // DATATUPLE_H
EyeRecToo/src/data/EyeData.h
View file @
95d6f8ef
...
@@ -54,26 +54,6 @@ public:
...
@@ -54,26 +54,6 @@ public:
cv
::
Rect
coarseROI
;
cv
::
Rect
coarseROI
;
std
::
shared_ptr
<
CameraCalibration
>
cameraCalibration
;
std
::
shared_ptr
<
CameraCalibration
>
cameraCalibration
;
static
const
QString
TIMESTAMP
;
static
const
QString
PUPIL_X
;
static
const
QString
PUPIL_Y
;
static
const
QString
PUPIL_WIDTH
;
static
const
QString
PUPIL_HEIGHT
;
static
const
QString
PUPIL_ANGLE
;
static
const
QString
PUPIL_CONFIDENCE
;
static
const
QString
GAZE_X
;
static
const
QString
GAZE_Y
;
static
const
QString
GAZE_Z
;
static
const
QString
INSTANTANEOUS_GAZE_X
;
static
const
QString
INSTANTANEOUS_GAZE_Y
;
static
const
QString
INSTANTANEOUS_GAZE_Z
;
static
const
QString
EYE_X
;
static
const
QString
EYE_Y
;
static
const
QString
EYE_Z
;
static
const
QString
EYE_CONFIDENCE
;
static
const
QString
VALID
;
static
const
QString
PROCESSING_TIME
;
// TODO: header, toQString, and the reading from file (see the Calibration class) should be unified
// TODO: header, toQString, and the reading from file (see the Calibration class) should be unified
// to avoid placing things in the wrong order / with the wrong string
// to avoid placing things in the wrong order / with the wrong string
QString
header
(
QString
prefix
=
""
)
const
override
QString
header
(
QString
prefix
=
""
)
const
override
...
@@ -122,6 +102,26 @@ private:
...
@@ -122,6 +102,26 @@ private:
str
.
append
(
journalField
(
validPupil
));
str
.
append
(
journalField
(
validPupil
));
str
.
append
(
journalField
(
processingTimestamp
));
str
.
append
(
journalField
(
processingTimestamp
));
}
}
static
const
QString
TIMESTAMP
;
static
const
QString
PUPIL_X
;
static
const
QString
PUPIL_Y
;
static
const
QString
PUPIL_WIDTH
;
static
const
QString
PUPIL_HEIGHT
;
static
const
QString
PUPIL_ANGLE
;
static
const
QString
PUPIL_CONFIDENCE
;
static
const
QString
GAZE_X
;
static
const
QString
GAZE_Y
;
static
const
QString
GAZE_Z
;
static
const
QString
INSTANTANEOUS_GAZE_X
;
static
const
QString
INSTANTANEOUS_GAZE_Y
;
static
const
QString
INSTANTANEOUS_GAZE_Z
;
static
const
QString
EYE_X
;
static
const
QString
EYE_Y
;
static
const
QString
EYE_Z
;
static
const
QString
EYE_CONFIDENCE
;
static
const
QString
VALID
;
static
const
QString
PROCESSING_TIME
;
};
};
Q_DECLARE_METATYPE
(
EyeData
)
Q_DECLARE_METATYPE
(
EyeData
)
...
...
EyeRecToo/src/data/FieldData.h
View file @
95d6f8ef
...
@@ -51,22 +51,6 @@ public:
...
@@ -51,22 +51,6 @@ public:
unsigned
int
height
;
unsigned
int
height
;
std
::
shared_ptr
<
CameraCalibration
>
cameraCalibration
;
std
::
shared_ptr
<
CameraCalibration
>
cameraCalibration
;
static
const
QString
TIMESTAMP
;
static
const
QString
GAZE_X
;
static
const
QString
GAZE_Y
;
static
const
QString
GAZE_CONFIDENCE
;
static
const
QString
GAZE_VALID
;
static
const
QString
GAZE_META
;
static
const
QString
CM_ID
;
static
const
QString
CM_X
;
static
const
QString
CM_Y
;
static
const
QString
CM_Z
;
static
const
QString
UNDISTORTED
;
static
const
QString
WIDTH
;
static
const
QString
HEIGHT
;
static
const
QString
MARKERS
;
static
const
QString
PROCESSING_TIME
;
QString
header
(
QString
prefix
=
""
)
const
override
QString
header
(
QString
prefix
=
""
)
const
override
{
{
return
prefix
%
journalField
(
TIMESTAMP
)
return
prefix
%
journalField
(
TIMESTAMP
)
...
@@ -107,6 +91,22 @@ private:
...
@@ -107,6 +91,22 @@ private:
str
.
append
(
Token
::
Delimiter
);
str
.
append
(
Token
::
Delimiter
);
str
.
append
(
journalField
(
processingTimestamp
));
str
.
append
(
journalField
(
processingTimestamp
));
}
}
static
const
QString
TIMESTAMP
;
static
const
QString
GAZE_X
;
static
const
QString
GAZE_Y
;
static
const
QString
GAZE_CONFIDENCE
;
static
const
QString
GAZE_VALID
;
static
const
QString
GAZE_META
;
static
const
QString
CM_ID
;
static
const
QString
CM_X
;
static
const
QString
CM_Y
;
static
const
QString
CM_Z
;
static
const
QString
UNDISTORTED
;
static
const
QString
WIDTH
;
static
const
QString
HEIGHT
;
static
const
QString
MARKERS
;
static
const
QString
PROCESSING_TIME
;
};
};
Q_DECLARE_METATYPE
(
FieldData
)
Q_DECLARE_METATYPE
(
FieldData
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment