18 #ifndef GAZEBO_GUI_LIGHTMAKER_HH_
19 #define GAZEBO_GUI_LIGHTMAKER_HH_
23 #include <ignition/math/Vector3.hh>
25 #include "gazebo/msgs/light.pb.h"
32 class LightMakerPrivate;
52 public:
bool InitFromLight(
const std::string &_lightName);
55 public:
virtual ignition::math::Vector3d EntityPosition()
const;
58 protected:
virtual void SetEntityPosition(
59 const ignition::math::Vector3d &_pos);
63 protected:
virtual bool Init();
66 protected:
virtual void CreateTheEntity();
69 protected: msgs::Light
msg;
76 private: std::unique_ptr<LightMakerPrivate> dataPtr;
Used to insert a new light into the scene.
Definition: LightMaker.hh:35
Used to insert a new spot light into the scene.
Definition: LightMaker.hh:87
std::string lightTypename
Type of the light being spawned.
Definition: LightMaker.hh:72
Used to insert a new point light into the scene.
Definition: LightMaker.hh:80
To make an entity, base class.
Definition: EntityMaker.hh:39
Used to insert a new directional light into the scene.
Definition: LightMaker.hh:94
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
msgs::Light msg
Message that holds all the light information.
Definition: LightMaker.hh:69