#include <ImageView.h>

Signals | |
| void | configChanged () |
Public Member Functions | |
| void | addFeature (int id, const cv::KeyPoint &kpt, float depth, QColor color) |
| void | addLine (float x1, float y1, float x2, float y2, QColor color, const QString &text=QString()) |
| void | clear () |
| void | clearFeatures () |
| void | clearLines () |
| int | getAlpha () const |
| const QColor & | getBackgroundColor () const |
| const QColor & | getDefaultBackgroundColor () const |
| const QColor & | getDefaultFeatureColor () const |
| const QColor & | getDefaultMatchingFeatureColor () const |
| const QColor & | getDefaultMatchingLineColor () const |
| uCvQtDepthColorMap | getDepthColorMap () const |
| float | getDepthColorMapRange () const |
| const QMultiMap< int, rtabmap::KeypointItem * > & | getFeatures () const |
| int | getFeaturesSize () const |
| int | getLinesWidth () const |
| ImageView (QWidget *parent=0) | |
| bool | isFeaturesShown () const |
| bool | isGraphicsViewMode () const |
| bool | isGraphicsViewScaled () const |
| bool | isGraphicsViewScaledToHeight () const |
| bool | isImageDepthShown () const |
| bool | isImageShown () const |
| bool | isLinesShown () const |
| void | loadSettings (QSettings &settings, const QString &group="") |
| void | saveSettings (QSettings &settings, const QString &group="") const |
| QRectF | sceneRect () const |
| void | setAlpha (int alpha) |
| void | setBackgroundColor (const QColor &color) |
| void | setDefaultBackgroundColor (const QColor &color) |
| void | setDefaultFeatureColor (const QColor &color) |
| void | setDefaultMatchingFeatureColor (const QColor &color) |
| void | setDefaultMatchingLineColor (const QColor &color) |
| void | setDepthColorMapRange (float value) |
| void | setFeatureColor (int id, QColor color) |
| void | setFeatures (const std::multimap< int, cv::KeyPoint > &refWords, const cv::Mat &depth=cv::Mat(), const QColor &color=Qt::yellow) |
| void | setFeatures (const std::vector< cv::KeyPoint > &features, const cv::Mat &depth=cv::Mat(), const QColor &color=Qt::yellow) |
| void | setFeaturesColor (QColor color) |
| void | setFeaturesShown (bool shown) |
| void | setFeaturesSize (int size) |
| void | setGraphicsViewMode (bool on) |
| void | setGraphicsViewScaled (bool scaled) |
| void | setGraphicsViewScaledToHeight (bool scaled) |
| void | setImage (const QImage &image) |
| void | setImageDepth (const cv::Mat &imageDepth) |
| void | setImageDepth (const QImage &image) |
| void | setImageDepthShown (bool shown) |
| void | setImageShown (bool shown) |
| void | setLinesShown (bool shown) |
| void | setLinesWidth (int width) |
| void | setSceneRect (const QRectF &rect) |
| virtual QSize | sizeHint () const |
| float | viewScale () const |
| virtual | ~ImageView () |
Protected Member Functions | |
| virtual void | contextMenuEvent (QContextMenuEvent *e) |
| virtual void | paintEvent (QPaintEvent *event) |
| virtual void | resizeEvent (QResizeEvent *event) |
Private Slots | |
| void | sceneRectChanged (const QRectF &rect) |
Private Member Functions | |
| void | computeScaleOffsets (const QRect &targetRect, float &scale, float &offsetX, float &offsetY) const |
| QIcon | createIcon (const QColor &color) |
| void | updateOpacity () |
Definition at line 48 of file ImageView.h.
| rtabmap::ImageView::ImageView | ( | QWidget * | parent = 0 | ) |
Definition at line 169 of file ImageView.cpp.
|
virtual |
Definition at line 274 of file ImageView.cpp.
| void rtabmap::ImageView::addFeature | ( | int | id, |
| const cv::KeyPoint & | kpt, | ||
| float | depth, | ||
| QColor | color | ||
| ) |
Definition at line 1109 of file ImageView.cpp.
| void rtabmap::ImageView::addLine | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| QColor | color, | ||
| const QString & | text = QString() |
||
| ) |
Definition at line 1127 of file ImageView.cpp.
| void rtabmap::ImageView::clear | ( | ) |
Definition at line 1357 of file ImageView.cpp.
| void rtabmap::ImageView::clearFeatures | ( | ) |
Definition at line 1346 of file ImageView.cpp.
| void rtabmap::ImageView::clearLines | ( | ) |
Definition at line 1335 of file ImageView.cpp.
|
private |
Definition at line 703 of file ImageView.cpp.
|
signal |
|
protectedvirtual |
Definition at line 835 of file ImageView.cpp.
|
private |
Definition at line 162 of file ImageView.cpp.
|
inline |
Definition at line 64 of file ImageView.h.
| const QColor & rtabmap::ImageView::getBackgroundColor | ( | ) | const |
Definition at line 390 of file ImageView.cpp.
| const QColor & rtabmap::ImageView::getDefaultBackgroundColor | ( | ) | const |
Definition at line 373 of file ImageView.cpp.
| const QColor & rtabmap::ImageView::getDefaultFeatureColor | ( | ) | const |
Definition at line 377 of file ImageView.cpp.
| const QColor & rtabmap::ImageView::getDefaultMatchingFeatureColor | ( | ) | const |
Definition at line 381 of file ImageView.cpp.
| const QColor & rtabmap::ImageView::getDefaultMatchingLineColor | ( | ) | const |
Definition at line 385 of file ImageView.cpp.
| uCvQtDepthColorMap rtabmap::ImageView::getDepthColorMap | ( | ) | const |
Definition at line 400 of file ImageView.cpp.
| float rtabmap::ImageView::getDepthColorMapRange | ( | ) | const |
Definition at line 395 of file ImageView.cpp.
|
inline |
Definition at line 108 of file ImageView.h.
|
inline |
Definition at line 65 of file ImageView.h.
|
inline |
Definition at line 66 of file ImageView.h.
| bool rtabmap::ImageView::isFeaturesShown | ( | ) | const |
Definition at line 353 of file ImageView.cpp.
| bool rtabmap::ImageView::isGraphicsViewMode | ( | ) | const |
Definition at line 358 of file ImageView.cpp.
| bool rtabmap::ImageView::isGraphicsViewScaled | ( | ) | const |
Definition at line 363 of file ImageView.cpp.
| bool rtabmap::ImageView::isGraphicsViewScaledToHeight | ( | ) | const |
Definition at line 368 of file ImageView.cpp.
| bool rtabmap::ImageView::isImageDepthShown | ( | ) | const |
Definition at line 348 of file ImageView.cpp.
| bool rtabmap::ImageView::isImageShown | ( | ) | const |
Definition at line 343 of file ImageView.cpp.
| bool rtabmap::ImageView::isLinesShown | ( | ) | const |
Definition at line 463 of file ImageView.cpp.
| void rtabmap::ImageView::loadSettings | ( | QSettings & | settings, |
| const QString & | group = "" |
||
| ) |
Definition at line 306 of file ImageView.cpp.
|
protectedvirtual |
Definition at line 748 of file ImageView.cpp.
|
protectedvirtual |
Definition at line 817 of file ImageView.cpp.
| void rtabmap::ImageView::saveSettings | ( | QSettings & | settings, |
| const QString & | group = "" |
||
| ) | const |
Definition at line 278 of file ImageView.cpp.
| QRectF rtabmap::ImageView::sceneRect | ( | ) | const |
Definition at line 338 of file ImageView.cpp.
|
privateslot |
Definition at line 743 of file ImageView.cpp.
| void rtabmap::ImageView::setAlpha | ( | int | alpha | ) |
Definition at line 1249 of file ImageView.cpp.
| void rtabmap::ImageView::setBackgroundColor | ( | const QColor & | color | ) |
Definition at line 687 of file ImageView.cpp.
| void rtabmap::ImageView::setDefaultBackgroundColor | ( | const QColor & | color | ) |
Definition at line 603 of file ImageView.cpp.
| void rtabmap::ImageView::setDefaultFeatureColor | ( | const QColor & | color | ) |
Definition at line 609 of file ImageView.cpp.
| void rtabmap::ImageView::setDefaultMatchingFeatureColor | ( | const QColor & | color | ) |
Definition at line 628 of file ImageView.cpp.
| void rtabmap::ImageView::setDefaultMatchingLineColor | ( | const QColor & | color | ) |
Definition at line 657 of file ImageView.cpp.
| void rtabmap::ImageView::setDepthColorMapRange | ( | float | value | ) |
Definition at line 697 of file ImageView.cpp.
| void rtabmap::ImageView::setFeatureColor | ( | int | id, |
| QColor | color | ||
| ) |
Definition at line 1213 of file ImageView.cpp.
| void rtabmap::ImageView::setFeatures | ( | const std::multimap< int, cv::KeyPoint > & | refWords, |
| const cv::Mat & | depth = cv::Mat(), |
||
| const QColor & | color = Qt::yellow |
||
| ) |
Definition at line 1045 of file ImageView.cpp.
| void rtabmap::ImageView::setFeatures | ( | const std::vector< cv::KeyPoint > & | features, |
| const cv::Mat & | depth = cv::Mat(), |
||
| const QColor & | color = Qt::yellow |
||
| ) |
Definition at line 1077 of file ImageView.cpp.
| void rtabmap::ImageView::setFeaturesColor | ( | QColor | color | ) |
Definition at line 1235 of file ImageView.cpp.
| void rtabmap::ImageView::setFeaturesShown | ( | bool | shown | ) |
Definition at line 419 of file ImageView.cpp.
| void rtabmap::ImageView::setFeaturesSize | ( | int | size | ) |
Definition at line 1274 of file ImageView.cpp.
| void rtabmap::ImageView::setGraphicsViewMode | ( | bool | on | ) |
Definition at line 496 of file ImageView.cpp.
| void rtabmap::ImageView::setGraphicsViewScaled | ( | bool | scaled | ) |
Definition at line 563 of file ImageView.cpp.
| void rtabmap::ImageView::setGraphicsViewScaledToHeight | ( | bool | scaled | ) |
Definition at line 582 of file ImageView.cpp.
| void rtabmap::ImageView::setImage | ( | const QImage & | image | ) |
Definition at line 1143 of file ImageView.cpp.
| void rtabmap::ImageView::setImageDepth | ( | const cv::Mat & | imageDepth | ) |
Definition at line 1170 of file ImageView.cpp.
| void rtabmap::ImageView::setImageDepth | ( | const QImage & | image | ) |
Definition at line 1176 of file ImageView.cpp.
| void rtabmap::ImageView::setImageDepthShown | ( | bool | shown | ) |
Definition at line 448 of file ImageView.cpp.
| void rtabmap::ImageView::setImageShown | ( | bool | shown | ) |
Definition at line 433 of file ImageView.cpp.
| void rtabmap::ImageView::setLinesShown | ( | bool | shown | ) |
Definition at line 468 of file ImageView.cpp.
| void rtabmap::ImageView::setLinesWidth | ( | int | width | ) |
Definition at line 1294 of file ImageView.cpp.
| void rtabmap::ImageView::setSceneRect | ( | const QRectF & | rect | ) |
Definition at line 1310 of file ImageView.cpp.
|
virtual |
Definition at line 1389 of file ImageView.cpp.
|
private |
Definition at line 1024 of file ImageView.cpp.
| float rtabmap::ImageView::viewScale | ( | ) | const |
Definition at line 482 of file ImageView.cpp.
|
private |
Definition at line 134 of file ImageView.h.
|
private |
Definition at line 160 of file ImageView.h.
|
private |
Definition at line 162 of file ImageView.h.
|
private |
Definition at line 163 of file ImageView.h.
|
private |
Definition at line 161 of file ImageView.h.
|
private |
Definition at line 159 of file ImageView.h.
|
private |
Definition at line 137 of file ImageView.h.
|
private |
Definition at line 138 of file ImageView.h.
|
private |
Definition at line 139 of file ImageView.h.
|
private |
Definition at line 140 of file ImageView.h.
|
private |
Definition at line 141 of file ImageView.h.
|
private |
Definition at line 164 of file ImageView.h.
|
private |
Definition at line 168 of file ImageView.h.
|
private |
Definition at line 135 of file ImageView.h.
|
private |
Definition at line 167 of file ImageView.h.
|
private |
Definition at line 155 of file ImageView.h.
|
private |
Definition at line 158 of file ImageView.h.
|
private |
Definition at line 156 of file ImageView.h.
|
private |
Definition at line 157 of file ImageView.h.
|
private |
Definition at line 172 of file ImageView.h.
|
private |
Definition at line 173 of file ImageView.h.
|
private |
Definition at line 174 of file ImageView.h.
|
private |
Definition at line 171 of file ImageView.h.
|
private |
Definition at line 170 of file ImageView.h.
|
private |
Definition at line 169 of file ImageView.h.
|
private |
Definition at line 136 of file ImageView.h.
|
private |
Definition at line 143 of file ImageView.h.
|
private |
Definition at line 133 of file ImageView.h.
|
private |
Definition at line 151 of file ImageView.h.
|
private |
Definition at line 165 of file ImageView.h.
|
private |
Definition at line 152 of file ImageView.h.
|
private |
Definition at line 148 of file ImageView.h.
|
private |
Definition at line 153 of file ImageView.h.
|
private |
Definition at line 154 of file ImageView.h.
|
private |
Definition at line 149 of file ImageView.h.
|
private |
Definition at line 150 of file ImageView.h.
|
private |
Definition at line 146 of file ImageView.h.
|
private |
Definition at line 144 of file ImageView.h.
|
private |
Definition at line 145 of file ImageView.h.
|
private |
Definition at line 147 of file ImageView.h.