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

double clusterError () const
 
 EditDepthArea (QWidget *parent=0)
 
cv::Mat getModifiedImage () const
 
bool isModified () const
 
int penWidth () const
 
void setClusterError (double error)
 
void setColorMap (uCvQtDepthColorMap type)
 
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

double clusterError_
 
QAction * clusterErrorCluster_
 
QAction * colorMapBlackToWhite_
 
QAction * colorMapBlueToRed_
 
QAction * colorMapRedToBlue_
 
QAction * colorMapWhiteToBlack_
 
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 45 of file EditDepthArea.h.

Constructor & Destructor Documentation

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

Definition at line 40 of file EditDepthArea.cpp.

Member Function Documentation

double rtabmap::EditDepthArea::clusterError ( ) const
inline

Definition at line 59 of file EditDepthArea.h.

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

Definition at line 224 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::contextMenuEvent ( QContextMenuEvent *  e)
protectedvirtual

Definition at line 354 of file EditDepthArea.cpp.

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

Definition at line 422 of file EditDepthArea.cpp.

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

Definition at line 116 of file EditDepthArea.cpp.

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

Definition at line 54 of file EditDepthArea.h.

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

Definition at line 198 of file EditDepthArea.cpp.

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

Definition at line 186 of file EditDepthArea.cpp.

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

Definition at line 211 of file EditDepthArea.cpp.

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

Definition at line 264 of file EditDepthArea.cpp.

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

Definition at line 57 of file EditDepthArea.h.

void rtabmap::EditDepthArea::resetChanges ( )
slot

Definition at line 153 of file EditDepthArea.cpp.

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

Definition at line 283 of file EditDepthArea.cpp.

void rtabmap::EditDepthArea::setClusterError ( double  error)
inline

Definition at line 58 of file EditDepthArea.h.

void rtabmap::EditDepthArea::setColorMap ( uCvQtDepthColorMap  type)

Definition at line 160 of file EditDepthArea.cpp.

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

Definition at line 77 of file EditDepthArea.cpp.

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

Definition at line 148 of file EditDepthArea.cpp.

Member Data Documentation

double rtabmap::EditDepthArea::clusterError_
private

Definition at line 80 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::clusterErrorCluster_
private

Definition at line 89 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::colorMapBlackToWhite_
private

Definition at line 93 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::colorMapBlueToRed_
private

Definition at line 95 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::colorMapRedToBlue_
private

Definition at line 94 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::colorMapWhiteToBlack_
private

Definition at line 92 of file EditDepthArea.h.

QImage rtabmap::EditDepthArea::image_
private

Definition at line 82 of file EditDepthArea.h.

QImage rtabmap::EditDepthArea::imageRGB_
private

Definition at line 81 of file EditDepthArea.h.

QPoint rtabmap::EditDepthArea::lastPoint_
private

Definition at line 84 of file EditDepthArea.h.

QMenu* rtabmap::EditDepthArea::menu_
private

Definition at line 86 of file EditDepthArea.h.

bool rtabmap::EditDepthArea::modified_
private

Definition at line 77 of file EditDepthArea.h.

int rtabmap::EditDepthArea::myPenWidth_
private

Definition at line 79 of file EditDepthArea.h.

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

Definition at line 83 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::removeCluster_
private

Definition at line 88 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::resetChanges_
private

Definition at line 90 of file EditDepthArea.h.

bool rtabmap::EditDepthArea::scribbling_
private

Definition at line 78 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::setPenWidth_
private

Definition at line 91 of file EditDepthArea.h.

QAction* rtabmap::EditDepthArea::showRGB_
private

Definition at line 87 of file EditDepthArea.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08