Go to the documentation of this file.
   17 #ifndef SDF_VISUAL_HH_ 
   18 #define SDF_VISUAL_HH_ 
   22 #include <gz/math/Pose3.hh> 
   23 #include <gz/utils/ImplPtr.hh> 
   39   inline namespace SDF_VERSION_NAMESPACE {
 
   45   struct PoseRelativeToGraph;
 
   46   template <
typename T> 
class ScopedGraph;
 
   73     public: std::string Name() 
const;
 
   78     public: 
void SetName(
const std::string &_name);
 
   82     public: 
bool CastShadows() 
const;
 
   86     public: 
void SetCastShadows(
bool _castShadows);
 
   90     public: 
float Transparency() 
const;
 
   94     public: 
void SetTransparency(
float _transparency);
 
   98     public: 
const Geometry *Geom() 
const;
 
  102     public: 
void SetGeom(
const Geometry &_geom);
 
  108     public: 
const gz::math::Pose3d &RawPose() 
const;
 
  113     public: 
void SetRawPose(
const gz::math::Pose3d &_pose);
 
  119     public: 
const std::string &PoseRelativeTo() 
const;
 
  125     public: 
void SetPoseRelativeTo(
const std::string &_frame);
 
  150     public: uint32_t VisibilityFlags() 
const;
 
  154     public: 
void SetVisibilityFlags(uint32_t _flags);
 
  160     public: 
void SetHasLaserRetro(
bool _laserRetro);
 
  164     public: 
bool HasLaserRetro() 
const;
 
  168     public: 
double LaserRetro() 
const;
 
  172     public: 
void SetLaserRetro(
double _laserRetro);
 
  192     public: 
void ClearPlugins();
 
  196     public: 
void AddPlugin(
const Plugin &_plugin);
 
  202     private: 
void SetXmlParentName(
const std::string &_xmlParentName);
 
  208     private: 
void SetPoseRelativeToGraph(
 
  217     GZ_UTILS_IMPL_PTR(dataPtr)
 
  
namespace for Simulation Description Format parser
Definition: Actor.hh:34
 
This class contains visual material properties.
Definition: Material.hh:46
 
#define SDFORMAT_VISIBLE
Definition: system_util.hh:25
 
Geometry provides access to a shape, such as a Box.
Definition: Geometry.hh:84
 
This class contains configuration options for the libsdformat parser.
Definition: ParserConfig.hh:84
 
class GZ_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
 
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:80
 
Definition: Collision.hh:40
 
std::vector< Plugin > Plugins
A vector of Plugin.
Definition: Plugin.hh:196
 
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54