-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDrawTimestampData.cpp
More file actions
executable file
·31 lines (26 loc) · 987 Bytes
/
DrawTimestampData.cpp
File metadata and controls
executable file
·31 lines (26 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* @file DrawTimestampData.cpp
* @ingroup Drawing
* @author Dominique Vaufreydaz, Grenoble Alpes University, Inria
* @copyright All right reserved.
*/
#include "DrawTimestampData.h"
using namespace cv;
using namespace MobileRGBD;
/** @brief constructor. Draw the telemeter in the image. Default drawing mode is PointToLine.
* @param WorkingFile [in] Timestamp file to read.
* @param RawFile [in] Raw file to read if any (Default = "").
* @param SizeOfFrame [in] SizeOfFrame inside the raw file. (Default = 0 => can be set later);
*/
DrawTimestampData::DrawTimestampData( const std::string &WorkingFile )
: ReadTimestampFile( WorkingFile )
{
}
/** @brief Draw data in image. Will call the Process function.
* @param WhereToDraw [in] Drawing cv::Mat.
* @param pTimestamp [in] Timestamp of the data.
*/
bool DrawTimestampData::Draw( Mat& WhereToDraw, const TimeB &RequestTimestamp )
{
return Process( RequestTimestamp, (void*)&WhereToDraw );
}