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;
59 const ignition::math::Vector3d &_pos);
63 protected:
virtual bool Init();
69 protected: msgs::Light
msg;
76 private: std::unique_ptr<LightMakerPrivate> dataPtr;
gui
Definition KeyEventHandler.hh:29
Used to insert a new directional light into the scene.
Definition LightMaker.hh:95
DirectionalLightMaker()
Constructor.
To make an entity, base class.
Definition EntityMaker.hh:40
Used to insert a new light into the scene.
Definition LightMaker.hh:36
void Start()
Start the maker.
void Stop()
Stop the maker.
msgs::Light msg
Message that holds all the light information.
Definition LightMaker.hh:69
bool InitFromLight(const std::string &_lightName)
Initialize the light maker from an existing light in the scene.
std::string lightTypename
Type of the light being spawned.
Definition LightMaker.hh:72
virtual void CreateTheEntity()
Creates the entity.
virtual void SetEntityPosition(const ignition::math::Vector3d &_pos)
Sets the entity world position.
virtual ignition::math::Vector3d EntityPosition() const
Returns the entity world position.
virtual ~LightMaker()
Destructor.
virtual bool Init()
Initialize the light maker.
Used to insert a new point light into the scene.
Definition LightMaker.hh:81
PointLightMaker()
Constructor.
Used to insert a new spot light into the scene.
Definition LightMaker.hh:88
SpotLightMaker()
Constructor.
Forward declarations for the common classes.
Definition Animation.hh:27