Go to the documentation of this file.
18 #ifndef GAZEBO_RENDERING_LASERVISUAL_HH_
19 #define GAZEBO_RENDERING_LASERVISUAL_HH_
23 #include <ignition/math/Color.hh>
25 #include "gazebo/msgs/MessageTypes.hh"
45 const std::string &_topicName);
51 public:
virtual void SetEmissive(
const ignition::math::Color &_color,
52 const bool _cascade =
true)
override;
55 private:
void OnScan(ConstLaserScanStampedPtr &_msg);
58 private:
void Update();
Forward declarations for the common classes.
Definition: Animation.hh:26
LaserVisual(const std::string &_name, VisualPtr _vis, const std::string &_topicName)
Constructor.
rendering
Definition: RenderEngine.hh:31
A renderable object.
Definition: Visual.hh:60
Visualization for laser data.
Definition: LaserVisual.hh:38
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:114
virtual ~LaserVisual()
Destructor.
virtual void SetEmissive(const ignition::math::Color &_color, const bool _cascade=true) override
Set the emissive value.