Go to the documentation of this file.
17 #ifndef SDF_VISUAL_HH_
18 #define SDF_VISUAL_HH_
22 #include <ignition/math/Pose3.hh>
23 #include <ignition/utils/ImplPtr.hh>
39 inline namespace SDF_VERSION_NAMESPACE {
44 struct PoseRelativeToGraph;
45 template <
typename T>
class ScopedGraph;
63 public: std::string Name()
const;
68 public:
void SetName(
const std::string &_name);
72 public:
bool CastShadows()
const;
76 public:
void SetCastShadows(
bool _castShadows);
80 public:
float Transparency()
const;
84 public:
void SetTransparency(
float _transparency);
88 public:
const Geometry *Geom()
const;
92 public:
void SetGeom(
const Geometry &_geom);
98 public:
const ignition::math::Pose3d &RawPose()
const;
103 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
109 public:
const std::string &PoseRelativeTo()
const;
115 public:
void SetPoseRelativeTo(
const std::string &_frame);
140 public: uint32_t VisibilityFlags()
const;
144 public:
void SetVisibilityFlags(uint32_t _flags);
150 public:
void SetHasLaserRetro(
bool _laserRetro);
154 public:
bool HasLaserRetro()
const;
158 public:
double LaserRetro()
const;
162 public:
void SetLaserRetro(
double _laserRetro);
182 public:
void ClearPlugins();
186 public:
void AddPlugin(
const Plugin &_plugin);
192 private:
void SetXmlParentName(
const std::string &_xmlParentName);
198 private:
void SetPoseRelativeToGraph(
207 IGN_UTILS_IMPL_PTR(dataPtr)
Definition: Collision.hh:39
namespace for Simulation Description Format parser
Definition: Actor.hh:34
std::vector< Plugin > Plugins
A vector of Plugin.
Definition: Plugin.hh:196
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106
Geometry provides access to a shape, such as a Box.
Definition: Geometry.hh:83
#define SDFORMAT_VISIBLE
Definition: system_util.hh:25
class IGNITION_SDFORMAT_VISIBLE Element
Definition: Element.hh:50
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:54
This class contains visual material properties.
Definition: Material.hh:45
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54