EntityTree.hh
Go to the documentation of this file.
void AddEntity(Entity _entity, const QString &_entityName, Entity _parentEntity=kNullEntity, const QString &_type=QString())
Add an entity to the tree.
Q_INVOKABLE Entity EntityId(const QModelIndex &_index) const
Get the entity ID of a tree item at specified index.
STL class.
Information passed to systems on the update callback.
Definition: Types.hh:38
The EntityComponentManager constructs, deletes, and returns components and entities. A component can be of any class which inherits from components::BaseComponent.
Definition: EntityComponentManager.hh:66
void RemoveEntity(Entity _entity)
Remove an entity from the tree.
Q_INVOKABLE QString EntityType(const QModelIndex &_index) const
Get the entity type of a tree item at specified index.
QHash< int, QByteArray > roleNames() const override
const Entity kNullEntity
Indicates a non-existant or invalid Entity.
Definition: Entity.hh:62
Displays a tree view with all the entities in the world.
Definition: EntityTree.hh:108
This library is part of the Ignition Robotics project.
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light. At its core, an Entity is just an identifier.
Definition: Entity.hh:59
Q_INVOKABLE QString ScopedName(const QModelIndex &_index) const
Get the scoped name of a tree item at specified index.