17 #ifndef _ENTITYMAKER_HH_
18 #define _ENTITYMAKER_HH_
45 public:
typedef boost::function<void(
const math::Vector3 &pos,
55 public:
static void SetSnapToGrid(
bool _snap);
61 public:
virtual void Stop() = 0;
64 public:
virtual bool IsActive()
const = 0;
88 protected:
virtual void CreateTheEntity() = 0;
99 private:
static bool snapToGrid;
100 private:
static double snapDistance;
101 private:
static double snapGridSize;
transport::PublisherPtr makerPub
Definition: EntityMaker.hh:94
Generic description of a mouse event.
Definition: MouseEvent.hh:35
CreateCallback createCB
Definition: EntityMaker.hh:96
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
transport::NodePtr node
Definition: EntityMaker.hh:92
transport::PublisherPtr requestPub
Definition: EntityMaker.hh:95
Forward declarations for transport.
boost::function< void(const math::Vector3 &pos, const math::Vector3 &scale)> CreateCallback
Definition: EntityMaker.hh:46
to make an entity base class
Definition: EntityMaker.hh:41
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
rendering::UserCameraPtr camera
Definition: EntityMaker.hh:90
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:91
transport::PublisherPtr visPub
Definition: EntityMaker.hh:93
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:66