Frame that draws an image when a paintevent is received.
More...
#include <ImageFrame.hh>
Frame that draws an image when a paintevent is received.
gazebo::gui::ImageFrame::ImageFrame |
( |
QWidget * |
_parent | ) |
|
Constructor.
- Parameters
-
[in] | _parent | Parent Qt widget |
virtual gazebo::gui::ImageFrame::~ImageFrame |
( |
| ) |
|
|
virtual |
void gazebo::gui::ImageFrame::OnImage |
( |
const msgs::Image & |
_msg | ) |
|
Receives incoming image messages.
- Parameters
-
[in] | _msg | New image message. |
void gazebo::gui::ImageFrame::paintEvent |
( |
QPaintEvent * |
_event | ) |
|
|
protected |
Event used to paint the image.
- Parameters
-
[in] | _event | Pointer to the event information. |
The documentation for this class was generated from the following file: