Go to the documentation of this file.
21 #include <ignition/math/Vector3.hh>
22 #include <ignition/utils/ImplPtr.hh>
29 #include "sdf/sdf_config.h"
35 inline namespace SDF_VERSION_NAMESPACE {
47 struct PoseRelativeToGraph;
48 struct FrameAttachedToGraph;
49 template <
typename T>
class ScopedGraph;
75 public: std::string Name()
const;
79 public:
void SetName(
const std::string &_name);
85 public: std::string AudioDevice()
const;
91 public:
void SetAudioDevice(
const std::string &_device);
97 public: ignition::math::Vector3d WindLinearVelocity()
const;
103 public:
void SetWindLinearVelocity(
const ignition::math::Vector3d &_wind);
110 public: ignition::math::Vector3d Gravity()
const;
115 public:
void SetGravity(
const ignition::math::Vector3d &_gravity);
123 public: ignition::math::Vector3d MagneticField()
const;
131 public:
void SetMagneticField(
const ignition::math::Vector3d &_mag);
138 public: uint64_t ModelCount()
const;
146 public:
const Model *ModelByIndex(
const uint64_t _index)
const;
155 public:
const Model *ModelByName(
const std::string &_name)
const;
162 public:
bool ModelNameExists(
const std::string &_name)
const;
166 public: uint64_t ActorCount()
const;
173 public:
const Actor *ActorByIndex(
const uint64_t _index)
const;
178 public:
bool ActorNameExists(
const std::string &_name)
const;
185 public: uint64_t FrameCount()
const;
194 public:
const Frame *FrameByIndex(
const uint64_t _index)
const;
202 public:
const Frame *FrameByName(
const std::string &_name)
const;
209 public:
bool FrameNameExists(
const std::string &_name)
const;
213 public: uint64_t LightCount()
const;
220 public:
const Light *LightByIndex(
const uint64_t _index)
const;
225 public:
bool LightNameExists(
const std::string &_name)
const;
245 public:
void SetGui(
const sdf::Gui &_gui);
255 public:
void SetScene(
const sdf::Scene &_scene);
265 public: uint64_t PhysicsCount()
const;
273 public:
const Physics *PhysicsByIndex(
const uint64_t _index)
const;
277 public:
const Physics *PhysicsDefault()
const;
282 public:
bool PhysicsNameExists(
const std::string &_name)
const;
288 public: uint64_t InterfaceModelCount()
const;
296 public: std::shared_ptr<const InterfaceModel> InterfaceModelByIndex(
297 const uint64_t _index)
const;
306 public:
const NestedInclude* InterfaceModelNestedIncludeByIndex(
307 const uint64_t _index)
const;
313 private:
void SetPoseRelativeToGraph(
320 private:
void SetFrameAttachedToGraph(
328 IGN_UTILS_IMPL_PTR(dataPtr)
Definition: Collision.hh:39
The physics element specifies the type and properties of a dynamics engine.
Definition: Physics.hh:36
Provides a description of a light source.
Definition: Light.hh:63
Provides a description of an actor.
Definition: Actor.hh:190
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
namespace for Simulation Description Format parser
Definition: Actor.hh:33
This class contains configuration options for the libsdformat parser.
Definition: ParserConfig.hh:84
Contains the necessary information about an included model file for custom model parsers to be able t...
Definition: InterfaceElements.hh:43
#define SDFORMAT_VISIBLE
Definition: system_util.hh:41
A Frame element descibes the properties associated with an explicit frame defined in a Model or World...
Definition: Frame.hh:42
The Atmosphere class contains information about an atmospheric model and related parameters such as t...
Definition: Atmosphere.hh:45
Root class that acts as an entry point to the SDF document model.
Definition: Root.hh:54
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106