Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
rqt_image_cropping::ImageCropper Class Reference

#include <image_cropper.h>

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

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

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

rqt_image_cropping::ImageCropper::ImageCropper ( )

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

Definition at line 378 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::enforceSelectionConstraints ( QPoint &  p)
protectedvirtual

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

Definition at line 198 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::initPlugin ( qt_gui_cpp::PluginContext context)
virtual

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 58 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onDynamicRange ( bool  checked)
protectedvirtualslot

Definition at line 373 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onInTopicChanged ( int  index)
protectedvirtualslot

Definition at line 245 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onOutTopicChanged ( )
protectedvirtualslot

Definition at line 272 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onRemoveSelection ( )
protectedvirtualslot

Definition at line 355 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onSelectionFinished ( QPoint  p1,
QPoint  p2 
)
protectedvirtualslot

Definition at line 308 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::onSelectionInProgress ( QPoint  p1,
QPoint  p2 
)
protectedvirtualslot

Definition at line 292 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::publishCrop ( )
protectedvirtual

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

Definition at line 235 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::shutdownPlugin ( )
virtual

Reimplemented from rqt_gui_cpp::Plugin.

Definition at line 129 of file image_cropper.cpp.

void rqt_image_cropping::ImageCropper::updateTopicList ( )
protectedvirtualslot

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.

cv::Mat rqt_image_cropping::ImageCropper::conversion_mat_
protected

Definition at line 127 of file image_cropper.h.

double rqt_image_cropping::ImageCropper::image_max_value_
protected

Definition at line 121 of file image_cropper.h.

double rqt_image_cropping::ImageCropper::image_min_value_
protected

Definition at line 120 of file image_cropper.h.

image_transport::CameraPublisher rqt_image_cropping::ImageCropper::publisher_
protected

Definition at line 115 of file image_cropper.h.

QImage rqt_image_cropping::ImageCropper::qimage_
protected

Definition at line 123 of file image_cropper.h.

QMutex rqt_image_cropping::ImageCropper::qimage_mutex_
protected

Definition at line 125 of file image_cropper.h.

bool rqt_image_cropping::ImageCropper::selected_
protected

Definition at line 136 of file image_cropper.h.

QImage rqt_image_cropping::ImageCropper::selected_region_
protected

Definition at line 124 of file image_cropper.h.

QRectF rqt_image_cropping::ImageCropper::selection_
protected

Definition at line 129 of file image_cropper.h.

QSizeF rqt_image_cropping::ImageCropper::selection_size_
protected

Definition at line 133 of file image_cropper.h.

QSizeF rqt_image_cropping::ImageCropper::selection_size_rect_
protected

Definition at line 134 of file image_cropper.h.

QPointF rqt_image_cropping::ImageCropper::selection_top_left_
protected

Definition at line 131 of file image_cropper.h.

QPointF rqt_image_cropping::ImageCropper::selection_top_left_rect_
protected

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.

image_transport::CameraSubscriber rqt_image_cropping::ImageCropper::subscriber_
protected

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.

QWidget* rqt_image_cropping::ImageCropper::widget_
protected

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 Jun 10 2019 13:36:34