Atoms Crowd
4.1.0
GetAgentJointMatrix.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 <AtomsGraph/Globals.h>
11
#include <AtomsGraph/Ports.h>
12
#include <Atoms/Graph/AgentNode.h>
13
14
#include <Atoms/Globals.h>
15
#include <Atoms/Agent.h>
16
#include <AtomsUtils/Logger.h>
17
18
namespace
Atoms
19
{
20
class
ATOMS_EXPORT
GetAgentJointMatrixNode
:
public
AgentNode
21
{
22
public
:
23
NODE_STANDARD_MEMBERS
24
25
GetAgentJointMatrixNode
();
26
27
virtual
~
GetAgentJointMatrixNode
();
28
29
bool
compute
(
const
AtomsGraph::ComputeData
* computeData);
30
31
void
reset
();
32
33
private
:
34
35
AtomsGraph::BooleanPort
* m_bindPose;
36
37
AtomsGraph::BooleanPort
* m_worldSpace;
38
39
AtomsGraph::LongPort
* m_jointId;
40
41
AtomsGraph::MatrixPort
* m_outPort;
42
43
AtomsGraph::DoublePort
* m_triggerPort;
44
45
};
46
}
Atoms::GetAgentJointMatrixNode::compute
bool compute(const AtomsGraph::ComputeData *computeData)
Compute function.
Atoms::AgentNode
Agent node.
Definition:
AgentNode.h:22
Atoms::GetAgentJointMatrixNode::reset
void reset()
Reset function.
AtomsGraph::PortTemplate
Generic node port class.
Definition:
PortTemplate.h:24
Atoms::GetAgentJointMatrixNode
Definition:
GetAgentJointMatrix.h:21
Atoms
Atoms namespace.
Definition:
Agent.h:28
AtomsGraph::ComputeData
Definition:
Node.h:21
Atoms
include
Atoms
Graph
Nodes
GetAgentJointMatrix.h