Used to insert a new directional light into the scene. More...
#include <LightMaker.hh>
Inherits LightMaker.
Public Member Functions | |
DirectionalLightMaker () | |
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... | |
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... | |
void | Start () |
Start the maker. More... | |
void | Stop () |
Stop the maker. 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 Attributes | |
EntityMakerPrivate * | dataPtr |
Used to insert a new directional light into the scene.
Constructor.
|
protectedvirtualinherited |
Creates the entity.
Implements EntityMaker.
|
virtualinherited |
Returns the entity world position.
Reimplemented from EntityMaker.
|
protectedvirtualinherited |
Initialize the light maker.
|
inherited |
Initialize the light maker from an existing light in the scene.
[in] | _lightName | Name of existing light in the scene. |
|
protectedvirtualinherited |
Sets the entity world position.
[in] | _pos | New position in the world frame. |
Reimplemented from EntityMaker.
|
virtualinherited |
Start the maker.
Reimplemented from EntityMaker.
|
virtualinherited |
Stop the maker.
Reimplemented from EntityMaker.