gz/sim/gui/GuiEvents.hh
Go to the documentation of this file.
Event that notifies when all entities have been deselected.
Definition: gz/sim/gui/GuiEvents.hh:89
bool FromUser() const
Get whether the event was generated by the user.
Definition: gz/sim/gui/GuiEvents.hh:100
DeselectAllEntities(bool _fromUser=false)
Constructor.
Definition: gz/sim/gui/GuiEvents.hh:93
Event that notifies when new entities have been selected.
Definition: gz/sim/gui/GuiEvents.hh:51
bool FromUser() const
Get whether the event was generated by the user.
Definition: gz/sim/gui/GuiEvents.hh:72
std::vector< Entity > Data() const
Get the data sent with the event.
Definition: gz/sim/gui/GuiEvents.hh:65
EntitiesSelected(const std::vector< Entity > &_entities, bool _fromUser=false)
Constructor.
Definition: gz/sim/gui/GuiEvents.hh:56
Event that contains entities newly created or removed from the GUI, but that aren't present on the se...
Definition: gz/sim/gui/GuiEvents.hh:116
const std::set< Entity > & RemovedEntities() const
Get the set of recently removed entities.
GuiNewRemovedEntities(const std::set< Entity > &_newEntities, const std::set< Entity > &_removedEntities)
Constructor.
const std::set< Entity > & NewEntities() const
Get the set of newly created entities.
Event that notifies an entity is to be added to the model editor.
Definition: gz/sim/gui/GuiEvents.hh:189
gz::sim::Entity ParentEntity() const
Get the parent entity to add the entity to.
QString EntityType() const
Get the entity type.
ModelEditorAddEntity(QString _entity, QString _type, gz::sim::Entity _parent)
Constructor.
QString Entity() const
Get the entity to add.
QMap< QString, QString > & Data()
Get the data map.
Event that notifies when new entities have been created or removed on the server. This is a duplicati...
Definition: gz/sim/gui/GuiEvents.hh:142
const std::set< Entity > & RemovedEntities() const
Get the set of recently removed entities.
NewRemovedEntities(const std::set< Entity > &_newEntities, const std::set< Entity > &_removedEntities)
Constructor.
const std::set< Entity > & NewEntities() const
Get the set of newly created entities.
True if a transform control is currently active (translate / rotate / scale). False if we're in selec...
Definition: gz/sim/gui/GuiEvents.hh:166
TransformControlModeActive(const bool _tranformModeActive)
Constructor.
Definition: gz/sim/gui/GuiEvents.hh:169
bool TransformControlActive()
Get the event's value.
Definition: gz/sim/gui/GuiEvents.hh:178
Event that notifies a visual plugin is to be loaded.
Definition: gz/sim/gui/GuiEvents.hh:222
sdf::ElementPtr Element() const
Get the sdf element of the visual plugin.
VisualPlugin(ignition::gazebo::Entity _entity, const sdf::ElementPtr &_elem)
Constructor.
ignition::gazebo::Entity Entity() const
Get the entity to load the visual plugin for.
Event that notifies a visual plugin is to be loaded.
Definition: gz/sim/gui/GuiEvents.hh:244
VisualPlugins(ignition::gazebo::Entity _entity, const sdf::Plugins &_plugins)
Constructor.
const sdf::Plugins & Plugins() const
Get the SDF Plugin of the visual plugin.
ignition::gazebo::Entity Entity() const
Get the entity to load the visual plugin for.
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:58