|
virtual std::vector< AgentInitData > | generate (double time) |
| Generate a vector of agent init data.
|
|
AtomsCore::Matrix | matrix () |
|
void | setMatrix (const AtomsCore::Matrix &mtx) |
|
std::vector< AtomsCore::Vector3 > & | positions () |
|
void | setPositions (const std::vector< AtomsCore::Vector3 > &pos) |
|
std::vector< AtomsCore::Vector3 > & | directions () |
|
void | setDirections (const std::vector< AtomsCore::Vector3 > &dir) |
|
std::vector< AtomsCore::Vector3 > & | upVectors () |
|
void | setUpVectors (const std::vector< AtomsCore::Vector3 > &dir) |
|
std::vector< std::string > & | agentTypes () |
|
void | setAgentTypes (const std::vector< std::string > &aTypes) |
|
std::vector< int > & | ids () |
|
void | setIds (const std::vector< int > &id) |
|
const char * | typeName () override |
| Get the type name for this generator.
|
|
bool | allowMultiple () override |
| Returns whether an Agent Group can have multiple instances of this layout generator.
|
|
bool | mustBeFirst () override |
| Returns wheter this layout generator should be the first one in the stack.
|
|
| LayoutGenerator (bool isStatic=true) |
| Constructor. More...
|
|
virtual | ~LayoutGenerator () |
| Destructor.
|
|
virtual bool | allowMultiLayoutGenerator () |
| Returns whether this layout generator can work in conjunction with other layout generators.
|
|
bool | isStaticGenerator () const |
| Get the static state for this generator.
|
|
void | setAsStaticGenerator (bool value) |
| Set the static state for this generator.
|
|
AgentTypePtr | agentType () |
| Get the agent type used by this generator.
|
|
void | setAgentType (AgentTypePtr aType) |
| Set the agent type used by this generator.
|
|
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.
|
|