Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes
rqt_image_view::ImageView Class Reference

#include <image_view.h>

Inheritance diagram for rqt_image_view::ImageView:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ImageView ()
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 onHideToolbarChanged (bool hide)
virtual void onMouseLeft (int x, int y)
virtual void onMousePublish (bool checked)
virtual void onPubTopicChanged ()
virtual void onRotateLeft ()
virtual void onRotateRight ()
virtual void onTopicChanged (int index)
virtual void onZoom1 (bool checked)
virtual void saveImage ()
virtual void updateNumGridlines ()
virtual void updateTopicList ()

Protected Member Functions

virtual void callbackImage (const sensor_msgs::Image::ConstPtr &msg)
QList< int > getGridIndices (int size) const
virtual ROS_DEPRECATED QList
< QString > 
getTopicList (const QSet< QString > &message_types, const QList< QString > &transports)
virtual QSet< QString > getTopics (const QSet< QString > &message_types, const QSet< QString > &message_sub_types, const QList< QString > &transports)
virtual void invertPixels (int x, int y)
virtual void overlayGrid ()
virtual void selectTopic (const QString &topic)

Protected Attributes

cv::Mat conversion_mat_
image_transport::Subscriber subscriber_
Ui::ImageViewWidget ui_
QWidget * widget_

Private Types

enum  RotateState {
  ROTATE_0 = 0, ROTATE_90 = 1, ROTATE_180 = 2, ROTATE_270 = 3,
  ROTATE_STATE_COUNT
}

Private Member Functions

void syncRotateLabel ()

Private Attributes

QString arg_topic_name
QAction * hide_toolbar_action_
int num_gridlines_
ros::Publisher pub_mouse_left_
bool pub_topic_custom_
RotateState rotate_state_

Detailed Description

Definition at line 59 of file image_view.h.


Member Enumeration Documentation

Enumerator:
ROTATE_0 
ROTATE_90 
ROTATE_180 
ROTATE_270 
ROTATE_STATE_COUNT 

Definition at line 133 of file image_view.h.


Constructor & Destructor Documentation

Definition at line 48 of file image_view.cpp.


Member Function Documentation

void rqt_image_view::ImageView::callbackImage ( const sensor_msgs::Image::ConstPtr &  msg) [protected, virtual]

Definition at line 530 of file image_view.cpp.

QList< int > rqt_image_view::ImageView::getGridIndices ( int  size) const [protected]

Definition at line 468 of file image_view.cpp.

QList< QString > rqt_image_view::ImageView::getTopicList ( const QSet< QString > &  message_types,
const QList< QString > &  transports 
) [protected, virtual]

Definition at line 226 of file image_view.cpp.

QSet< QString > rqt_image_view::ImageView::getTopics ( const QSet< QString > &  message_types,
const QSet< QString > &  message_sub_types,
const QList< QString > &  transports 
) [protected, virtual]

Definition at line 232 of file image_view.cpp.

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 57 of file image_view.cpp.

void rqt_image_view::ImageView::invertPixels ( int  x,
int  y 
) [protected, virtual]

Definition at line 458 of file image_view.cpp.

void rqt_image_view::ImageView::onDynamicRange ( bool  checked) [protected, virtual, slot]

Definition at line 337 of file image_view.cpp.

void rqt_image_view::ImageView::onHideToolbarChanged ( bool  hide) [protected, virtual, slot]

Definition at line 425 of file image_view.cpp.

void rqt_image_view::ImageView::onMouseLeft ( int  x,
int  y 
) [protected, virtual, slot]

Definition at line 385 of file image_view.cpp.

void rqt_image_view::ImageView::onMousePublish ( bool  checked) [protected, virtual, slot]

Definition at line 361 of file image_view.cpp.

void rqt_image_view::ImageView::onPubTopicChanged ( ) [protected, virtual, slot]

Definition at line 419 of file image_view.cpp.

void rqt_image_view::ImageView::onRotateLeft ( ) [protected, virtual, slot]

Definition at line 430 of file image_view.cpp.

void rqt_image_view::ImageView::onRotateRight ( ) [protected, virtual, slot]

Definition at line 440 of file image_view.cpp.

void rqt_image_view::ImageView::onTopicChanged ( int  index) [protected, virtual, slot]

Definition at line 294 of file image_view.cpp.

void rqt_image_view::ImageView::onZoom1 ( bool  checked) [protected, virtual, slot]

Definition at line 320 of file image_view.cpp.

void rqt_image_view::ImageView::overlayGrid ( ) [protected, virtual]

Definition at line 507 of file image_view.cpp.

void rqt_image_view::ImageView::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 139 of file image_view.cpp.

void rqt_image_view::ImageView::saveImage ( ) [protected, virtual, slot]

Definition at line 347 of file image_view.cpp.

void rqt_image_view::ImageView::saveSettings ( qt_gui_cpp::Settings plugin_settings,
qt_gui_cpp::Settings instance_settings 
) const [virtual]

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 123 of file image_view.cpp.

void rqt_image_view::ImageView::selectTopic ( const QString &  topic) [protected, virtual]

Definition at line 280 of file image_view.cpp.

Reimplemented from rqt_gui_cpp::Plugin.

Definition at line 117 of file image_view.cpp.

Definition at line 446 of file image_view.cpp.

void rqt_image_view::ImageView::updateNumGridlines ( ) [protected, virtual, slot]

Definition at line 342 of file image_view.cpp.

void rqt_image_view::ImageView::updateTopicList ( ) [protected, virtual, slot]

Definition at line 183 of file image_view.cpp.


Member Data Documentation

Definition at line 144 of file image_view.h.

Definition at line 129 of file image_view.h.

Definition at line 149 of file image_view.h.

Definition at line 151 of file image_view.h.

Definition at line 145 of file image_view.h.

Definition at line 147 of file image_view.h.

Definition at line 153 of file image_view.h.

Definition at line 127 of file image_view.h.

Ui::ImageViewWidget rqt_image_view::ImageView::ui_ [protected]

Definition at line 123 of file image_view.h.

QWidget* rqt_image_view::ImageView::widget_ [protected]

Definition at line 125 of file image_view.h.


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


rqt_image_view
Author(s): Dirk Thomas
autogenerated on Thu Jun 6 2019 19:02:34