OsgHandle Class Reference

Data structure for accessing the OpenSceneGraph. More...

#include <osghandle.h>

Collaboration diagram for OsgHandle:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OsgHandle ()
 ~OsgHandle ()
 TODO: Separation of OSGHandle and OSGConfig.
void init ()
 initialization of the structure
void setup (int windowW, int windowH)
 set up robotcameramanager (must be called after init but before usage of the structure)
void close ()
 deletes all internal variables
OsgHandle changeColor (const Color &color) const
OsgHandle changeColor (double r, double g, double b, double a=1.0) const
OsgHandle changeAlpha (double alpha) const

Public Attributes

bool drawBoundings
 decides whether to draw bounding boxes
Color color
OsgConfigcfg
OsgScenescene
osg::Group * parent

Detailed Description

Data structure for accessing the OpenSceneGraph.

Examples:

template_sphererobot/main.cpp.


Constructor & Destructor Documentation

OsgHandle (  ) 
~OsgHandle (  ) 

TODO: Separation of OSGHandle and OSGConfig.

Parameters:
root 
world 
scene 
tesselhints 
normalState 
transparentState 
color 
shadowType 
Returns:

Member Function Documentation

OsgHandle changeAlpha ( double  alpha  )  const
OsgHandle changeColor ( double  r,
double  g,
double  b,
double  a = 1.0 
) const
OsgHandle changeColor ( const Color color  )  const
void close (  ) 

deletes all internal variables

void init (  ) 

initialization of the structure

void setup ( int  windowW,
int  windowH 
)

set up robotcameramanager (must be called after init but before usage of the structure)


Member Data Documentation

decides whether to draw bounding boxes

osg::Group* parent

The documentation for this class was generated from the following files:
Generated on Fri Nov 4 10:59:41 2011 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3