Go to the documentation of this file.
17 #ifndef SDF_VISUAL_HH_
18 #define SDF_VISUAL_HH_
22 #include <ignition/math/Pose3.hh>
31 #include "sdf/sdf_config.h"
37 inline namespace SDF_VERSION_NAMESPACE {
43 struct PoseRelativeToGraph;
82 public: std::string Name()
const;
87 public:
void SetName(
const std::string &_name)
const;
91 public:
bool CastShadows()
const;
95 public:
void SetCastShadows(
bool _castShadows);
99 public:
float Transparency()
const;
103 public:
void SetTransparency(
float _transparency);
107 public:
const Geometry *Geom()
const;
111 public:
void SetGeom(
const Geometry &_geom);
117 public:
const ignition::math::Pose3d &RawPose()
const;
122 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
128 public:
const std::string &PoseRelativeTo()
const;
134 public:
void SetPoseRelativeTo(
const std::string &_frame);
159 public: uint32_t VisibilityFlags()
const;
163 public:
void SetVisibilityFlags(uint32_t _flags);
169 public:
void SetHasLaserRetro(
bool _laserRetro);
173 public:
bool HasLaserRetro()
const;
177 public:
double LaserRetro()
const;
181 public:
void SetLaserRetro(
double _laserRetro);
187 private:
void SetXmlParentName(
const std::string &_xmlParentName);
193 private:
void SetPoseRelativeToGraph(
194 std::weak_ptr<const PoseRelativeToGraph> _graph);
202 private: VisualPrivate *dataPtr =
nullptr;
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:53
namespace for Simulation Description Format parser
Definition: Actor.hh:32
Geometry provides access to a shape, such as a Box.
Definition: Geometry.hh:69
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:95
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
#define SDFORMAT_VISIBLE
Definition: system_util.hh:48
This class contains visual material properties.
Definition: Material.hh:45
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49