11 struct ScalarValueNodeCInfo : GraphNodeCInfo
25 struct AddNodeCInfo : GraphNodeCInfo
30 IGraphNode* inputA =
nullptr;
35 IGraphNode* inputB =
nullptr;
41 struct SubtractNodeCInfo : GraphNodeCInfo
46 IGraphNode* inputA =
nullptr;
51 IGraphNode* inputB =
nullptr;
57 struct MultiplyNodeCInfo : GraphNodeCInfo
62 IGraphNode* inputA =
nullptr;
67 IGraphNode* inputB =
nullptr;
73 struct DivideNodeCInfo : GraphNodeCInfo
78 IGraphNode* inputA =
nullptr;
83 IGraphNode* inputB =
nullptr;
89 struct ExpNodeCInfo : GraphNodeCInfo
94 IGraphNode* input =
nullptr;
100 struct LogNodeCInfo : GraphNodeCInfo
105 IGraphNode* input =
nullptr;
111 struct NegateNodeCInfo : GraphNodeCInfo
116 IGraphNode* input =
nullptr;
122 struct NormalizeNodeColumnSpan
124 NormalizeNodeColumnSpan() {}
126 NormalizeNodeColumnSpan(int64 start, int64 count)
135 int64 columnStart = 0;
143 int64 columnCount = -1;
149 struct NormalizeNodeCInfo : GraphNodeCInfo
155 IGraphNode* input =
nullptr;
160 const NormalizeNodeColumnSpan* spans =
nullptr;
175 bool allowSmallLengths =
false;
181 struct Rotate2DNodeCInfo : GraphNodeCInfo
186 IGraphNode* inputVector =
nullptr;
191 IGraphNode* inputRotation =
nullptr;
197 struct LengthNodeCInfo : GraphNodeCInfo
202 IGraphNode* input =
nullptr;
209 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateScalarValueNode(
const ScalarValueNodeCInfo& cinfo);
214 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateAddNode(
const AddNodeCInfo& cinfo);
219 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateSubtractNode(
const SubtractNodeCInfo& cinfo);
224 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateMultiplyNode(
const MultiplyNodeCInfo& cinfo);
231 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateNormalizeNode(
const NormalizeNodeCInfo& cinfo);
236 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateDivideNode(
const DivideNodeCInfo& cinfo);
241 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateExpNode(
const ExpNodeCInfo& cinfo);
246 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateLogNode(
const LogNodeCInfo& cinfo);
251 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateNegateNode(
const NegateNodeCInfo& cinfo);
256 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateRotate2DNode(
const Rotate2DNodeCInfo& cinfo);
261 SMARTENGINE_EXPORT ObjectPtr<IGraphNode> CreateLengthNode(
const LengthNodeCInfo& cinfo);
266 SMARTENGINE_EXPORT ObjPtr ScalarValueNode_CreateInstance(
const ScalarValueNodeCInfo& cinfo);
267 SMARTENGINE_EXPORT ObjPtr AddNode_CreateInstance(
const AddNodeCInfo& cinfo);
268 SMARTENGINE_EXPORT ObjPtr SubtractNode_CreateInstance(
const SubtractNodeCInfo& cinfo);
269 SMARTENGINE_EXPORT ObjPtr MultiplyNode_CreateInstance(
const MultiplyNodeCInfo& cinfo);
270 SMARTENGINE_EXPORT ObjPtr DivideNode_CreateInstance(
const DivideNodeCInfo& cinfo);
271 SMARTENGINE_EXPORT ObjPtr ExpNode_CreateInstance(
const ExpNodeCInfo& cinfo);
272 SMARTENGINE_EXPORT ObjPtr LogNode_CreateInstance(
const LogNodeCInfo& cinfo);
273 SMARTENGINE_EXPORT ObjPtr NegateNode_CreateInstance(
const NegateNodeCInfo& cinfo);
274 SMARTENGINE_EXPORT ObjPtr NormalizeNode_CreateInstance(
const NormalizeNodeCInfo& cinfo);
275 SMARTENGINE_EXPORT ObjPtr Rotate2DNode_CreateInstance(
const Rotate2DNodeCInfo& cinfo);
276 SMARTENGINE_EXPORT ObjPtr LengthNode_CreateInstance(
const LengthNodeCInfo& cinfo);