#include <HUDCamera.h>

Classes | |
| class | widgetUpdateCallback |
Public Member Functions | |
| osg::ref_ptr< osgWidget::Window > | getWidgetWindow () |
| HUDCamera (unsigned int width, unsigned int height, unsigned int posx=0, unsigned int posy=0, double scale=1, int blackWhite=0) | |
| bool | ready () |
| ~HUDCamera () | |
Public Attributes | |
| unsigned int | height |
| Width and height in pixels of the input image. | |
| osg::ref_ptr< osg::Image > | osg_image |
| unsigned int | posx |
| unsigned int | posy |
| Default position of the widget, given in pixels wrt bottom-left corner (X to the right, Y upwards) | |
| bool | ready_ |
| double | scale |
| Percentage of default widget scaling (0..1) | |
| unsigned int | width |
Private Attributes | |
| osg::ref_ptr< osgWidget::Widget > | widget |
A ROS Camera subscriber that can be displayed as a widget
Definition at line 22 of file HUDCamera.h.
| HUDCamera::HUDCamera | ( | unsigned int | width, |
| unsigned int | height, | ||
| unsigned int | posx = 0, |
||
| unsigned int | posy = 0, |
||
| double | scale = 1, |
||
| int | blackWhite = 0 |
||
| ) |
Constructor from the image and info topics
Definition at line 17 of file HUDCamera.cpp.
Definition at line 57 of file HUDCamera.cpp.
| osg::ref_ptr< osgWidget::Window > HUDCamera::getWidgetWindow | ( | ) | [virtual] |
Implements CustomWidget.
Definition at line 41 of file HUDCamera.cpp.
| bool HUDCamera::ready | ( | ) | [inline] |
Definition at line 53 of file HUDCamera.h.
| unsigned int HUDCamera::height |
Width and height in pixels of the input image.
Definition at line 42 of file HUDCamera.h.
| osg::ref_ptr<osg::Image> HUDCamera::osg_image |
Definition at line 46 of file HUDCamera.h.
| unsigned int HUDCamera::posx |
Definition at line 43 of file HUDCamera.h.
| unsigned int HUDCamera::posy |
Default position of the widget, given in pixels wrt bottom-left corner (X to the right, Y upwards)
Definition at line 43 of file HUDCamera.h.
| bool HUDCamera::ready_ |
Definition at line 47 of file HUDCamera.h.
| double HUDCamera::scale |
Percentage of default widget scaling (0..1)
Definition at line 44 of file HUDCamera.h.
osg::ref_ptr<osgWidget::Widget> HUDCamera::widget [private] |
Definition at line 24 of file HUDCamera.h.
| unsigned int HUDCamera::width |
Definition at line 42 of file HUDCamera.h.