version 3.3

VRS::SceneConfiguration Class Reference

< Scene Graph Node for permanent Techniques and Handlers. More...

#include <vrs/sg/sceneconfiguration.h>

Inheritance diagram for VRS::SceneConfiguration:

VRS::SceneThing VRS::SceneNode VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 SceneConfiguration ()
virtual void evaluate (Engine *engine)
 Emtpy implementation, since scene configuration contains only permanent nodes.
virtual void install (Engine *engine)
 Pushes all handlers and techniques to the new rendering engine.
virtual void deinstall (Engine *engine)
 removes (i.e., pops) installed handlers and techniques from rendering engine.
 VRS_TYPEINFO (SceneConfiguration, SceneThing)
 VRS_SERIALIZABLE (SceneConfiguration)

Protected Member Functions

virtual bool accepts (const SharedObj *) const


Detailed Description

< Scene Graph Node for permanent Techniques and Handlers.

Constructor & Destructor Documentation

VRS::SceneConfiguration::SceneConfiguration (  ) 

An `SceneConfiguration' scene graph node stores a set of handlers and techniques. It installs them permanently in rendering engines which are used for evaluating a scene graph.


Member Function Documentation

virtual void VRS::SceneConfiguration::evaluate ( Engine engine  )  [virtual]

Emtpy implementation, since scene configuration contains only permanent nodes.

Only permanent content nodes are present in a scene configuration node, so nothing needs to be done here.

Reimplemented from VRS::SceneThing.

virtual void VRS::SceneConfiguration::install ( Engine engine  )  [virtual]

Pushes all handlers and techniques to the new rendering engine.

This method is normally invoked when installing a new rendering engine (install event for geometry graphs). When the handlers and techniques have been installed, they are permanently stored in the engine till they are deinstalled, which normally occurs only when destroying the engine.

Reimplemented from VRS::SceneThing.

virtual void VRS::SceneConfiguration::deinstall ( Engine engine  )  [virtual]

removes (i.e., pops) installed handlers and techniques from rendering engine.

This method is normally invoked before destroying a rendering engine. It removes all handlers and techniques that have been installed before in the install event.

Reimplemented from VRS::SceneThing.

VRS::SceneConfiguration::VRS_TYPEINFO ( SceneConfiguration  ,
SceneThing   
)

VRS::SceneConfiguration::VRS_SERIALIZABLE ( SceneConfiguration   ) 

virtual bool VRS::SceneConfiguration::accepts ( const SharedObj  )  const [protected, virtual]

Checks whethere a given object can be inserted to the thing.

Reimplemented from VRS::SceneThing.


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

Generated on Tue May 22 06:00:30 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact