Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
rqt_image_view::ImageView Class Reference

#include <image_view.h>

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

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 ()
 
- Public Member Functions inherited from rqt_gui_cpp::Plugin
 Plugin ()
 
- Public Member Functions inherited from qt_gui_cpp::Plugin
virtual bool hasConfiguration () const
 
 Plugin ()
 
virtual void triggerConfiguration ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

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 setColorSchemeList ()
 
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 Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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 135 of file image_view.h.

Constructor & Destructor Documentation

rqt_image_view::ImageView::ImageView ( )

Definition at line 48 of file image_view.cpp.

Member Function Documentation

void rqt_image_view::ImageView::callbackImage ( const sensor_msgs::Image::ConstPtr &  msg)
protectedvirtual

Definition at line 558 of file image_view.cpp.

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

Definition at line 496 of file image_view.cpp.

QList< QString > rqt_image_view::ImageView::getTopicList ( const QSet< QString > &  message_types,
const QList< QString > &  transports 
)
protectedvirtual

Definition at line 254 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 
)
protectedvirtual

Definition at line 260 of file image_view.cpp.

void rqt_image_view::ImageView::initPlugin ( qt_gui_cpp::PluginContext context)
virtual

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 
)
protectedvirtual

Definition at line 486 of file image_view.cpp.

void rqt_image_view::ImageView::onDynamicRange ( bool  checked)
protectedvirtualslot

Definition at line 365 of file image_view.cpp.

void rqt_image_view::ImageView::onHideToolbarChanged ( bool  hide)
protectedvirtualslot

Definition at line 453 of file image_view.cpp.

void rqt_image_view::ImageView::onMouseLeft ( int  x,
int  y 
)
protectedvirtualslot

Definition at line 413 of file image_view.cpp.

void rqt_image_view::ImageView::onMousePublish ( bool  checked)
protectedvirtualslot

Definition at line 389 of file image_view.cpp.

void rqt_image_view::ImageView::onPubTopicChanged ( )
protectedvirtualslot

Definition at line 447 of file image_view.cpp.

void rqt_image_view::ImageView::onRotateLeft ( )
protectedvirtualslot

Definition at line 458 of file image_view.cpp.

void rqt_image_view::ImageView::onRotateRight ( )
protectedvirtualslot

Definition at line 468 of file image_view.cpp.

void rqt_image_view::ImageView::onTopicChanged ( int  index)
protectedvirtualslot

Definition at line 322 of file image_view.cpp.

void rqt_image_view::ImageView::onZoom1 ( bool  checked)
protectedvirtualslot

Definition at line 348 of file image_view.cpp.

void rqt_image_view::ImageView::overlayGrid ( )
protectedvirtual

Definition at line 535 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 142 of file image_view.cpp.

void rqt_image_view::ImageView::saveImage ( )
protectedvirtualslot

Definition at line 375 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 126 of file image_view.cpp.

void rqt_image_view::ImageView::selectTopic ( const QString &  topic)
protectedvirtual

Definition at line 308 of file image_view.cpp.

void rqt_image_view::ImageView::setColorSchemeList ( )
protectedvirtualslot

Definition at line 186 of file image_view.cpp.

void rqt_image_view::ImageView::shutdownPlugin ( )
virtual

Reimplemented from rqt_gui_cpp::Plugin.

Definition at line 120 of file image_view.cpp.

void rqt_image_view::ImageView::syncRotateLabel ( )
private

Definition at line 474 of file image_view.cpp.

void rqt_image_view::ImageView::updateNumGridlines ( )
protectedvirtualslot

Definition at line 370 of file image_view.cpp.

void rqt_image_view::ImageView::updateTopicList ( )
protectedvirtualslot

Definition at line 211 of file image_view.cpp.

Member Data Documentation

QString rqt_image_view::ImageView::arg_topic_name
private

Definition at line 146 of file image_view.h.

cv::Mat rqt_image_view::ImageView::conversion_mat_
protected

Definition at line 131 of file image_view.h.

QAction* rqt_image_view::ImageView::hide_toolbar_action_
private

Definition at line 151 of file image_view.h.

int rqt_image_view::ImageView::num_gridlines_
private

Definition at line 153 of file image_view.h.

ros::Publisher rqt_image_view::ImageView::pub_mouse_left_
private

Definition at line 147 of file image_view.h.

bool rqt_image_view::ImageView::pub_topic_custom_
private

Definition at line 149 of file image_view.h.

RotateState rqt_image_view::ImageView::rotate_state_
private

Definition at line 155 of file image_view.h.

image_transport::Subscriber rqt_image_view::ImageView::subscriber_
protected

Definition at line 129 of file image_view.h.

Ui::ImageViewWidget rqt_image_view::ImageView::ui_
protected

Definition at line 125 of file image_view.h.

QWidget* rqt_image_view::ImageView::widget_
protected

Definition at line 127 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 Mon Mar 18 2019 02:53:45