|
virtual std::vector< AgentInitData > | generate (double time) |
| Generate a vector of agent init data.
|
|
bool | allowMultiLayoutGenerator () override |
| Returns whether this layout generator can work in conjunction with other layout generators.
|
|
AtomsCore::Matrix | matrix () const |
|
void | setMatrix (const AtomsCore::Matrix &mtx) |
|
void | setCache (const std::string &cachePath, const std::string &cacheName) |
|
void | setNewAgents (const std::vector< int > &newAgents) |
|
void | setAgentsFilter (const std::vector< int > &newAgents) |
|
void | setCacheFrame (double value) |
|
void | setStartFrame (double value) |
|
void | setAgentsTimes (std::unordered_map< int, double > *value) |
|
size_t | getAgentCacheId (size_t id) |
|
void | addAgentCacheId (size_t id, size_t value) |
|
void | setExtraAgents (const std::unordered_map< size_t, size_t > &extraAgents) |
|
void | setTimeOffsetInPlace (const bool value, const std::unordered_map< int, bool > &overrides) |
|
const char * | typeName () override |
| Get the type name for this generator.
|
|
| LayoutGenerator (bool isStatic=true) |
| Constructor. More...
|
|
virtual | ~LayoutGenerator () |
| Destructor.
|
|
virtual bool | allowMultiple () |
| Returns whether an Agent Group can have multiple instances of this layout generator.
|
|
virtual bool | mustBeFirst () |
| Returns wheter this layout generator should be the first one in the stack.
|
|
bool | isStaticGenerator () const |
| Get the static state for this generator.
|
|
void | setAsStaticGenerator (bool value) |
| Set the static state for this generator.
|
|
virtual AgentTypePtr | agentType (const int groupId, const std::string &groupIdStr) |
| Get the agent type used by this generator.
|
|
void | setAgentTypeAttributeCache (const BehaviourModuleAttributeCache< std::string > &agentTypeAttributeCache) |
|
void | setDirectionAttributeCache (const BehaviourModuleAttributeCache< AtomsCore::Vector3 > &directionAttributeCache) |
|
void | setUpVectorAttributeCache (const BehaviourModuleAttributeCache< AtomsCore::Vector3 > &upVectorAttributeCache) |
|
std::atomic< size_t > & | nextFreeId () |
|
const std::atomic< size_t > & | nextFreeId () const |
|
void | setName (const std::string &name) |
| Set the name of this generator.
|
|
const std::string & | name () |
| Get the name of this generator.
|
|
void | setGroupIdOffset (const int offset) |
| Set the offset for the group ids of this layout generator.
|
|
const int | groupIdOffset () |
| Get the offset for the group ids of this layout generator.
|
|
void | setOffsetPelvisHeight (bool state) |
| Sets the flag to offset height according to the distance between pelvis and foot.
|
|
void | setOffsetPelvisHeightOverride (const std::map< int, bool > &value) |
| Sets the map per agent to offset height according to the distance between pelvis and foot.
|
|
void | setOffsetPelvisHeightAttributeCache (const BehaviourModuleAttributeCache< bool > &offsetPelvisHeightCache) |
| Sets offset pelvis height attribute cache.
|
|