Public Slots | Public Member Functions | Protected Member Functions | Private Attributes
rtabmap::DataRecorder Class Reference

#include <DataRecorder.h>

Inheritance diagram for rtabmap::DataRecorder:
Inheritance graph
[legend]

List of all members.

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_
ImageViewimageView_
QLabel * label_
Memorymemory_
UMutex memoryMutex_
QString path_
bool processingImages_
UTimer timer_
int totalSizeKB_

Detailed Description

Definition at line 46 of file DataRecorder.h.


Constructor & Destructor Documentation

rtabmap::DataRecorder::DataRecorder ( QWidget *  parent = 0)

Definition at line 47 of file DataRecorder.cpp.

Definition at line 120 of file DataRecorder.cpp.


Member Function Documentation

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.

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.

Returns:
"true" to notify UEventsManager that this handler took ownership of the event (meaning it must delete it). The event will not be dispatched to next handlers.
"false" to let event be dispatched to next handlers (default behavior). UEventsManager will take care of deleting the event.

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.


Member Data Documentation

Definition at line 74 of file DataRecorder.h.

Definition at line 69 of file DataRecorder.h.

QLabel* rtabmap::DataRecorder::label_ [private]

Definition at line 70 of file DataRecorder.h.

Definition at line 68 of file DataRecorder.h.

Definition at line 67 of file DataRecorder.h.

QString rtabmap::DataRecorder::path_ [private]

Definition at line 72 of file DataRecorder.h.

Definition at line 73 of file DataRecorder.h.

Definition at line 71 of file DataRecorder.h.

Definition at line 75 of file DataRecorder.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:41