##

ImageFrame Class Reference

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

`#include <ImageFrame.hh>`

Inherits QFrame.

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

## ImageFrame()

ImageFrame | ( | QWidget * | _parent | ) |

explicit

Constructor.

Parameters

  [in] | _parent | Parent Qt widget

## ~ImageFrame()

virtual ~ImageFrame | ( |  | ) |

virtual

Destructor.

## Member Function Documentation

## OnImage()

void OnImage | ( | const msgs::Image & | _msg | ) |

Receives incoming image messages.

Parameters

  [in] | _msg | New image message.

## paintEvent()

void 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:

- ImageFrame.hh