Go to the documentation of this file.
21 #include <gz/math/Vector3.hh>
28 #include "sdf/sdf_config.h"
34 inline namespace SDF_VERSION_NAMESPACE {
83 public:
Errors ValidateGraphs()
const;
87 public: std::string Name()
const;
91 public:
void SetName(
const std::string &_name)
const;
97 public: std::string AudioDevice()
const;
103 public:
void SetAudioDevice(
const std::string &_device);
109 public: gz::math::Vector3d WindLinearVelocity()
const;
115 public:
void SetWindLinearVelocity(
const gz::math::Vector3d &_wind);
122 public: gz::math::Vector3d Gravity()
const;
127 public:
void SetGravity(
const gz::math::Vector3d &_gravity);
135 public: gz::math::Vector3d MagneticField()
const;
143 public:
void SetMagneticField(
const gz::math::Vector3d &_mag);
147 public: uint64_t ModelCount()
const;
154 public:
const Model *ModelByIndex(
const uint64_t _index)
const;
159 public:
const Model *ModelByName(
const std::string &_name)
const;
164 public:
bool ModelNameExists(
const std::string &_name)
const;
168 public: uint64_t ActorCount()
const;
175 public:
const Actor *ActorByIndex(
const uint64_t _index)
const;
180 public:
bool ActorNameExists(
const std::string &_name)
const;
184 public: uint64_t FrameCount()
const;
192 public:
const Frame *FrameByIndex(
const uint64_t _index)
const;
198 public:
const Frame *FrameByName(
const std::string &_name)
const;
203 public:
bool FrameNameExists(
const std::string &_name)
const;
207 public: uint64_t LightCount()
const;
214 public:
const Light *LightByIndex(
const uint64_t _index)
const;
219 public:
bool LightNameExists(
const std::string &_name)
const;
239 public:
void SetGui(
const sdf::Gui &_gui);
249 public:
void SetScene(
const sdf::Scene &_scene);
259 public: uint64_t PhysicsCount()
const;
267 public:
const Physics *PhysicsByIndex(
const uint64_t _index)
const;
271 public:
const Physics *PhysicsDefault()
const;
276 public:
bool PhysicsNameExists(
const std::string &_name)
const;
279 private: WorldPrivate *dataPtr =
nullptr;
namespace for Simulation Description Format parser
Definition: Actor.hh:32
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
#define SDFORMAT_VISIBLE
Definition: system_util.hh:48
Provides a description of a light source.
Definition: Light.hh:62
A Frame element descibes the properties associated with an explicit frame defined in a Model or World...
Definition: Frame.hh:41
The physics element specifies the type and properties of a dynamics engine.
Definition: Physics.hh:38
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
Provides a description of an actor.
Definition: Actor.hh:277
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
The Atmosphere class contains information about an atmospheric model and related parameters such as t...
Definition: Atmosphere.hh:46