gz/gui/GuiEvents.hh
Go to the documentation of this file.
Event that block the Interactive View control when some of the other plugins require it....
Definition: gz/gui/GuiEvents.hh:311
bool Block() const
Get the if the event should block the Interactive view controller.
Event which is called to broadcast information about mouse drags on the scene.
Definition: gz/gui/GuiEvents.hh:417
common::MouseEvent Mouse() const
Get the point within the scene over which the user is dragging.
DragOnScene(const common::MouseEvent &_mouse)
Constructor.
Event called to clone a resource, given its name as a string.
Definition: gz/gui/GuiEvents.hh:371
const std::string & DropText() const
Get the text of the dropped thing on the scene.
DropOnScene(const std::string &_dropText, const math::Vector2i &_dropMouse)
Constructor.
Event which is called to enable or disable the dropdown menu. This is primarily used by plugins which...
Definition: gz/gui/GuiEvents.hh:203
DropdownMenuEnabled(bool _menuEnabled)
Constructor.
bool MenuEnabled() const
Gets whether the menu is enabled or not for this event.
Event which is called to broadcast the 2D coordinates of a user's mouse hover within the scene.
Definition: gz/gui/GuiEvents.hh:332
common::MouseEvent Mouse() const
Get the point within the scene over which the user is hovering.
HoverOnScene(const common::MouseEvent &_mouse)
Constructor.
Event which is called to broadcast the 3D coordinates of a user's mouse hover within the scene.
Definition: gz/gui/GuiEvents.hh:136
HoverToScene(const math::Vector3d &_point)
Constructor.
math::Vector3d Point() const
Get the point within the scene over which the user is hovering.
Event which is called to broadcast the key press within the scene.
Definition: gz/gui/GuiEvents.hh:244
common::KeyEvent Key() const
Get the key within the scene that the user pressed.
KeyPressOnScene(const common::KeyEvent &_key)
Constructor.
Event which is called to broadcast the key release within the scene.
Definition: gz/gui/GuiEvents.hh:224
common::KeyEvent Key() const
Get the released key within the scene that the user released.
KeyReleaseOnScene(const common::KeyEvent &_key)
Constructor.
Event which is called to broadcast information about left mouse releases on the scene....
Definition: gz/gui/GuiEvents.hh:267
const common::MouseEvent & Mouse() const
Return the left mouse event.
LeftClickOnScene(const common::MouseEvent &_mouse)
Constructor.
Event which is called to broadcast the 3D coordinates of a user's releasing the left button within th...
Definition: gz/gui/GuiEvents.hh:159
LeftClickToScene(const math::Vector3d &_point)
Constructor.
math::Vector3d Point() const
Get the point within the scene that the user clicked.
Event which is called to broadcast information about mouse presses on the scene, with right,...
Definition: gz/gui/GuiEvents.hh:438
const common::MouseEvent & Mouse() const
Return the button press mouse event.
MousePressOnScene(const common::MouseEvent &_mouse)
Constructor.
Event called in the render thread of a 3D scene, before the user camera is rendered....
Definition: gz/gui/GuiEvents.hh:478
Event called in the render thread of a 3D scene after the user camera has rendered....
Definition: gz/gui/GuiEvents.hh:49
static const QEvent::Type kType
Unique type for this event.
Definition: gz/gui/GuiEvents.hh:55
Event which is called to broadcast information about right mouse releases on the scene....
Definition: gz/gui/GuiEvents.hh:290
const common::MouseEvent & Mouse() const
Return the right mouse event.
RightClickOnScene(const common::MouseEvent &_mouse)
Constructor.
Event which is called to broadcast the 3D coordinates of a user's releasing the right button within t...
Definition: gz/gui/GuiEvents.hh:181
RightClickToScene(const math::Vector3d &_point)
Constructor.
math::Vector3d Point() const
Get the point within the scene that the user clicked.
Event which is called to broadcast information about mouse scrolls on the scene.
Definition: gz/gui/GuiEvents.hh:398
const common::MouseEvent & Mouse() const
Return the scroll mouse event.
ScrollOnScene(const common::MouseEvent &_mouse)
Constructor.
The class for sending and receiving custom snap value events. This event is used in the Transform Con...
Definition: gz/gui/GuiEvents.hh:62
math::Vector3d Rotation() const
Get the RPY snapping values.
SnapIntervals(const math::Vector3d &_xyz, const math::Vector3d &_rpy, const math::Vector3d &_scale)
Constructor.
math::Vector3d Scale() const
Get the scale snapping values.
math::Vector3d Position() const
Get the XYZ snapping values.
Event called to clone a resource, given its name as a string.
Definition: gz/gui/GuiEvents.hh:352
const std::string & Name() const
Get the name of the resource to be cloned.
SpawnCloneFromName(const std::string &_name)
Constructor.
Event called to spawn a resource, given its description as a string.
Definition: gz/gui/GuiEvents.hh:95
const std::string & Description() const
Get the string description of the resource.
SpawnFromDescription(const std::string &_description)
Constructor.
Event called to spawn a resource, which takes the path to its file.
Definition: gz/gui/GuiEvents.hh:116
SpawnFromPath(const std::string &_filePath)
Constructor.
const std::string & FilePath() const
Get the path of the file.
Event which is called to share WorldControl information.
Definition: gz/gui/GuiEvents.hh:457
WorldControl(const msgs::WorldControl &_worldControl)
Constructor.
const msgs::WorldControl & WorldControlInfo() const
Get the WorldControl information.