#include <Enki.h>
Inheritance diagram for Teem::EnkiWorld:
Public Member Functions | |
EnkiWorld (bool createEnkiViewer=true) | |
Constructor. | |
virtual | ~EnkiWorld () |
Destructor: Delete viewer, video, automatically created entities and world. | |
template<class ViewerT> | |
void | createViewer () |
Create the viewer. | |
template<class ViewerT, class T1> | |
void | createViewer (T1 p1) |
Create the viewer. | |
virtual Sbot * | createSbot () |
Create an sbot. | |
virtual SbotActiveObject * | createSbotActiveObject () |
Create an active object (sbot). | |
virtual Khepera * | createKhepera () |
Create a Khepera. | |
virtual Alice * | createAlice () |
Create an Alice. | |
virtual AliceLargeDisk * | createAliceLargeDisk () |
Create an Alice small disk. | |
virtual AliceSmallDisk * | createAliceSmallDisk () |
Create an Alice large disk. | |
virtual RectangularBlock * | createRectangularBlock () |
Create a rectangular block. | |
virtual void | step (double dt) |
Run the world for dt milliseconds. | |
virtual An::Point | getDimension () |
Return the size of this square world. | |
virtual void | setWallTextures (const std::valarray< An::Texture > &textures) |
Set the wall textures of this world. | |
virtual void | useWalls (bool use) |
Enable/disable the use of walls. A square arena has walls by default. | |
Enki::World * | getEnkiInstance () |
Return the instance of the world in Enki. | |
Protected Attributes | |
Enki::World * | world |
Instance of Enki world. | |
EnkiViewer * | viewer |
Instance of Enki viewer. | |
Ishtar::VariablesPublisher | ishtarPublisher |
Ishtar publisher for accessible variables of the EnkiWorld. | |
Ishtar::Variable< unsigned, true, 2 > | dimension |
Dimensions of Enki world. | |
Ishtar::Variable< unsigned > | useVideo |
True if we record videos. | |
Ishtar::ArrayHelper | objectsArrayHelper |
A helper to get the root for PhysicalObject in objects. | |
Ishtar::Variable< bool > | realisticMode |
If true, postprocessing is applied to inputs/outputs so that simulation matches reality more closely. | |
std::vector< Entity * > | autoCreatedEntities |
Entities that have been automatically created in constructor from an Ishtar. settings file. | |
EnkiRealisticConditions | realisticConditions |
Instance of EnkiRealisticConditions. | |
Friends | |
class | EnkiKhepera |
class | EnkiAlice |
class | EnkiAliceSmallDisk |
class | EnkiAliceLargeDisk |
class | EnkiSbot |
class | EnkiSbotActiveObject |
class | EnkiRectangularBlock |