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

#include <EditDepthArea.h>

List of all members.

Public Slots

void resetChanges ()

Public Member Functions

 EditDepthArea (QWidget *parent=0)
cv::Mat getModifiedImage () const
bool isModified () const
int penWidth () const
void setImage (const cv::Mat &depth, const cv::Mat &rgb=cv::Mat())
void setPenWidth (int newWidth)

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *e)
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void paintEvent (QPaintEvent *event)
virtual void resizeEvent (QResizeEvent *event)

Private Member Functions

void computeScaleOffsets (const QRect &targetRect, float &scale, float &offsetX, float &offsetY) const
void drawLineTo (const QPoint &endPoint)

Private Attributes

QImage image_
QImage imageRGB_
QPoint lastPoint_
QMenu * menu_
bool modified_
int myPenWidth_
cv::Mat originalImage_
QAction * removeCluster_
QAction * resetChanges_
bool scribbling_
QAction * setPenWidth_
QAction * showRGB_

Detailed Description

Definition at line 44 of file EditDepthArea.h.


Constructor & Destructor Documentation

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

Definition at line 41 of file EditDepthArea.cpp.


Member Function Documentation

void rtabmap::EditDepthArea::computeScaleOffsets ( const QRect &  targetRect,
float &  scale,
float &  offsetX,
float &  offsetY 
) const [private]

Definition at line 164 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::contextMenuEvent ( QContextMenuEvent *  e) [protected, virtual]

Definition at line 266 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::drawLineTo ( const QPoint &  endPoint) [private]

Definition at line 303 of file EditDepthArea.cpp.

Definition at line 82 of file EditDepthArea.cpp.

bool rtabmap::EditDepthArea::isModified ( ) const [inline]

Definition at line 53 of file EditDepthArea.h.

void rtabmap::EditDepthArea::mouseMoveEvent ( QMouseEvent *  event) [protected, virtual]

Definition at line 138 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::mousePressEvent ( QMouseEvent *  event) [protected, virtual]

Definition at line 126 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::mouseReleaseEvent ( QMouseEvent *  event) [protected, virtual]

Definition at line 151 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::paintEvent ( QPaintEvent *  event) [protected, virtual]

Definition at line 204 of file EditDepthArea.cpp.

int rtabmap::EditDepthArea::penWidth ( ) const [inline]

Definition at line 56 of file EditDepthArea.h.

Definition at line 119 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::resizeEvent ( QResizeEvent *  event) [protected, virtual]

Definition at line 223 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::setImage ( const cv::Mat &  depth,
const cv::Mat &  rgb = cv::Mat() 
)

Definition at line 58 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::setPenWidth ( int  newWidth)

Definition at line 114 of file EditDepthArea.cpp.


Member Data Documentation

Definition at line 77 of file EditDepthArea.h.

Definition at line 76 of file EditDepthArea.h.

Definition at line 79 of file EditDepthArea.h.

Definition at line 81 of file EditDepthArea.h.

Definition at line 73 of file EditDepthArea.h.

Definition at line 75 of file EditDepthArea.h.

Definition at line 78 of file EditDepthArea.h.

Definition at line 83 of file EditDepthArea.h.

Definition at line 84 of file EditDepthArea.h.

Definition at line 74 of file EditDepthArea.h.

Definition at line 85 of file EditDepthArea.h.

Definition at line 82 of file EditDepthArea.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