Files | Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Gazebo_gui

Files

file  GuiTypes.hh
 default namespace for gazebo
 

Namespaces

 gazebo::gui
 gui namespace
 

Classes

class  gazebo::gui::BoxMaker
 to make a box More...
 
class  gazebo::gui::BuildingEditorPalette
 A palette of building items which can be added to the editor. More...
 
class  gazebo::gui::BuildingEditorWidget
 The parent widget of the building editor, level widget and scale widget. More...
 
class  gazebo::gui::BuildingItem
 Base class of a items that have building level properties such as the level number and level height. More...
 
class  gazebo::gui::BuildingMaker
 Create and manage 3D visuals of a building. More...
 
class  gazebo::gui::BuildingModelManip
 Manipulate a 3D visual associated to a 2D editor item. More...
 
class  gazebo::gui::CylinderMaker
 to make a cylinder More...
 
class  gazebo::gui::DataLogger
 A widget that provides data logging functionality. More...
 
class  gazebo::gui::DoorItem
 2D representation of a door More...
 
class  gazebo::gui::EditorItem
 Base class of an item in the editor. More...
 
class  gazebo::gui::EditorView
 Control the editor view and manage contents in the editor scene. More...
 
class  gazebo::gui::EntityMaker
 to make an entity base class More...
 
class  gazebo::gui::FinishBuildingDialog
 Dialog for saving the building model. More...
 
class  gazebo::gui::FloorItem
 2D representation of a floor. More...
 
class  gazebo::gui::GridLines
 2D grid lines. More...
 
class  gazebo::gui::ImportDialog
 Dialog for saving to file. More...
 
class  gazebo::gui::JointMaker
 Joint visualization. More...
 
class  gazebo::gui::LevelInspectorDialog
 Dialog for configuring a building level. More...
 
class  gazebo::gui::LevelWidget
 
class  gazebo::gui::LineSegmentItem
 2D line segment. More...
 
class  gazebo::gui::ModelCreator
 Create and manage 3D visuals of a model with parts and joints. More...
 
class  gazebo::gui::ModelEditorPalette
 A palette of building items which can be added to the editor. More...
 
class  gazebo::gui::OculusWindow
 A widget that renders a camera view suitable for the Oculus Rift. More...
 
class  gazebo::gui::PolylineItem
 2D polyline. More...
 
class  gazebo::gui::RectItem
 2D rectangle. More...
 
class  gazebo::gui::RotateHandle
 Handle for rotating an editor item. More...
 
class  gazebo::gui::SaveDialog
 Dialog for saving to file. More...
 
class  gazebo::gui::ScaleWidget
 Widget that displays the scale (zoom level) of the editor. More...
 
class  gazebo::gui::StairsInspectorDialog
 Dialog for configuring a staircase item. More...
 
class  gazebo::gui::StairsItem
 2D representation of a staircase. More...
 
class  gazebo::gui::TerrainEditorPalette
 A palette of building items which can be added to the editor. More...
 
class  gazebo::gui::ToolsWidget
 A widget that manages all the tools on the right side of the render widget. More...
 
class  gazebo::gui::TopicSelector
 A widget that provides a list of topics to select from. More...
 
class  gazebo::gui::WallInspectorDialog
 Dialog for configuring a wall item. More...
 
class  gazebo::gui::WallItem
 2D representation of a wall. More...
 
class  gazebo::gui::WindowItem
 2D representation of a window. More...
 

Typedefs

typedef boost::function< void(const math::Vector3 &pos, const math::Vector3 &scale)> gazebo::gui::EntityMaker::CreateCallback
 

Enumerations

enum  gazebo::gui::EditorView::DrawModes {
  gazebo::gui::EditorView::NONE, gazebo::gui::EditorView::WALL, gazebo::gui::EditorView::WINDOW, gazebo::gui::EditorView::DOOR,
  gazebo::gui::EditorView::STAIRS
}
 Unique identifiers for all drawing modes within the editor. More...
 
enum  gazebo::gui::FinishBuildingDialog::FinishMode { gazebo::gui::FinishBuildingDialog::MODEL_FINISH, gazebo::gui::FinishBuildingDialog::MODEL_SAVE }
 Unique identifiers for all dialog modes. More...
 
