EntityTree.hh
Go to the documentation of this file.
STL class.
Information passed to systems on the update callback.
Definition: Types.hh:36
Q_INVOKABLE unsigned int EntityId(const QModelIndex &_index) const
Get the entity ID of a tree item at specified index.
void RemoveEntity(unsigned int _entity)
Remove an entity from the tree.
The EntityComponentManager constructs, deletes, and returns components and entities. A component can be of any class which inherits from components::BaseComponent.
Definition: EntityComponentManager.hh:65
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
void AddEntity(unsigned int _entity, const QString &_entityName, unsigned int _parentEntity=kNullEntity, const QString &_type=QString())
Add an entity to the tree.
Displays a tree view with all the entities in the world.
Definition: EntityTree.hh:107
This library is part of the Ignition Robotics project.
Q_INVOKABLE QString ScopedName(const QModelIndex &_index) const
Get the scoped name of a tree item at specified index.