Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
Manages camera sensors. More...
#include <robotcameramanager.h>
Public Member Functions | |
RobotCameraManager (int windowWidth, int windowHeight) | |
virtual void | addCamera (Camera *cam) |
virtual void | removeCamera (Camera *cam) |
virtual osg::Group * | getDisplay () |
virtual osg::Group * | getOffScreen () |
virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *o, osg::NodeVisitor *nv) |
virtual void | getUsage (osg::ApplicationUsage &) const |
Protected Member Functions | |
virtual void | updateView () |
Protected Attributes | |
osg::ref_ptr< osg::Group > | display |
osg::ref_ptr< osg::Group > | offscreen |
RobotCams | cameras |
bool | enabled |
float | scale |
int | windowWidth |
int | windowHeight |
Manages camera sensors.
The cameras are rendered to texture offscreen, meaning independent of the normal graphical rendering. Additionally the view of the cameras is displayed as an overlay.
RobotCameraManager | ( | int | windowWidth, |
int | windowHeight | ||
) |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |