GuiEvents.hh
Go to the documentation of this file.
HoverToScene(const math::Vector3d &_point)
Constructor.
Definition: GuiEvents.hh:159
Event which is called to enable or disable the dropdown menu. This is primarily used by plugins which...
Definition: GuiEvents.hh:234
Event which is called to broadcast the 3D coordinates of a user's right click within the scene...
Definition: GuiEvents.hh:207
SpawnFromPath(const std::string &_filePath)
Constructor.
Definition: GuiEvents.hh:133
The class for sending and receiving custom snap value events. This event is used in the Transform Con...
Definition: GuiEvents.hh:51
Event called in the render thread of a 3D scene. It's safe to make rendering calls in this event's ca...
Definition: GuiEvents.hh:38
SpawnFromDescription(const std::string &_description)
Constructor.
Definition: GuiEvents.hh:108
math::Vector3d Position() const
Get the XYZ snapping values.
Definition: GuiEvents.hh:67
Event called to spawn a resource, given its description as a string.
Definition: GuiEvents.hh:103
STL class.
std::string description
The string of the resource to be spawned.
Definition: GuiEvents.hh:124
DropdownMenuEnabled(bool _menuEnabled)
Constructor.
Definition: GuiEvents.hh:239
math::Vector3d Point() const
Get the point within the scene that the user clicked.
Definition: GuiEvents.hh:196
math::Vector3d Scale() const
Get the scale snapping values.
Definition: GuiEvents.hh:81
RightClickToScene(const math::Vector3d &_point)
Constructor.
Definition: GuiEvents.hh:212
const std::string & Description() const
Get the string description of the resource.
Definition: GuiEvents.hh:118
math::Vector3d Point() const
Get the point within the scene that the user clicked.
Definition: GuiEvents.hh:222
math::Vector3d Point() const
Get the point within the scene over which the user is hovering.
Definition: GuiEvents.hh:170
static const QEvent::Type kType
Unique type for this event.
Definition: GuiEvents.hh:45
Event called to spawn a resource, which takes the path to its file.
Definition: GuiEvents.hh:129
LeftClickToScene(const math::Vector3d &_point)
Constructor.
Definition: GuiEvents.hh:186
Event which is called to broadcast the 3D coordinates of a user's left click within the scene...
Definition: GuiEvents.hh:181
bool MenuEnabled() const
Gets whether the menu is enabled or not for this event.
Definition: GuiEvents.hh:249
math::Vector3d Rotation() const
Get the RPY snapping values.
Definition: GuiEvents.hh:74
Definition: Application.hh:40
std::string filePath
The path of file to be previewed.
Definition: GuiEvents.hh:149
SnapIntervals(const math::Vector3d &_xyz, const math::Vector3d &_rpy, const math::Vector3d &_scale)
Constructor.
Definition: GuiEvents.hh:57
Event which is called to broadcast the 3D coordinates of a user's mouse hover within the scene...
Definition: GuiEvents.hh:154
const std::string & FilePath() const
Get the path of the file.
Definition: GuiEvents.hh:143