#include <image_enhancer.h>
Public Member Functions | |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
ImageEnhancer () | |
virtual void | initPlugin (qt_gui_cpp::PluginContext &context) |
virtual void | restoreSettings (const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings) |
virtual void | saveSettings (qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const |
virtual void | shutdownPlugin () |
Protected Slots | |
virtual void | onDynamicRange (bool checked) |
virtual void | onRemoveSelection () |
virtual void | onSelectionFinished (QPoint p1, QPoint p2) |
virtual void | onSelectionInProgress (QPoint p1, QPoint p2) |
virtual void | onTopicChanged (int index) |
virtual void | onZoom1 (bool checked) |
virtual void | updateTopicList () |
Protected Member Functions | |
virtual void | callbackImage (const sensor_msgs::Image::ConstPtr &msg) |
virtual void | enforceSelectionConstraints (QPoint &p) |
virtual QList< QString > | getTopicList (const QSet< QString > &message_types, const QList< QString > &transports) |
virtual void | selectTopic (const QString &topic) |
Protected Attributes | |
cv::Mat | conversion_mat_ |
QImage | qimage_ |
QMutex | qimage_mutex_ |
bool | selected_ |
QRect | selection_ |
QSize | selection_size_ |
QPoint | selection_top_left_ |
image_transport::Subscriber | subscriber_ |
Ui::ImageEnhancerWidget | ui_ |
QWidget * | widget_ |
Definition at line 56 of file image_enhancer.h.
Definition at line 50 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::callbackImage | ( | const sensor_msgs::Image::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 335 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::enforceSelectionConstraints | ( | QPoint & | p | ) | [protected, virtual] |
Definition at line 318 of file image_enhancer.cpp.
bool rqt_image_enhancer::ImageEnhancer::eventFilter | ( | QObject * | watched, |
QEvent * | event | ||
) | [virtual] |
Definition at line 85 of file image_enhancer.cpp.
QList< QString > rqt_image_enhancer::ImageEnhancer::getTopicList | ( | const QSet< QString > & | message_types, |
const QList< QString > & | transports | ||
) | [protected, virtual] |
Definition at line 191 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::initPlugin | ( | qt_gui_cpp::PluginContext & | context | ) | [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 58 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::onDynamicRange | ( | bool | checked | ) | [protected, virtual, slot] |
Definition at line 330 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::onRemoveSelection | ( | ) | [protected, virtual, slot] |
Definition at line 313 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::onSelectionFinished | ( | QPoint | p1, |
QPoint | p2 | ||
) | [protected, virtual, slot] |
Definition at line 299 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::onSelectionInProgress | ( | QPoint | p1, |
QPoint | p2 | ||
) | [protected, virtual, slot] |
Definition at line 283 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::onTopicChanged | ( | int | index | ) | [protected, virtual, slot] |
Definition at line 238 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::onZoom1 | ( | bool | checked | ) | [protected, virtual, slot] |
Definition at line 263 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::restoreSettings | ( | const qt_gui_cpp::Settings & | plugin_settings, |
const qt_gui_cpp::Settings & | instance_settings | ||
) | [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 137 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::saveSettings | ( | qt_gui_cpp::Settings & | plugin_settings, |
qt_gui_cpp::Settings & | instance_settings | ||
) | const [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 128 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::selectTopic | ( | const QString & | topic | ) | [protected, virtual] |
Definition at line 228 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::shutdownPlugin | ( | ) | [virtual] |
Reimplemented from rqt_gui_cpp::Plugin.
Definition at line 123 of file image_enhancer.cpp.
void rqt_image_enhancer::ImageEnhancer::updateTopicList | ( | ) | [protected, virtual, slot] |
Definition at line 150 of file image_enhancer.cpp.
cv::Mat rqt_image_enhancer::ImageEnhancer::conversion_mat_ [protected] |
Definition at line 115 of file image_enhancer.h.
QImage rqt_image_enhancer::ImageEnhancer::qimage_ [protected] |
Definition at line 112 of file image_enhancer.h.
QMutex rqt_image_enhancer::ImageEnhancer::qimage_mutex_ [protected] |
Definition at line 113 of file image_enhancer.h.
bool rqt_image_enhancer::ImageEnhancer::selected_ [protected] |
Definition at line 121 of file image_enhancer.h.
QRect rqt_image_enhancer::ImageEnhancer::selection_ [protected] |
Definition at line 117 of file image_enhancer.h.
QSize rqt_image_enhancer::ImageEnhancer::selection_size_ [protected] |
Definition at line 119 of file image_enhancer.h.
QPoint rqt_image_enhancer::ImageEnhancer::selection_top_left_ [protected] |
Definition at line 118 of file image_enhancer.h.
Definition at line 110 of file image_enhancer.h.
Ui::ImageEnhancerWidget rqt_image_enhancer::ImageEnhancer::ui_ [protected] |
Definition at line 106 of file image_enhancer.h.
QWidget* rqt_image_enhancer::ImageEnhancer::widget_ [protected] |
Definition at line 108 of file image_enhancer.h.