libmove3d-planners
|
Class that represents a Scene, Described by a p3d file. More...
#include <scene.hpp>
Public Member Functions | |
Scene (env *environnment) | |
Constructeur de la classe. More... | |
~Scene () | |
Destructeur de la classe. | |
std::string | getName () |
obtient le nom de l'Scene More... | |
void | createAgents () |
create agents and attach them to their robots | |
void | createObjects () |
create objectRob class and attach them to the robot | |
FactsManager * | getFactsManager () |
void | setActiveRobot (std::string name) |
modifie le Robot actif More... | |
Robot * | getActiveRobot () |
obtient le Robot actif More... | |
Robot * | getRobot (unsigned int i) |
Returns the robot by id. | |
unsigned int | getRobotId (std::string str) |
Returns the robot ID. | |
Robot * | getRobotByName (std::string name) |
Get robot by name. | |
Robot * | getRobotByNameContaining (std::string name) |
Get robot by name containing. | |
std::vector< Robot * > | getAllRobotWithNameContaining (std::string str) |
Get all robot with name containing. | |
Robot * | getRobot (p3d_rob *rob) |
void | insertRobot (Robot *R) |
insert un nouveau Robot au vecteur des Robot More... | |
unsigned int | getNumberOfRobots () |
Returns the number of Robots in the Scene. | |
double | getDMax () |
Returns the scene resolution step DMax. | |
std::vector< double > | getBounds () |
Returns boundries of scene. | |
void | drawSurfaces () |
Draw surfaces of all the objects. | |
Class that represents a Scene, Described by a p3d file.
Scene::Scene | ( | env * | environnment | ) |
Constructeur de la classe.
name | le nom de l'Scene |
Robot * Scene::getActiveRobot | ( | ) |
|
inline |
void Scene::insertRobot | ( | Robot * | R | ) |
void Scene::setActiveRobot | ( | std::string | name | ) |