All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
gazebo::gui::ImageFrame Class Reference

Frame that draws an image when a paintevent is received. More...

#include <ImageFrame.hh>

Inheritance diagram for gazebo::gui::ImageFrame:
Inheritance graph
[legend]
Collaboration diagram for gazebo::gui::ImageFrame:
Collaboration graph
[legend]

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...
 

Detailed Description

Frame that draws an image when a paintevent is received.

Constructor & Destructor Documentation

gazebo::gui::ImageFrame::ImageFrame ( QWidget *  _parent)

Constructor.

Parameters
[in]_parentParent Qt widget
virtual gazebo::gui::ImageFrame::~ImageFrame ( )
virtual

Destructor.

Member Function Documentation

void gazebo::gui::ImageFrame::OnImage ( const msgs::Image &  _msg)

Receives incoming image messages.

Parameters
[in]_msgNew image message.
void gazebo::gui::ImageFrame::paintEvent ( QPaintEvent *  _event)
protected

Event used to paint the image.

Parameters
[in]_eventPointer to the event information.

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