10 #include <AtomsGraph/Ports.h>
12 #include <Atoms/Globals.h>
13 #include <Atoms/Graph/Operator.h>
14 #include <AtomsUtils/Mesh.h>
15 #include <Atoms/AgentGroup.h>
35 inline void setOffsetMatrix(
const AtomsCore::Matrix& mtx) { m_offsetMatrix = mtx; }
37 inline void setParentAgentId(
size_t id) { m_originAgentId = id; }
41 void setCopyMetadata(
const bool value) { m_copyMetadata = value; }
43 void setMetadataExclusionList(
const std::vector<std::string> &value) { m_metadataExclusionList = value; }
45 void setDelay(
int delay) { m_delay = delay > 0 ? delay : 0; }
53 size_t m_originAgentId;
61 std::vector<AtomsCore::Pose> m_poseBuffer;
63 std::vector<std::string> m_metadataExclusionList;
65 int m_currentPoseIndex;
Agent group.
Definition: AgentGroup.h:36
Agent.
Definition: Agent.h:44
Definition: CloneAgentOperator.h:22
void reset()
Operator reset function.
bool compute(const AtomsGraph::ComputeData *computeData)
Compute function.
Operator node.
Definition: Operator.h:26
Generic node port class.
Definition: PortTemplate.h:24
AtomsMath::Matrix Matrix
Matrix class.
Definition: AtomsMath.h:63
Atoms namespace.
Definition: Agent.h:29