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;
DirectionalLightMaker()
Constructor.
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.
PointLightMaker()
Constructor.
SpotLightMaker()
Constructor.
EntityMaker()
Constructor.
gui namespace
Definition Actions.hh:28
Forward declarations for the common classes.
Definition Animation.hh:27