| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/statehandler.h>

Public Member Functions | |
| virtual AbstractStateHandler * | create (void)=0 |
| Virtual constructor. | |
| virtual void | reset (void)=0 |
| Reset state handler. | |
| virtual void | setSuccessor (AbstractStateHandler *successor) |
| Set the handler's successor. | |
| virtual void | setState (RenderObj *state)=0 |
| virtual void | pushState (void)=0 |
| virtual void | popState (void)=0 |
| virtual void | collectShape (unsigned int index)=0 |
| virtual void | createSortedScene (SO< SceneThing > root, SO< Array< unsigned int > > shapeIndices, SO< Array< SO< SharedObj > > > shapes)=0 |
Protected Attributes | |
| SO< AbstractStateHandler > | successor_ |
| State handler's successor in chain. | |
| virtual AbstractStateHandler* VRS::AbstractStateHandler::create | ( | void | ) | [pure virtual] |
| virtual void VRS::AbstractStateHandler::reset | ( | void | ) | [pure virtual] |
| virtual void VRS::AbstractStateHandler::setSuccessor | ( | AbstractStateHandler * | successor | ) | [inline, virtual] |
Set the handler's successor.
| virtual void VRS::AbstractStateHandler::setState | ( | RenderObj * | state | ) | [pure virtual] |
| state | State currently visited. |
Implemented in VRS::StateHandler< T >.
| virtual void VRS::AbstractStateHandler::pushState | ( | void | ) | [pure virtual] |
Called by StateSortingOperator when a SceneThing is entered and thus a new hierarchy level is started.
Implemented in VRS::StateHandler< T >.
| virtual void VRS::AbstractStateHandler::popState | ( | void | ) | [pure virtual] |
Called by StateSortingOperator when a SceneThing is leaved and thus a hierarchy level ends.
Implemented in VRS::StateHandler< T >.
| virtual void VRS::AbstractStateHandler::collectShape | ( | unsigned int | index | ) | [pure virtual] |
| index | Index of the shape in shape array. |
Implemented in VRS::StateHandler< T >.
| virtual void VRS::AbstractStateHandler::createSortedScene | ( | SO< SceneThing > | root, | |
| SO< Array< unsigned int > > | shapeIndices, | |||
| SO< Array< SO< SharedObj > > > | shapes | |||
| ) | [pure virtual] |
| root | Root node of optimized scene. | |
| shapeIndices | Array with indices for relevant shapes. | |
| shapes | Array of shapes found in the original scene. |
Implemented in VRS::StateHandler< T >.
SO<AbstractStateHandler> VRS::AbstractStateHandler::successor_ [protected] |
State handler's successor in chain.