Classes | Public Member Functions | Public Attributes | Private Attributes
HUDCamera Class Reference

#include <HUDCamera.h>

Inheritance diagram for HUDCamera:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

A ROS Camera subscriber that can be displayed as a widget

Definition at line 22 of file HUDCamera.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 47 of file HUDCamera.h.

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.


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


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58