17 XmlRobot(TiXmlElement* element,
string path=
string());
38 XmlTerrain(TiXmlElement* element,
string path=
string());
49 bool Load(
const string& fn);
50 bool Load(TiXmlElement* e,
string path=
string());
52 TiXmlElement* GetElement(
const string& name);
53 TiXmlElement* GetElement(
const string& name,
int index);
54 TiXmlElement* GetRobot(
int index) {
return GetElement(
"robot",index); }
55 TiXmlElement* GetRigidObject(
int index) {
return GetElement(
"rigidObject",index); }
56 TiXmlElement* GetTerrain(
int index) {
return GetElement(
"terrain",index); }
61 bool Save(
WorldModel& world,
const string& fn,
string itempath=
string());
A (static) rigid object that may be manipulated.
Definition: RigidObject.h:15
Defines the WorldModel class.
Definition: XmlWorld.h:14
Definition: XmlWorld.h:35
Definition: XmlWorld.h:45
Definition: XmlWorld.h:25
A model of a static terrain with known friction.
Definition: Terrain.h:15
The main robot type used in RobotSim.
Definition: Robot.h:83
Definition: ContactDistance.h:6
The main world class containing multiple robots, objects, and static geometries (terrains). Lights and other viewport information may also be stored here.
Definition: World.h:24