9 #include <AtomsModules/Globals.h>
10 #include <Atoms/BehaviourModule.h>
11 #include <AtomsUtils/Mesh.h>
12 #include <AtomsUtils/KdTreePoint.h>
14 namespace AtomsModules
32 inline const std::vector<AtomsCore::Vector3>& samples()
const {
return m_samples; }
38 inline AtomsPtr<AtomsUtils::Mesh> mesh() {
return m_mesh; }
42 std::vector<AtomsCore::Vector3> m_samples;
44 std::vector<AtomsCore::Vector3> m_samplePoints;
46 std::vector<AtomsCore::Vector3> m_debugDirectionPoints;
48 std::vector<AtomsCore::Vector3> m_debugInfluencesPoints;
50 std::vector<std::pair<int,std::string>> m_samplesKeys;
56 AtomsPtr<AtomsUtils::Mesh> m_mesh;
Agent group.
Definition: AgentGroup.h:36
Behaviour module.
Definition: BehaviourModule.h:32
Definition: DrawContext.h:17
Definition: DirectionField.h:17
void draw(Atoms::DrawContext *context, const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Draw.
void initSimulation(Atoms::AgentGroup *agentGroup)
Init simulation.
void initFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup)
Init frame.
Definition: KdTreePoint.h:19