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

◆ EditDepthArea()

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

Definition at line 41 of file EditDepthArea.cpp.

Member Function Documentation

◆ clusterError()

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

Definition at line 59 of file EditDepthArea.h.

◆ computeScaleOffsets()

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

Definition at line 225 of file EditDepthArea.cpp.

◆ contextMenuEvent()

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

Definition at line 355 of file EditDepthArea.cpp.

◆ drawLineTo()

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

Definition at line 423 of file EditDepthArea.cpp.

◆ getModifiedImage()

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

Definition at line 117 of file EditDepthArea.cpp.

◆ isModified()

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

Definition at line 54 of file EditDepthArea.h.

◆ mouseMoveEvent()

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

Definition at line 199 of file EditDepthArea.cpp.

◆ mousePressEvent()

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

Definition at line 187 of file EditDepthArea.cpp.

◆ mouseReleaseEvent()

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

Definition at line 212 of file EditDepthArea.cpp.

◆ paintEvent()

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

Definition at line 265 of file EditDepthArea.cpp.

◆ penWidth()

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

Definition at line 57 of file EditDepthArea.h.

◆ resetChanges

void rtabmap::EditDepthArea::resetChanges ( )
slot

Definition at line 154 of file EditDepthArea.cpp.

◆ resizeEvent()

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

Definition at line 284 of file EditDepthArea.cpp.

◆ setClusterError()

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

Definition at line 58 of file EditDepthArea.h.

◆ setColorMap()

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

Definition at line 161 of file EditDepthArea.cpp.

◆ setImage()

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

Definition at line 78 of file EditDepthArea.cpp.

◆ setPenWidth()

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

Definition at line 149 of file EditDepthArea.cpp.

Member Data Documentation

◆ clusterError_

double rtabmap::EditDepthArea::clusterError_
private

Definition at line 80 of file EditDepthArea.h.

◆ clusterErrorCluster_

QAction* rtabmap::EditDepthArea::clusterErrorCluster_
private

Definition at line 89 of file EditDepthArea.h.

◆ colorMapBlackToWhite_

QAction* rtabmap::EditDepthArea::colorMapBlackToWhite_
private

Definition at line 93 of file EditDepthArea.h.

◆ colorMapBlueToRed_

QAction* rtabmap::EditDepthArea::colorMapBlueToRed_
private

Definition at line 95 of file EditDepthArea.h.

◆ colorMapRedToBlue_

QAction* rtabmap::EditDepthArea::colorMapRedToBlue_
private

Definition at line 94 of file EditDepthArea.h.

◆ colorMapWhiteToBlack_

QAction* rtabmap::EditDepthArea::colorMapWhiteToBlack_
private

Definition at line 92 of file EditDepthArea.h.

◆ image_

QImage rtabmap::EditDepthArea::image_
private

Definition at line 82 of file EditDepthArea.h.

◆ imageRGB_

QImage rtabmap::EditDepthArea::imageRGB_
private

Definition at line 81 of file EditDepthArea.h.

◆ lastPoint_

QPoint rtabmap::EditDepthArea::lastPoint_
private

Definition at line 84 of file EditDepthArea.h.

◆ menu_

QMenu* rtabmap::EditDepthArea::menu_
private

Definition at line 86 of file EditDepthArea.h.

◆ modified_

bool rtabmap::EditDepthArea::modified_
private

Definition at line 77 of file EditDepthArea.h.

◆ myPenWidth_

int rtabmap::EditDepthArea::myPenWidth_
private

Definition at line 79 of file EditDepthArea.h.

◆ originalImage_

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

Definition at line 83 of file EditDepthArea.h.

◆ removeCluster_

QAction* rtabmap::EditDepthArea::removeCluster_
private

Definition at line 88 of file EditDepthArea.h.

◆ resetChanges_

QAction* rtabmap::EditDepthArea::resetChanges_
private

Definition at line 90 of file EditDepthArea.h.

◆ scribbling_

bool rtabmap::EditDepthArea::scribbling_
private

Definition at line 78 of file EditDepthArea.h.

◆ setPenWidth_

QAction* rtabmap::EditDepthArea::setPenWidth_
private

Definition at line 91 of file EditDepthArea.h.

◆ showRGB_

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 Thu Jul 25 2024 02:50:27