Atoms Crowd  7.0.0
AgentRadiusOffsetModule.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <Atoms/BehaviourModule.h>
11 
12 namespace AtomsModules
13 {
15  {
16  public:
17 
19 
21 
22  void agentsCreated(const std::vector<Atoms::Agent*>& agents, Atoms::AgentGroup* agentGroup = nullptr);
23 
24  static Atoms::BehaviourModule* creator(const std::string& parameter);
25 
26  bool checkData(
27  const AtomsCore::Vector3& pos,
28  const std::string& idStr,
29  const double& radius,
30  const Atoms::Agent* other,
31  const bool behave3d,
32  AtomsCore::Vector3& distVector,
33  double& dist,
34  double& minDist);
35  };
36 }
Agent group.
Definition: AgentGroup.h:36
Agent.
Definition: Agent.h:44
Behaviour module.
Definition: BehaviourModule.h:32
Definition: AgentRadiusOffsetModule.h:15
void agentsCreated(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Agents Created.
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57