#include <Simulation.h>
Main controller of the scene. Defines how the scene is inited at the beginning, and updated at each time step. Derives from Base in order to use smart pointers and model the parameters as Datas, which makes their edition easy in the GUI.
Static Public Attributes | |
static Simulation::SPtr | theSimulation { nullptr } |
Public Member Functions | |
Simulation () | |
virtual | ~Simulation () |
Simulation (const Simulation &n)=delete | |
Simulation & | operator= (const Simulation &n)=delete |
virtual NodeSPtr | createNewGraph (const std::string &name)=0 |
create a new graph(or tree) and return its root node. More... | |
virtual NodeSPtr | createNewNode (const std::string &name)=0 |
creates and returns a new node. More... | |
virtual bool | isDirectedAcyclicGraph ()=0 |
Can the simulation handle a directed acyclic graph? More... | |
|
inlinestatic |
sofa::simulation::Simulation::Simulation | ( | ) |
|
virtual |
|
delete |
|
pure virtual |
create a new graph(or tree) and return its root node.
Implemented in sofa::simulation::graph::DAGSimulation.
|
pure virtual |
creates and returns a new node.
Implemented in sofa::simulation::graph::DAGSimulation.
|
pure virtual |
Can the simulation handle a directed acyclic graph?
Implemented in sofa::simulation::graph::DAGSimulation.
|
delete |