#include <ModelMaker.hh>

Public Member Functions | |
| ModelMaker () | |
| virtual | ~ModelMaker () |
| bool | InitFromFile (const std::string &_filename) |
| bool | InitFromModel (const std::string &_modelName) |
| Initialize the model maker with an existing model. More... | |
| bool | InitFromSDFString (const std::string &_data) |
| virtual bool | IsActive () const |
| Checks if entity is active. More... | |
| virtual void | OnMouseDrag (const common::MouseEvent &_event) |
| Callback for dragging with mouse. More... | |
| virtual void | OnMouseMove (const common::MouseEvent &_event) |
| Callback when moving mouse. More... | |
| virtual void | OnMousePush (const common::MouseEvent &_event) |
| Callback for pushing entity with mouse. More... | |
| virtual void | OnMouseRelease (const common::MouseEvent &_event) |
| Callback for releasing mouse button. More... | |
| virtual void | Start (const rendering::UserCameraPtr _camera) |
| virtual void | Stop () |
Public Member Functions inherited from gazebo::gui::EntityMaker | |
| EntityMaker () | |
| Constructor. More... | |
| virtual | ~EntityMaker () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from gazebo::gui::EntityMaker | |
| typedef boost::function< void(const math::Vector3 &pos, const math::Vector3 &scale)> | CreateCallback |
Static Public Member Functions inherited from gazebo::gui::EntityMaker | |
| static void | SetSnapToGrid (bool _snap) |
| Set whether to snap to grid. More... | |
Protected Member Functions inherited from gazebo::gui::EntityMaker | |
| math::Vector3 | GetSnappedPoint (math::Vector3 _p) |
| Get a point snapped to a grid. More... | |
Protected Attributes inherited from gazebo::gui::EntityMaker | |
| rendering::UserCameraPtr | camera |
| CreateCallback | createCB |
| transport::PublisherPtr | makerPub |
| transport::NodePtr | node |
| transport::PublisherPtr | requestPub |
| transport::PublisherPtr | visPub |
| gazebo::gui::ModelMaker::ModelMaker | ( | ) |
|
virtual |
| bool gazebo::gui::ModelMaker::InitFromFile | ( | const std::string & | _filename | ) |
| bool gazebo::gui::ModelMaker::InitFromModel | ( | const std::string & | _modelName | ) |
Initialize the model maker with an existing model.
| [in] | _modelName | Name of existing model in the scene. |
| bool gazebo::gui::ModelMaker::InitFromSDFString | ( | const std::string & | _data | ) |
|
virtual |
Checks if entity is active.
Implements gazebo::gui::EntityMaker.
|
virtual |
Callback for dragging with mouse.
| [in] | _event | MouseEvent object |
Reimplemented from gazebo::gui::EntityMaker.
|
virtual |
Callback when moving mouse.
| [in] | _event | MouseEvent object |
Reimplemented from gazebo::gui::EntityMaker.
|
virtual |
Callback for pushing entity with mouse.
| [in] | _event | MouseEvent object |
Reimplemented from gazebo::gui::EntityMaker.
|
virtual |
Callback for releasing mouse button.
| [in] | _event | MouseEvent object |
Reimplemented from gazebo::gui::EntityMaker.
|
virtual |
| [in] | _camera | Pointer to the user camera |
Implements gazebo::gui::EntityMaker.
|
virtual |
Implements gazebo::gui::EntityMaker.