Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
rqt_image_cropping::ImageCropper Class Reference

#include <image_cropper.h>

Inheritance diagram for rqt_image_cropping::ImageCropper:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool eventFilter (QObject *watched, QEvent *event)
 ImageCropper ()
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 onInTopicChanged (int index)
virtual void onOutTopicChanged ()
virtual void onRemoveSelection ()
virtual void onSelectionFinished (QPoint p1, QPoint p2)
virtual void onSelectionInProgress (QPoint p1, QPoint p2)
virtual void updateTopicList ()

Protected Member Functions

virtual void callbackImage (const sensor_msgs::Image::ConstPtr &msg, const sensor_msgs::CameraInfoConstPtr &ci)
virtual void enforceSelectionConstraints (QPoint &p)
virtual QList< QString > getTopicList (const QSet< QString > &message_types, const QList< QString > &transports)
virtual void publishCrop ()
virtual void selectTopic (const QString &topic)

Protected Attributes

sensor_msgs::CameraInfoConstPtr camera_info_
cv::Mat conversion_mat_
double image_max_value_
double image_min_value_
image_transport::CameraPublisher publisher_
QImage qimage_
QMutex qimage_mutex_
bool selected_
QImage selected_region_
QRectF selection_
QSizeF selection_size_
QSizeF selection_size_rect_
QPointF selection_top_left_
QPointF selection_top_left_rect_
sensor_msgs::Image::ConstPtr sens_msg_image_
image_transport::CameraSubscriber subscriber_
Ui::ImageCropperWidget ui_
QWidget * widget_

Detailed Description

Definition at line 56 of file image_cropper.h.


Constructor & Destructor Documentation

Definition at line 50 of file image_cropper.cpp.


Member Function Documentation

void rqt_image_cropping::ImageCropper::callbackImage ( const sensor_msgs::Image::ConstPtr &  msg,
const sensor_msgs::CameraInfoConstPtr &  ci 
) [protected, virtual]

Definition at line 378 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::enforceSelectionConstraints ( QPoint &  p) [protected, virtual]

Definition at line 361 of file image_cropper.cpp.

bool rqt_image_cropping::ImageCropper::eventFilter ( QObject *  watched,
QEvent *  event 
) [virtual]

Definition at line 90 of file image_cropper.cpp.

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

Definition at line 198 of file image_cropper.cpp.

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 58 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onDynamicRange ( bool  checked) [protected, virtual, slot]

Definition at line 373 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onInTopicChanged ( int  index) [protected, virtual, slot]

Definition at line 245 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onOutTopicChanged ( ) [protected, virtual, slot]

Definition at line 272 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onRemoveSelection ( ) [protected, virtual, slot]

Definition at line 355 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onSelectionFinished ( QPoint  p1,
QPoint  p2 
) [protected, virtual, slot]

Definition at line 308 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onSelectionInProgress ( QPoint  p1,
QPoint  p2 
) [protected, virtual, slot]

Definition at line 292 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::publishCrop ( ) [protected, virtual]

Definition at line 444 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::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 144 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::saveSettings ( qt_gui_cpp::Settings plugin_settings,
qt_gui_cpp::Settings instance_settings 
) const [virtual]

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 135 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::selectTopic ( const QString &  topic) [protected, virtual]

Definition at line 235 of file image_cropper.cpp.

Reimplemented from rqt_gui_cpp::Plugin.

Definition at line 129 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::updateTopicList ( ) [protected, virtual, slot]

Definition at line 157 of file image_cropper.cpp.


Member Data Documentation

sensor_msgs::CameraInfoConstPtr rqt_image_cropping::ImageCropper::camera_info_ [protected]

Definition at line 118 of file image_cropper.h.

Definition at line 127 of file image_cropper.h.

Definition at line 121 of file image_cropper.h.

Definition at line 120 of file image_cropper.h.

Definition at line 115 of file image_cropper.h.

Definition at line 123 of file image_cropper.h.

Definition at line 125 of file image_cropper.h.

Definition at line 136 of file image_cropper.h.

Definition at line 124 of file image_cropper.h.

Definition at line 129 of file image_cropper.h.

Definition at line 133 of file image_cropper.h.

Definition at line 134 of file image_cropper.h.

Definition at line 131 of file image_cropper.h.

Definition at line 132 of file image_cropper.h.

sensor_msgs::Image::ConstPtr rqt_image_cropping::ImageCropper::sens_msg_image_ [protected]

Definition at line 117 of file image_cropper.h.

Definition at line 114 of file image_cropper.h.

Ui::ImageCropperWidget rqt_image_cropping::ImageCropper::ui_ [protected]

Definition at line 110 of file image_cropper.h.

Definition at line 112 of file image_cropper.h.


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


hector_rqt_plugins
Author(s): Dirk Thomas, Thorsten Graber, Gregor Gebhardt
autogenerated on Mon Oct 6 2014 00:35:46