Atoms Crowd
7.0.0
JointTransformModule.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
{
14
class
JointTransformModule
:
public
Atoms::BehaviourModule
15
{
16
public
:
17
18
JointTransformModule
();
19
20
virtual
~
JointTransformModule
();
21
22
void
agentsCreated
(
const
std::vector<Atoms::Agent*>& agents,
Atoms::AgentGroup
* agentGroup);
23
void
initFrame
(
const
std::vector<Atoms::Agent*>& agents,
Atoms::AgentGroup
* agentGroup);
24
void
endFrame
(
const
std::vector<Atoms::Agent*>& agents,
Atoms::AgentGroup
* agentGroup =
nullptr
);
25
26
static
Atoms::BehaviourModule
* creator(
const
std::string& parameter);
27
28
};
29
}
Atoms::AgentGroup
Agent group.
Definition:
AgentGroup.h:36
Atoms::BehaviourModule
Behaviour module.
Definition:
BehaviourModule.h:32
AtomsModules::JointTransformModule
Definition:
JointTransformModule.h:15
AtomsModules::JointTransformModule::endFrame
void endFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup=nullptr)
End frame.
AtomsModules::JointTransformModule::agentsCreated
void agentsCreated(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup)
Agents Created.
AtomsModules::JointTransformModule::initFrame
void initFrame(const std::vector< Atoms::Agent * > &agents, Atoms::AgentGroup *agentGroup)
Init frame.
Atoms
Public
AtomsModules
JointTransformModule.h