EntityMaker Class Referenceabstract

To make an entity, base class. More...

#include <EntityMaker.hh>

Inherited by LightMaker, and ModelMaker.

Public Member Functions

 EntityMaker ()
 Constructor.
 
virtual ~EntityMaker ()
 Destructor.
 
virtual ignition::math::Vector3d EntityPosition () const
 Returns the entity world position.
 
virtual void OnMouseMove (const common::MouseEvent &_event)
 Callback when moving mouse.
 
virtual void OnMouseRelease (const common::MouseEvent &_event)
 Callback when mouse button is released.
 
virtual void Start ()
 Start the maker.
 
virtual void Stop ()
 Stop the maker.
 

Protected Member Functions

virtual void CreateTheEntity ()=0
 Creates the entity.
 
virtual void SetEntityPosition (const ignition::math::Vector3d &_pos)
 Sets the entity world position.
 

Detailed Description

To make an entity, base class.


The documentation for this class was generated from the following file: