DUNE: Uniform Navigational Environment
2.4.2
|
Virtual World properties.
Public Member Functions | |
World (int ident, double grv[3], double tstep) | |
~World () | |
void | setTimeStep (double ts) |
double | getTimeStep (void) |
void | addObject (Object *) |
void | addVehicle (Vehicle *) |
void | takeStep (void) |
Simulators::VSIM::World::World | ( | int | ident, |
double | grv[3], | ||
double | tstep | ||
) |
Constructor.
Simulators::VSIM::World::~World | ( | void | ) |
Destructor.
void Simulators::VSIM::World::addObject | ( | Object * | obj | ) |
Add object to world.
[in] | obj | new object. |
References Simulators::VSIM::Object::insertInWorld().
void Simulators::VSIM::World::addVehicle | ( | Vehicle * | veh | ) |
Add vehicle to world.
[in] | veh | new vehicle. |
References Simulators::VSIM::Object::insertInWorld().
Referenced by Simulators::VSIM::Task::onResourceInitialization().
|
inline |
Returns world's integration timestep.
|
inline |
Define world's integration timestep.
[in] | ts | integration timestep. |
Referenced by Simulators::VSIM::Task::onResourceInitialization().
void Simulators::VSIM::World::takeStep | ( | void | ) |
Simulation's tick.
Referenced by Simulators::VSIM::Task::task().