|
TazGraph Project v0.1.0
|
Public Member Functions | |
| void | setThreader (Threader &mthreader) |
| void | update (float deltaTime=1.0f) |
| void | updateFully (float deltaTime=1.0f) |
| void | refresh (ICamera *camera=nullptr) |
| void | aboutTo_updateActiveEntities () |
| void | updateActiveEntities () |
| void | updateVisibleEntities () |
| void | AddToGroup (EmptyEntity *mEntity, Group mGroup) |
| void | AddToGroup (NodeEntity *mEntity, Group mGroup) |
| void | AddLinkToGroup (LinkEntity *mEntity, Group mGroup) |
| const std::unordered_map< EntityID, std::unique_ptr< Entity > > & | getEntities () const |
| template<typename T > | |
| std::vector< Entity * > | getVisible () |
| template<typename T > | |
| std::vector< Entity * > & | getVisibleGroup (Group mGroup) |
| template<typename T > | |
| void | getAllTypeEntities (std::vector< Entity * > &output) |
| template<typename T > | |
| std::vector< Entity * > & | getGroup (Group mGroup) |
| std::vector< Entity * > | getGroup_All (Group mGroup) |
| template<typename T , typename... TArgs> | |
| T & | addEntityNoId (TArgs &&... mArgs) |
| template<typename T , typename... TArgs> | |
| T & | addEntity (TArgs &&... mArgs) |
| template<typename T , typename... TArgs> | |
| T & | addEntityWithId (EntityID customId, TArgs &&... mArgs) |
| template<typename T , typename... TArgs> | |
| T & | addEntityFromParent (Entity *pEntity, const char *newID="", TArgs &&... mArgs) |
| void | resetEntityId () |
| void | setNewLastEntityId () |
| Entity * | getEntityFromId (EntityID mId) |
| std::vector< Entity * > | getEntities_FromIds (std::vector< EntityID > mIds) |
| bool | hasEntity (EntityID mId) |
| void | clearAllEntities () |
| void | removeAllEntites () |
| void | removeAllEntitiesFromGroup (Group mGroup) |
| void | removeAllEntitiesFromEmptyGroup (Group mGroup) |
| void | removeAllEntitiesFromLinkGroup (Group mGroup) |
| std::vector< EntityID > | adjacentEntities (Entity *mainEntity, Group group) |
| void | addGroup (std::string groupName) |
| std::string | getGroupName (Group mGroup) const |
| void | scanComponentNames (const std::string &folderPath) |
| void | setComponentNames () |
| std::vector< Entity * > | collectVisibleEntities (std::initializer_list< Manager::groupLabels > groupNames, Taz::EntityType type) |
| std::vector< Entity * > | collectEntities (std::initializer_list< Manager::groupLabels > groupNames, Taz::EntityType type) |
| bool | entities_AllSameType (std::vector< Entity * > entities) |
Public Attributes | |
| std::list< SimulationStep > | steps |
| int | currentStep = 0 |
| std::stack< std::unique_ptr< Command > > | undoStack |
| std::vector< EntityID > | movedNodes |
| std::mutex | movedNodesMutex |
| bool | idTextEnabled = false |
| bool | arrowheadsEnabled = false |
| bool | last_arrowheadsEnabled = false |
| std::unordered_map< std::string, std::vector< std::string > > | componentNames |
| std::unique_ptr< Grid > | grid |
| std::unordered_map< Group, std::string > | groupNames |
| std::size_t | nextGroup = groupLabels::__COUNT__ |
| dynamically add groups with Enum! | |
|
inline |
THREADER CHECK
UPDATE LINK CELLS
UPDATE
FOR MAIN MENU