21 #include <ignition/math/Vector3.hh> 28 #include "sdf/sdf_config.h" 34 inline namespace SDF_VERSION_NAMESPACE {
79 public: std::string Name()
const;
83 public:
void SetName(
const std::string &_name)
const;
89 public: std::string AudioDevice()
const;
95 public:
void SetAudioDevice(
const std::string &_device);
101 public: ignition::math::Vector3d WindLinearVelocity()
const;
107 public:
void SetWindLinearVelocity(
const ignition::math::Vector3d &_wind);
114 public: ignition::math::Vector3d Gravity()
const;
119 public:
void SetGravity(
const ignition::math::Vector3d &_gravity);
127 public: ignition::math::Vector3d MagneticField()
const;
135 public:
void SetMagneticField(
const ignition::math::Vector3d &_mag);
139 public: uint64_t ModelCount()
const;
146 public:
const Model *ModelByIndex(
const uint64_t _index)
const;
151 public:
bool ModelNameExists(
const std::string &_name)
const;
155 public: uint64_t LightCount()
const;
162 public:
const Light *LightByIndex(
const uint64_t _index)
const;
167 public:
bool LightNameExists(
const std::string &_name)
const;
173 public:
const sdf::Atmosphere *
Atmosphere()
const;
177 public:
void SetAtmosphere(
const sdf::Atmosphere &_atmosphere)
const;
183 public: sdf::Gui *
Gui()
const;
187 public:
void SetGui(
const sdf::Gui &_gui);
193 public:
const sdf::Scene *
Scene()
const;
197 public:
void SetScene(
const sdf::Scene &_scene);
207 public: uint64_t PhysicsCount()
const;
215 public:
const Physics *PhysicsByIndex(
const uint64_t _index)
const;
219 public:
const Physics *PhysicsDefault()
const;
224 public:
bool PhysicsNameExists(
const std::string &_name)
const;
227 private: WorldPrivate *dataPtr =
nullptr;
Provides a description of a light source.
Definition: Light.hh:59
class SDFORMAT_VISIBLE Element
Definition: Element.hh:47
The Atmosphere class contains information about an atmospheric model and related parameters such as t...
Definition: Atmosphere.hh:46
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:51
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:74
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
The physics element specifies the type and properties of a dynamics engine.
Definition: Physics.hh:38
namespace for Simulation Description Format parser
Definition: AirPressure.hh:25