enum  gazebo::gui::JointMaker::JointType {
  gazebo::gui::JointMaker::JOINT_NONE, gazebo::gui::JointMaker::JOINT_FIXED, gazebo::gui::JointMaker::JOINT_SLIDER, gazebo::gui::JointMaker::JOINT_HINGE,
  gazebo::gui::JointMaker::JOINT_HINGE2, gazebo::gui::JointMaker::JOINT_SCREW, gazebo::gui::JointMaker::JOINT_UNIVERSAL, gazebo::gui::JointMaker::JOINT_BALL
}
 
enum  gazebo::gui::ModelCreator::PartType {
  gazebo::gui::ModelCreator::PART_NONE, gazebo::gui::ModelCreator::PART_BOX, gazebo::gui::ModelCreator::PART_SPHERE, gazebo::gui::ModelCreator::PART_CYLINDER,
  gazebo::gui::ModelCreator::PART_CUSTOM
}
 
enum  gazebo::gui::RectItem::ResizeFlags { gazebo::gui::RectItem::NONE = 0x00, gazebo::gui::RectItem::ITEM_WIDTH = 0x01, gazebo::gui::RectItem::ITEM_HEIGHT = 0x02 }
 Resize flags used to indicate which dimension can be resized. More...
 

Functions

 gazebo::gui::BoxMaker::BoxMaker ()
 Constructor. More...
 
 gazebo::gui::CylinderMaker::CylinderMaker ()
 Constructor. More...
 
 gazebo::gui::EntityMaker::EntityMaker ()
 Constructor. More...
 
 gazebo::gui::ModelEditorPalette::ModelEditorPalette (QWidget *_parent=0)
 Constructor. More...
 
 gazebo::gui::OculusWindow::OculusWindow (int _x, int _y, const std::string &_visual, QWidget *_parent=0)
 Constructor. More...
 
 gazebo::gui::TerrainEditorPalette::TerrainEditorPalette (QWidget *_parent=0)
 Constructor. More...
 
virtual gazebo::gui::BoxMaker::~BoxMaker ()
 Deconstructor. More...
 
virtual gazebo::gui::CylinderMaker::~CylinderMaker ()
 Deconstructor. More...
 
virtual gazebo::gui::EntityMaker::~EntityMaker ()
 Destructor. More...
 
 gazebo::gui::ModelEditorPalette::~ModelEditorPalette ()
 Destructor. More...
 
virtual gazebo::gui::OculusWindow::~OculusWindow ()
 Destructor. More...
 
 gazebo::gui::TerrainEditorPalette::~TerrainEditorPalette ()
 Destructor. More...
 
bool gazebo::gui::OculusWindow::CreateCamera ()
 Initialize Oculus and create a camera. More...
 
virtual void gazebo::gui::EntityMaker::CreateTheEntity ()=0
 Creates the entity. More...
 
std::string gazebo::gui::CylinderMaker::GetSDFString ()
 Get the SDF information for the cylinder. More...
 
std::string gazebo::gui::BoxMaker::GetSDFString ()
 Get the SDF information for the box. More...
 
math::Vector3 gazebo::gui::EntityMaker::GetSnappedPoint (math::Vector3 _p)
 Get a point snapped to a grid. More...
 
virtual bool gazebo::gui::CylinderMaker::IsActive () const
 Documentation inherited. More...
 
virtual bool gazebo::gui::BoxMaker::IsActive () const
 Documentation inherited. More...
 
virtual bool gazebo::gui::EntityMaker::IsActive () const =0
 Checks if entity is active. More...
 
void gazebo::gui::OculusWindow::keyPressEvent (QKeyEvent *_event)
 
