#include <DataRecorder.h>

Public Slots | |
| void | addData (const rtabmap::SensorData &data, const Transform &pose=Transform(), const cv::Mat &infMatrix=cv::Mat::eye(6, 6, CV_64FC1)) |
| void | showImage (const cv::Mat &image, const cv::Mat &depth) |
Public Member Functions | |
| void | closeRecorder () |
| DataRecorder (QWidget *parent=0) | |
| bool | init (const QString &path, bool recordInRAM=true) |
| const QString & | path () const |
| virtual | ~DataRecorder () |
Protected Member Functions | |
| virtual void | closeEvent (QCloseEvent *event) |
| bool | handleEvent (UEvent *event) |
Private Attributes | |
| int | count_ |
| ImageView * | imageView_ |
| QLabel * | label_ |
| Memory * | memory_ |
| UMutex | memoryMutex_ |
| QString | path_ |
| bool | processingImages_ |
| UTimer | timer_ |
| int | totalSizeKB_ |
Definition at line 46 of file DataRecorder.h.
| rtabmap::DataRecorder::DataRecorder | ( | QWidget * | parent = 0 | ) |
Definition at line 47 of file DataRecorder.cpp.
| rtabmap::DataRecorder::~DataRecorder | ( | ) | [virtual] |
Definition at line 120 of file DataRecorder.cpp.
| void rtabmap::DataRecorder::addData | ( | const rtabmap::SensorData & | data, |
| const Transform & | pose = Transform(), |
||
| const cv::Mat & | infMatrix = cv::Mat::eye(6,6,CV_64FC1) |
||
| ) | [slot] |
Definition at line 126 of file DataRecorder.cpp.
| void rtabmap::DataRecorder::closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual] |
Definition at line 165 of file DataRecorder.cpp.
| void rtabmap::DataRecorder::closeRecorder | ( | ) |
Definition at line 101 of file DataRecorder.cpp.
| bool rtabmap::DataRecorder::handleEvent | ( | UEvent * | event | ) | [protected, virtual] |
Method called by the UEventsManager to handle an event. Important : this method must do a minimum of work because the faster the dispatching loop is done; the faster the events are received. If a handling function takes too much time, the events list can grow faster than it is emptied. The event can be modified.
Implements UEventsHandler.
Definition at line 171 of file DataRecorder.cpp.
| bool rtabmap::DataRecorder::init | ( | const QString & | path, |
| bool | recordInRAM = true |
||
| ) |
Definition at line 67 of file DataRecorder.cpp.
| const QString& rtabmap::DataRecorder::path | ( | ) | const [inline] |
Definition at line 57 of file DataRecorder.h.
| void rtabmap::DataRecorder::showImage | ( | const cv::Mat & | image, |
| const cv::Mat & | depth | ||
| ) | [slot] |
Definition at line 156 of file DataRecorder.cpp.
int rtabmap::DataRecorder::count_ [private] |
Definition at line 74 of file DataRecorder.h.
ImageView* rtabmap::DataRecorder::imageView_ [private] |
Definition at line 69 of file DataRecorder.h.
QLabel* rtabmap::DataRecorder::label_ [private] |
Definition at line 70 of file DataRecorder.h.
Memory* rtabmap::DataRecorder::memory_ [private] |
Definition at line 68 of file DataRecorder.h.
UMutex rtabmap::DataRecorder::memoryMutex_ [private] |
Definition at line 67 of file DataRecorder.h.
QString rtabmap::DataRecorder::path_ [private] |
Definition at line 72 of file DataRecorder.h.
bool rtabmap::DataRecorder::processingImages_ [private] |
Definition at line 73 of file DataRecorder.h.
UTimer rtabmap::DataRecorder::timer_ [private] |
Definition at line 71 of file DataRecorder.h.
int rtabmap::DataRecorder::totalSizeKB_ [private] |
Definition at line 75 of file DataRecorder.h.