Go to the documentation of this file.
21 #include <ignition/math/Vector3.hh>
28 #include "sdf/sdf_config.h"
34 inline namespace SDF_VERSION_NAMESPACE {
81 public: std::string Name()
const;
85 public:
void SetName(
const std::string &_name)
const;
91 public: std::string AudioDevice()
const;
97 public:
void SetAudioDevice(
const std::string &_device);
103 public: ignition::math::Vector3d WindLinearVelocity()
const;
109 public:
void SetWindLinearVelocity(
const ignition::math::Vector3d &_wind);
116 public: ignition::math::Vector3d Gravity()
const;
121 public:
void SetGravity(
const ignition::math::Vector3d &_gravity);
129 public: ignition::math::Vector3d MagneticField()
const;
137 public:
void SetMagneticField(
const ignition::math::Vector3d &_mag);
141 public: uint64_t ModelCount()
const;
148 public:
const Model *ModelByIndex(
const uint64_t _index)
const;
153 public:
const Model *ModelByName(
const std::string &_name)
const;
158 public:
bool ModelNameExists(
const std::string &_name)
const;
162 public: uint64_t ActorCount()
const;
169 public:
const Actor *ActorByIndex(
const uint64_t _index)
const;
174 public:
bool ActorNameExists(
const std::string &_name)
const;
178 public: uint64_t FrameCount()
const;
186 public:
const Frame *FrameByIndex(
const uint64_t _index)
const;
192 public:
const Frame *FrameByName(
const std::string &_name)
const;
197 public:
bool FrameNameExists(
const std::string &_name)
const;
201 public: uint64_t LightCount()
const;
208 public:
const Light *LightByIndex(
const uint64_t _index)
const;
213 public:
bool LightNameExists(
const std::string &_name)
const;
233 public:
void SetGui(
const sdf::Gui &_gui);
243 public:
void SetScene(
const sdf::Scene &_scene);
253 public: uint64_t PhysicsCount()
const;
261 public:
const Physics *PhysicsByIndex(
const uint64_t _index)
const;
265 public:
const Physics *PhysicsDefault()
const;
270 public:
bool PhysicsNameExists(
const std::string &_name)
const;
273 private: WorldPrivate *dataPtr =
nullptr;
The physics element specifies the type and properties of a dynamics engine.
Definition: Physics.hh:38
namespace for Simulation Description Format parser
Definition: Actor.hh:32
Provides a description of an actor.
Definition: Actor.hh:277
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:95
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
#define SDFORMAT_VISIBLE
Definition: system_util.hh:48
A Frame element descibes the properties associated with an explicit frame defined in a Model or World...
Definition: Frame.hh:41
Provides a description of a light source.
Definition: Light.hh:62
The Atmosphere class contains information about an atmospheric model and related parameters such as t...
Definition: Atmosphere.hh:46
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49