Frame that draws an image when a paintevent is received. More...
#include <ImageFrame.hh>
Public Member Functions | |
ImageFrame (QWidget *_parent) | |
Constructor. More... | |
virtual | ~ImageFrame () |
Destructor. More... | |
void | OnImage (const msgs::Image &_msg) |
Receives incoming image messages. More... | |
Protected Member Functions | |
void | paintEvent (QPaintEvent *_event) |
Event used to paint the image. More... | |
Frame that draws an image when a paintevent is received.
gazebo::gui::ImageFrame::ImageFrame | ( | QWidget * | _parent | ) |
Constructor.
[in] | _parent | Parent Qt widget |
|
virtual |
Destructor.
void gazebo::gui::ImageFrame::OnImage | ( | const msgs::Image & | _msg | ) |
Receives incoming image messages.
[in] | _msg | New image message. |
|
protected |
Event used to paint the image.
[in] | _event | Pointer to the event information. |