Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rtabmap::EditDepthArea Class Reference

#include <EditDepthArea.h>

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

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)
protectedvirtual

Definition at line 266 of file EditDepthArea.cpp.

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

Definition at line 303 of file EditDepthArea.cpp.

cv::Mat rtabmap::EditDepthArea::getModifiedImage ( ) const

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)
protectedvirtual

Definition at line 138 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 126 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 151 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 204 of file EditDepthArea.cpp.

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

Definition at line 56 of file EditDepthArea.h.

void rtabmap::EditDepthArea::resetChanges ( )
slot

Definition at line 119 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::resizeEvent ( QResizeEvent *  event)
protectedvirtual

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

QImage rtabmap::EditDepthArea::image_
private

Definition at line 77 of file EditDepthArea.h.

QImage rtabmap::EditDepthArea::imageRGB_
private

Definition at line 76 of file EditDepthArea.h.

QPoint rtabmap::EditDepthArea::lastPoint_
private

Definition at line 79 of file EditDepthArea.h.

QMenu* rtabmap::EditDepthArea::menu_
private

Definition at line 81 of file EditDepthArea.h.

bool rtabmap::EditDepthArea::modified_
private

Definition at line 73 of file EditDepthArea.h.

int rtabmap::EditDepthArea::myPenWidth_
private

Definition at line 75 of file EditDepthArea.h.

cv::Mat rtabmap::EditDepthArea::originalImage_
private

Definition at line 78 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::removeCluster_
private

Definition at line 83 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::resetChanges_
private

Definition at line 84 of file EditDepthArea.h.

bool rtabmap::EditDepthArea::scribbling_
private

Definition at line 74 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::setPenWidth_
private

Definition at line 85 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::showRGB_
private

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 Wed Jun 5 2019 22:43:43