IpsaSimulatorDelegate Class Reference
[libipsa classes]

Interface definition for customizing the behaviour of the IpsaSimulator class. More...

#include <IpsaSimulatorDelegate.h>

List of all members.

Public Member Functions

virtual SoNode * createScenery ()=0


Detailed Description

Interface definition for customizing the behaviour of the IpsaSimulator class.

This class defines extension methods for implementing custom behaviour of the IpsaSimulator class without having to subclass it. For now it offers a way to create a custom scenegraph.

Definition at line 40 of file IpsaSimulatorDelegate.h.


Member Function Documentation

virtual SoNode* IpsaSimulatorDelegate::createScenery (  )  [pure virtual]

Each delegate has to implement this method which returns an instance of SoNode* containing the scenegraph to show simulate. SoNode::ref() should be called on the root node before returning it.

Referenced by IpsaSimulator::buildScenery().


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

Get IPSA - Inventor Physics Simulation API at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on Sat Mar 10 20:00:19 2012 for IPSA by  doxygen 1.5.8