Atoms Crowd
7.0.0
|
Agent behaviour network. More...
#include <AgentBehaviourNetwork.h>
Public Member Functions | |
AgentBehaviourNetwork () | |
Constructor. | |
~AgentBehaviourNetwork () | |
Destructor. | |
AgentBehaviourNetwork (const AgentBehaviourNetwork &other) | |
Copy constructor. | |
AgentBehaviourNetwork & | operator= (const AgentBehaviourNetwork &other) |
Assign operator. | |
AtomsGraph::NetworkManager & | manager () |
Get network manager. | |
void | preBuildPose () |
Compute all nodes in the pre build pose list. | |
void | buildPose () |
Compute the build pose operator. | |
void | postBuildPose () |
Compute all nodes in the post build pose list. | |
Operator * | buildPoseNode () |
Get the build pose operator. | |
void | setBuildPoseNode (Operator *node) |
Set the node to be called during the build pose phase. | |
void | addPreBuildPoseNode (AtomsGraph::Node *node) |
Add a node to the pre build pose list. | |
void | removePreBuildPoseNode (AtomsGraph::Node *node) |
Remove a node from the pre build pose list. | |
void | removePreBuildPoseNode (const std::string &name) |
Remove a node from the pre build pose list by name. | |
std::list< AtomsGraph::Node * > & | preBuildPoseNodes () |
Get the pre build pose node list. | |
void | cleanPreBuildPoseNodes () |
Clean the pre build pose list. | |
void | addPostBuildPoseNode (AtomsGraph::Node *node) |
Add a node to the post build pose list. | |
void | removePostBuildPoseNode (AtomsGraph::Node *node) |
Remove a node from the post build pose list. | |
void | removePostBuildPoseNode (const std::string &name) |
Remove a node from the post build pose list by name. | |
std::list< AtomsGraph::Node * > & | postBuildPoseNodes () |
Get the post build pose node list. | |
void | cleanPostBuildPoseNodes () |
Clean the post build pose list. | |
void | setSimulationTime (double value) |
Set the simulation time. | |
void | setFps (double value) |
Set frame per seconds. | |
AtomsGraph::TimeNode * | timeNode () |
Get time node, the time node gets the global time value and converts it using the frame rate of the current agent. | |
AtomsGraph::BufferDouble * | globalTimeNode () |
Get global time node, the global time node outputs the simulation time. | |
void | buildNetworkCaches () |
Compute the network caches for the pre, post and build pose nodes. | |
void | reset () |
Reset the network. | |
void | clearNodeCache () |
Clear the node cache. | |
void | clear () |
Clear all data. | |
void | setComputeData (const AtomsGraph::ComputeData *computeData) |
Set compute data. | |
Agent behaviour network.
A wrapper around the AtomsGraph Network manager During the computeFrame Atoms Crowd calls the following methods in the given order: