Menge
Modular Pedestrian Simulation Framework for Research and Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Menge::SceneGraph::System Class Referenceabstract

An animation system. Responsible for updating the scene based based on increasing time values. More...

#include <System.h>

Inheritance diagram for Menge::SceneGraph::System:
Menge::SimSystem

Public Member Functions

 System ()
 Default constructor.
 
virtual ~System ()
 Virtual destructor.
 
virtual void finish ()
 Finalizing function for the system. More...
 
virtual bool updateScene (float time)=0
 Updates the state of the scene graph with the global time. More...
 

Detailed Description

An animation system. Responsible for updating the scene based based on increasing time values.

This is a purely virtual class. It must be sub-classed to be used.

Member Function Documentation

virtual void Menge::SceneGraph::System::finish ( )
inlinevirtual

Finalizing function for the system.

When the viewer wants to exit, it calls this method on the scene to give the scene any last minute things it needs to do (such as outputting data) The scene calls the systems finish method.

virtual bool Menge::SceneGraph::System::updateScene ( float  time)
pure virtual

Updates the state of the scene graph with the global time.

Parameters
timeThe time for which the system should be set.
Returns
True if the system changed the scene such that it should be redrawn.

Implemented in Menge::SimSystem.


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