Atoms Crowd  7.0.0
BlendVectors.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 <AtomsGraph/Node.h>
13 
14 #include <AtomsGraph/Globals.h>
15 
16 namespace AtomsGraph
17 {
18  ATOMSGRAPH_EXPORT void registerBlendVectorsNode();
19 
20  class ATOMSGRAPH_EXPORT BlendVectors : public AtomsGraph::Node
21  {
22  public:
23  NODE_STANDARD_MEMBERS
24 
25  BlendVectors();
26 
27  virtual ~BlendVectors();
28 
29  bool compute(const ComputeData* computeData);
30 
31  private:
32  AtomsGraph::VectorPort* m_inVector1;
33  AtomsGraph::VectorPort* m_inVector2;
34  AtomsGraph::DoublePort* m_inParameter;
35 
36  AtomsGraph::VectorPort* m_outVector;
37  };
38 
39 }
Definition: BlendVectors.h:21
bool compute(const ComputeData *computeData)
Compute function.
Definition: Node.h:21
Definition: Node.h:31
Generic node port class.
Definition: PortTemplate.h:24
AtomsGraph namespace.
Definition: PosePort.h:15