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