Atoms Crowd
7.0.0
PointFinderModule.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
#include <AtomsUtils/Mesh.h>
12
13
namespace
AtomsModules
14
{
15
class
PointFinderModule
:
public
Atoms::BehaviourModule
16
{
17
public
:
18
PointFinderModule
();
19
20
~
PointFinderModule
();
21
22
void
initFrame
(
const
std::vector<Atoms::Agent*>& agents,
Atoms::AgentGroup
* agentGroup =
nullptr
);
23
24
void
draw
(
Atoms::DrawContext
* context,
const
std::vector<Atoms::Agent*>& agents,
Atoms::AgentGroup
* agentGroup =
nullptr
);
25
26
static
Atoms::BehaviourModule
* creator(
const
std::string& parameter);
27
28
29
};
30
}
Atoms::AgentGroup
Agent group.
Definition:
AgentGroup.h:36
Atoms::BehaviourModule
Behaviour module.
Definition:
BehaviourModule.h:32
Atoms::DrawContext
Definition:
DrawContext.h:17
AtomsModules::PointFinderModule
Definition:
PointFinderModule.h:16
AtomsModules::PointFinderModule::initFrame
void initFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Init frame.
AtomsModules::PointFinderModule::draw
void draw(Atoms::DrawContext *context, const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
Draw.
Atoms
Public
AtomsModules
PointFinderModule.h