Used to insert a new light into the scene. More...
#include <LightMaker.hh>

Public Member Functions | |
| LightMaker () | |
| Constructor. More... | |
| virtual ignition::math::Vector3d | EntityPosition () const |
| Returns the entity world position. More... | |
| bool | InitFromLight (const std::string &_lightName) |
| Initialize the light maker from an existing light in the scene. More... | |
| void | Start () |
| Start the maker. More... | |
| void | Stop () |
| Stop the maker. More... | |
Public Member Functions inherited from gazebo::gui::EntityMaker | |
| virtual | ~EntityMaker () |
| Destructor. More... | |
| virtual void | OnMouseMove (const common::MouseEvent &_event) |
| Callback when moving mouse. More... | |
| virtual void | OnMouseRelease (const common::MouseEvent &_event) |
| Callback when mouse button is released. More... | |
Protected Member Functions | |
| virtual void | CreateTheEntity () |
| Creates the entity. More... | |
| virtual bool | Init () |
| Initialize the light maker. More... | |
| virtual void | SetEntityPosition (const ignition::math::Vector3d &_pos) |
| Sets the entity world position. More... | |
Protected Member Functions inherited from gazebo::gui::EntityMaker | |
| EntityMaker (EntityMakerPrivate &_dataPtr) | |
| Constructor used by inherited classes. More... | |
Additional Inherited Members | |
Protected Attributes inherited from gazebo::gui::EntityMaker | |
| EntityMakerPrivate * | dataPtr |
Used to insert a new light into the scene.
| gazebo::gui::LightMaker::LightMaker | ( | ) |
Constructor.
|
protectedvirtual |
Creates the entity.
Implements gazebo::gui::EntityMaker.
|
virtual |
Returns the entity world position.
Reimplemented from gazebo::gui::EntityMaker.
|
protectedvirtual |
Initialize the light maker.
| bool gazebo::gui::LightMaker::InitFromLight | ( | const std::string & | _lightName | ) |
Initialize the light maker from an existing light in the scene.
| [in] | _lightName | Name of existing light in the scene. |
|
protectedvirtual |
Sets the entity world position.
| [in] | _pos | New position in the world frame. |
Reimplemented from gazebo::gui::EntityMaker.
|
virtual |
Start the maker.
Reimplemented from gazebo::gui::EntityMaker.
|
virtual |
Stop the maker.
Reimplemented from gazebo::gui::EntityMaker.