All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
gazebo::gui::SphereMaker Class Reference

#include <SphereMaker.hh>

Inheritance diagram for gazebo::gui::SphereMaker:
Inheritance graph
[legend]
Collaboration diagram for gazebo::gui::SphereMaker:
Collaboration graph
[legend]

Public Member Functions

 SphereMaker ()
 
virtual ~SphereMaker ()
 
std::string GetSDFString ()
 Get the SDF information for the sphere. More...
 
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 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...
 
virtual void OnMouseMove (const common::MouseEvent &_event)
 Callback when moving mouse. More...
 

Protected Member Functions

virtual void CreateTheEntity ()
 Creates the entity. More...
 
- Protected Member Functions inherited from gazebo::gui::EntityMaker
math::Vector3 GetSnappedPoint (math::Vector3 _p)
 Get a point snapped to a grid. 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 Attributes inherited from gazebo::gui::EntityMaker
rendering::UserCameraPtr camera
 
CreateCallback createCB
 
transport::PublisherPtr makerPub
 
transport::NodePtr node
 
transport::PublisherPtr requestPub
 
transport::PublisherPtr visPub
 

Constructor & Destructor Documentation

gazebo::gui::SphereMaker::SphereMaker ( )
virtual gazebo::gui::SphereMaker::~SphereMaker ( )
virtual

Member Function Documentation

virtual void gazebo::gui::SphereMaker::CreateTheEntity ( )
protectedvirtual

Creates the entity.

Implements gazebo::gui::EntityMaker.

std::string gazebo::gui::SphereMaker::GetSDFString ( )

Get the SDF information for the sphere.

Returns
The SDF as a string.
virtual bool gazebo::gui::SphereMaker::IsActive ( ) const
virtual

Checks if entity is active.

Implements gazebo::gui::EntityMaker.

virtual void gazebo::gui::SphereMaker::OnMouseDrag ( const common::MouseEvent _event)
virtual

Callback for dragging with mouse.

Parameters
[in]_eventMouseEvent object

Reimplemented from gazebo::gui::EntityMaker.

virtual void gazebo::gui::SphereMaker::OnMousePush ( const common::MouseEvent _event)
virtual

Callback for pushing entity with mouse.

Parameters
[in]_eventMouseEvent object

Reimplemented from gazebo::gui::EntityMaker.

virtual void gazebo::gui::SphereMaker::OnMouseRelease ( const common::MouseEvent _event)
virtual

Callback for releasing mouse button.

Parameters
[in]_eventMouseEvent object

Reimplemented from gazebo::gui::EntityMaker.

virtual void gazebo::gui::SphereMaker::Start ( const rendering::UserCameraPtr  _camera)
virtual
Parameters
[in]_cameraPointer to the user camera

Implements gazebo::gui::EntityMaker.

virtual void gazebo::gui::SphereMaker::Stop ( )
virtual

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