#include <viewport.h>
|
| Viewport (QWidget *parent=0) |
| Constructor.
|
|
void | initialise (QString senderPortName, QString receiverPortName) |
| Initialsation.
|
|
void | setImage (const QImage &qImage) |
| Sets and displays image.
|
|
void | start () |
| Starts thread.
|
|
void | stop () |
| Stops thread.
|
|
yarp::sig::ImageOf
< yarp::sig::PixelRgb > * | getImage () |
| Gets Yarp image from a port.
|
|
|
yarp::os::BufferedPort
< yarp::sig::ImageOf
< yarp::sig::PixelRgb > > | imagePort |
|
|
void | paintEvent (QPaintEvent *) |
| Draws the content of the qPainter.
|
|
Viewport for displaying images
Viewport::Viewport |
( |
QWidget * |
parent = 0 | ) |
|
Constructor.
- Parameters
-
[in] | parent | - parent widget |
yarp::sig::ImageOf< yarp::sig::PixelRgb > * Viewport::getImage |
( |
| ) |
|
Gets Yarp image from a port.
- Returns
- Yarp image
void Viewport::initialise |
( |
QString |
senderPortName, |
|
|
QString |
receiverPortName |
|
) |
| |
Initialsation.
- Parameters
-
[in] | senderPortName | - port name of the sender |
[in] | receiverPortName | - port name of the receiver |
void Viewport::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
protected |
Draws the content of the qPainter.
void Viewport::setImage |
( |
const QImage & |
qImage | ) |
|
Sets and displays image.
- Parameters
-
[in] | qImage | - image to be displayed |
yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelRgb> > Viewport::imagePort |
The documentation for this class was generated from the following files:
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/include/viewport.h
- C:/Users/mpeniak/Dropbox/Aquila/trunk/aquila/src/viewport.cpp