33 #ifndef rqt_image_Enhancer__ImageCropper_H 34 #define rqt_image_Enhancer__ImageCropper_H 38 #include <ui_image_cropper.h> 41 #include <sensor_msgs/Image.h> 43 #include <opencv2/core/core.hpp> 68 virtual bool eventFilter(QObject* watched, QEvent* event);
82 virtual QList<QString>
getTopicList(
const QSet<QString>& message_types,
const QList<QString>& transports);
104 virtual void callbackImage(
const sensor_msgs::Image::ConstPtr& msg,
const sensor_msgs::CameraInfoConstPtr &ci);
110 Ui::ImageCropperWidget
ui_;
142 #endif // rqt_image_enhancer__ImageCropper_H
sensor_msgs::Image::ConstPtr sens_msg_image_
image_transport::CameraSubscriber subscriber_
QSizeF selection_size_rect_
virtual void selectTopic(const QString &topic)
virtual void onInTopicChanged(int index)
virtual void onDynamicRange(bool checked)
virtual QList< QString > getTopicList(const QSet< QString > &message_types, const QList< QString > &transports)
virtual bool eventFilter(QObject *watched, QEvent *event)
virtual void onSelectionFinished(QPoint p1, QPoint p2)
virtual void callbackImage(const sensor_msgs::Image::ConstPtr &msg, const sensor_msgs::CameraInfoConstPtr &ci)
image_transport::CameraPublisher publisher_
virtual void onSelectionInProgress(QPoint p1, QPoint p2)
virtual void initPlugin(qt_gui_cpp::PluginContext &context)
virtual void onRemoveSelection()
virtual void shutdownPlugin()
virtual void saveSettings(qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const
virtual void onOutTopicChanged()
Ui::ImageCropperWidget ui_
virtual void updateTopicList()
virtual void restoreSettings(const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings)
QPointF selection_top_left_
virtual void publishCrop()
QPointF selection_top_left_rect_
sensor_msgs::CameraInfoConstPtr camera_info_
virtual void enforceSelectionConstraints(QPoint &p)