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>
32 #include "sdf/sdf_config.h"
38 inline namespace SDF_VERSION_NAMESPACE {
43 struct PoseRelativeToGraph;
44 template <
typename T>
class ScopedGraph;
62 public: std::string Name()
const;
67 public:
void SetName(
const std::string &_name);
71 public:
bool CastShadows()
const;
75 public:
void SetCastShadows(
bool _castShadows);
79 public:
float Transparency()
const;
83 public:
void SetTransparency(
float _transparency);
87 public:
const Geometry *Geom()
const;
91 public:
void SetGeom(
const Geometry &_geom);
97 public:
const ignition::math::Pose3d &RawPose()
const;
102 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
108 public:
const std::string &PoseRelativeTo()
const;
114 public:
void SetPoseRelativeTo(
const std::string &_frame);
139 public: uint32_t VisibilityFlags()
const;
143 public:
void SetVisibilityFlags(uint32_t _flags);
149 public:
void SetHasLaserRetro(
bool _laserRetro);
153 public:
bool HasLaserRetro()
const;
157 public:
double LaserRetro()
const;
161 public:
void SetLaserRetro(
double _laserRetro);
167 private:
void SetXmlParentName(
const std::string &_xmlParentName);
173 private:
void SetPoseRelativeToGraph(
182 IGN_UTILS_IMPL_PTR(dataPtr)
Definition: Collision.hh:39
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:54
Geometry provides access to a shape, such as a Box.
Definition: Geometry.hh:77
namespace for Simulation Description Format parser
Definition: Actor.hh:33
This class contains visual material properties.
Definition: Material.hh:45
#define SDFORMAT_VISIBLE
Definition: system_util.hh:41
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106