|
| NetworkManager () |
| Constructor.
|
|
| ~NetworkManager () |
| Destructor.
|
|
| NetworkManager (const NetworkManager &other) |
| Copy constructor.
|
|
NetworkManager & | operator= (const NetworkManager &other) |
| Assign operator.
|
|
Node * | createNode (const std::string &typeName, const std::string &name) |
| Creates a node inside this graph. More...
|
|
bool | renameNode (const std::string &name, const std::string &newName) |
| Renames a node inside this graph. More...
|
|
void | addNode (Node *node, const std::string &name) |
| Adds a node to the graph. More...
|
|
void | deleteNode (const std::string &name) |
| Deletes a node. More...
|
|
bool | connectAttr (const std::string &sourceNode, const std::string &sourceAttribute, const std::string &destinationNode, const std::string &destinationAttribute) |
| Connects two nodes.
|
|
bool | disconnectAttr (const std::string &sourceNode, const std::string &sourceAttribute, const std::string &destinationNode, const std::string &destinationAttribute) |
| Disconnects two nodes.
|
|
Node * | getNode (const std::string &name) |
| Gets the node with the given name. More...
|
|
template<class T > |
T * | getNode (const std::string &name) |
| Gets the node with the given name. More...
|
|
Node * | getNodeByType (const unsigned int id) |
| Gets the node with the given name. More...
|
|
std::vector< Node * > | getAllNodes () |
| Gets all nodes of the graph.
|
|
std::vector< std::string > | getNodeNames () |
| Gets all node names of the graph.
|
|
void | computeNode (const std::string &nodeName, const AtomsGraph::ComputeData *computeData, bool multithread=false, bool useNetworkCache=false) |
| Evaluates a node and the incoming graph. More...
|
|
NetworkManager | clone () const |
| Clones the graph.
|
|
void | cleanNetwork () |
| Deletes all the nodes.
|
|
void | cacheNodeNetwork (const std::string &nodeName) |
| Cache nodes order. More...
|
|
void | clearNodeNetworkCache (const std::string &nodeName) |
| Clear a cache.
|
|
void | clearNodeNetworkCaches () |
| Clear all caches.
|
|
void | reset () |
| Reset the network without deleting the node cached.
|
|
void | clearNodeCache () |
| Clear the node cache removing all the nodes that are not in use.
|
|
void | setAllNodeDirty () |
| Set all nodes as dirty.
|
|