virtual void gazebo::gui::CylinderMaker::OnMouseDrag (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::BoxMaker::OnMouseDrag (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::EntityMaker::OnMouseDrag (const common::MouseEvent &_event)
 Callback for dragging with mouse. More...
 
virtual void gazebo::gui::CylinderMaker::OnMouseMove (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::BoxMaker::OnMouseMove (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::EntityMaker::OnMouseMove (const common::MouseEvent &_event)
 Callback when moving mouse. More...
 
virtual void gazebo::gui::CylinderMaker::OnMousePush (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::BoxMaker::OnMousePush (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::EntityMaker::OnMousePush (const common::MouseEvent &_event)
 Callback for pushing entity with mouse. More...
 
virtual void gazebo::gui::CylinderMaker::OnMouseRelease (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::BoxMaker::OnMouseRelease (const common::MouseEvent &_event)
 Documentation inherited. More...
 
virtual void gazebo::gui::EntityMaker::OnMouseRelease (const common::MouseEvent &_event)
 Callback for releasing mouse button. More...
 
virtual void gazebo::gui::OculusWindow::resizeEvent (QResizeEvent *_e)
 
static void gazebo::gui::EntityMaker::SetSnapToGrid (bool _snap)
 Set whether to snap to grid. More...
 
virtual void gazebo::gui::OculusWindow::showEvent (QShowEvent *_e)
 
virtual void gazebo::gui::CylinderMaker::Start (const rendering::UserCameraPtr _camera)
 Documentation inherited. More...
 
virtual void gazebo::gui::BoxMaker::Start (const rendering::UserCameraPtr _camera)
 Documentation inherited. More...
 
virtual void gazebo::gui::EntityMaker::Start (const rendering::UserCameraPtr _camera)=0
 
virtual void gazebo::gui::CylinderMaker::Stop ()
 Documentation inherited. More...
 
virtual void gazebo::gui::BoxMaker::Stop ()
 Documentation inherited. More...
 
virtual void gazebo::gui::EntityMaker::Stop ()=0
 

Variables

rendering::UserCameraPtr gazebo::gui::EntityMaker::camera
 
CreateCallback gazebo::gui::EntityMaker::createCB
 
transport::PublisherPtr gazebo::gui::EntityMaker::makerPub
 
transport::NodePtr gazebo::gui::EntityMaker::node
 
transport::PublisherPtr gazebo::gui::EntityMaker::requestPub
 
transport::PublisherPtr gazebo::gui::EntityMaker::visPub
 

Detailed Description

Typedef Documentation

typedef boost::function<void(const math::Vector3 &pos, const math::Vector3 &scale)> gazebo::gui::EntityMaker::CreateCallback

Enumeration Type Documentation

Unique identifiers for all drawing modes within the editor.

Enumerator
NONE 

None mode.

WALL 

Wall mode.

WINDOW 

Window mode.

DOOR 

Door mode.

STAIRS 

Stairs mode.

Unique identifiers for all dialog modes.

Enumerator
MODEL_FINISH 

Finish mode.

MODEL_SAVE 

Save mode.

Enumerator
JOINT_NONE 

none

JOINT_FIXED 

Fixed joint.

JOINT_SLIDER 

Slider joint.

JOINT_HINGE 

Hinge joint.

JOINT_HINGE2 

Hinge2 joint.

JOINT_SCREW 

Screw joint.

JOINT_UNIVERSAL 

Universal joint.

JOINT_BALL 

Revolute joint.

Enumerator
PART_NONE 

none

PART_BOX 

Box.

PART_SPHERE 

Sphere.

PART_CYLINDER 

Cylinder.

PART_CUSTOM 

Custom.

Resize flags used to indicate which dimension can be resized.

Enumerator
NONE 
ITEM_WIDTH 
ITEM_HEIGHT 

Function Documentation

gazebo::gui::BoxMaker::BoxMaker ( )

Constructor.

gazebo::gui::CylinderMaker::CylinderMaker ( )

Constructor.

gazebo::gui::EntityMaker::EntityMaker ( )

Constructor.

gazebo::gui::ModelEditorPalette::ModelEditorPalette ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.
gazebo::gui::OculusWindow::OculusWindow ( int  _x,
int  _y,
const std::string &  _visual,
QWidget *  _parent = 0 
)

Constructor.

gazebo::gui::TerrainEditorPalette::TerrainEditorPalette ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.
virtual gazebo::gui::BoxMaker::~BoxMaker ( )
virtual

Deconstructor.

virtual gazebo::gui::CylinderMaker::~CylinderMaker ( )
virtual

Deconstructor.

virtual gazebo::gui::EntityMaker::~EntityMaker ( )
virtual

Destructor.

gazebo::gui::ModelEditorPalette::~ModelEditorPalette ( )

Destructor.

virtual gazebo::gui::OculusWindow::~OculusWindow ( )
virtual

Destructor.

gazebo::gui::TerrainEditorPalette::~TerrainEditorPalette ( )

Destructor.

bool gazebo::gui::OculusWindow::CreateCamera ( )

Initialize Oculus and create a camera.

Returns
True when Oculus is connected and the camera was created.
virtual void gazebo::gui::EntityMaker::CreateTheEntity ( )
protectedpure virtual

Creates the entity.

Implemented in gazebo::gui::LightMaker, and gazebo::gui::SphereMaker.

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

Get the SDF information for the cylinder.

Returns
The SDF as a string.
std::string gazebo::gui::BoxMaker::GetSDFString ( )

Get the SDF information for the box.

Returns
The SDF as a string.
math::Vector3 gazebo::gui::EntityMaker::GetSnappedPoint ( math::Vector3  _p)
protected

Get a point snapped to a grid.

Parameters
[in]_pinput point to be snapped
Returns
math::Vector3 with the point on the grid
virtual bool gazebo::gui::CylinderMaker::IsActive ( ) const
virtual

Documentation inherited.

Implements gazebo::gui::EntityMaker.

virtual bool gazebo::gui::BoxMaker::IsActive ( ) const
virtual

Documentation inherited.

Implements gazebo::gui::EntityMaker.

virtual bool gazebo::gui::EntityMaker::IsActive ( ) const
pure virtual
void gazebo::gui::OculusWindow::keyPressEvent ( QKeyEvent *  _event)
protected
virtual void gazebo::gui::CylinderMaker::OnMouseDrag ( const common::MouseEvent _event)
virtual

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

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

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

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

Callback for dragging with mouse.

Parameters
[in]_eventMouseEvent object

Reimplemented in gazebo::gui::BoxMaker, gazebo::gui::CylinderMaker, gazebo::gui::ModelMaker, gazebo::gui::LightMaker, gazebo::gui::SphereMaker, and gazebo::gui::MeshMaker.

virtual void gazebo::gui::CylinderMaker::OnMouseMove ( const common::MouseEvent _event)
virtual

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

virtual void gazebo::gui::BoxMaker::OnMouseMove ( const common::MouseEvent _event)
virtual

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

virtual void gazebo::gui::EntityMaker::OnMouseMove ( const common::MouseEvent _event)
virtual

Callback when moving mouse.

Parameters
[in]_eventMouseEvent object

Reimplemented in gazebo::gui::BoxMaker, gazebo::gui::CylinderMaker, gazebo::gui::ModelMaker, gazebo::gui::MeshMaker, and gazebo::gui::LightMaker.

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

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

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

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

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

Callback for pushing entity with mouse.

Parameters
[in]_eventMouseEvent object

Reimplemented in gazebo::gui::BoxMaker, gazebo::gui::CylinderMaker, gazebo::gui::ModelMaker, gazebo::gui::SphereMaker, gazebo::gui::MeshMaker, and gazebo::gui::LightMaker.

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

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

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

Documentation inherited.

Reimplemented from gazebo::gui::EntityMaker.

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

Callback for releasing mouse button.

Parameters
[in]_eventMouseEvent object

Reimplemented in gazebo::gui::BoxMaker, gazebo::gui::CylinderMaker, gazebo::gui::ModelMaker, gazebo::gui::LightMaker, gazebo::gui::SphereMaker, and gazebo::gui::MeshMaker.

virtual void gazebo::gui::OculusWindow::resizeEvent ( QResizeEvent *  _e)
protectedvirtual
static void gazebo::gui::EntityMaker::SetSnapToGrid ( bool  _snap)
static

Set whether to snap to grid.

virtual void gazebo::gui::OculusWindow::showEvent ( QShowEvent *  _e)
protectedvirtual
virtual void gazebo::gui::CylinderMaker::Start ( const rendering::UserCameraPtr  _camera)
virtual

Documentation inherited.

Implements gazebo::gui::EntityMaker.

virtual void gazebo::gui::BoxMaker::Start ( const rendering::UserCameraPtr  _camera)
virtual

Documentation inherited.

Implements gazebo::gui::EntityMaker.

virtual void gazebo::gui::EntityMaker::Start ( const rendering::UserCameraPtr  _camera)
pure virtual
virtual void gazebo::gui::CylinderMaker::Stop ( )
virtual

Documentation inherited.

Implements gazebo::gui::EntityMaker.

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

Documentation inherited.

Implements gazebo::gui::EntityMaker.

virtual void gazebo::gui::EntityMaker::Stop ( )
pure virtual

Variable Documentation

rendering::UserCameraPtr gazebo::gui::EntityMaker::camera
protected
CreateCallback gazebo::gui::EntityMaker::createCB
protected
transport::PublisherPtr gazebo::gui::EntityMaker::makerPub
protected
transport::NodePtr gazebo::gui::EntityMaker::node
protected
transport::PublisherPtr gazebo::gui::EntityMaker::requestPub
protected
transport::PublisherPtr gazebo::gui::EntityMaker::visPub
protected