10 #include <Atoms/BehaviourModule.h>
11 #include <unordered_map>
12 #include <pxr/usd/usd/prim.h>
14 namespace AtomsModules
35 PXR_NS::UsdPrim m_rootPrim;
39 double m_prevOutFrame;
41 double m_prevTimeOffset;
43 std::unordered_map<int, double> m_prevInAgentFrame;
45 std::unordered_map<int, double> m_prevOutAgentFrame;
47 std::unordered_map<int, double> m_prevAgentFrameOffset;
49 std::unordered_map<int, bool> m_filterAgents;
51 std::unordered_map<size_t, size_t> m_extraAgents;
53 std::vector<unsigned int> m_killIds;
57 std::string m_cachePath;
Agent group.
Definition: AgentGroup.h:36
Behaviour module.
Definition: BehaviourModule.h:32
Definition: UsdCacheReaderModule.h:17
void agentsCreated(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Agents Created.
void initFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Init frame.
void initSimulation(Atoms::AgentGroup *agentGroup=nullptr)
Init simulation.