19 #ifndef TG_SIMULATION_H
20 #define TG_SIMULATION_H
63 void step(
double dt)
const;
75 void run(
int steps)
const;
137 bool invariant()
const;
149 std::vector<tgModel*> m_models;
157 std::vector<tgModel*> m_obstacles;
164 std::vector<tgDataManager*> m_dataManagers;
167 #endif // TG_SIMULATION_H
void addDataManager(tgDataManager *pDataManager)
void addObstacle(tgModel *pObstacle)
tgWorld & getWorld() const
void addModel(tgModel *pModel)
tgSimulation(tgSimView &view)
void onVisit(const tgModelVisitor &r) const
void step(double dt) const