Example #1
0
 /// <summary>
 /// Creates the input and output nodes
 /// </summary>
 /// <param name="root"></param>
 protected override sealed void CreateNodes(ref BlockBase root)
 {
     root.InputNodes  = BlockInputNode.CreateSingleInputSignal(ref root);
     root.OutputNodes = new List <BlockOutputNode>
     {
         new BlockOutputNode(ref root, Resources.Output, "IFFT")
     };
 }
Example #2
0
 /// <summary>
 /// Creates the input and output nodes
 /// </summary>
 /// <param name="root"></param>
 protected override sealed void CreateNodes(ref BlockBase root)
 {
     root.InputNodes  = BlockInputNode.CreateSingleInput(ref root);
     root.OutputNodes = new List <BlockOutputNode>();
     for (var i = 1; i <= _outputCount; i++)
     {
         root.OutputNodes.Add(new BlockOutputNode(ref root, Resources.Output + " " + i, Resources.Out + i));
     }
 }
Example #3
0
 /// <summary>
 /// Creates the input and output nodes
 /// </summary>
 /// <param name="root"></param>
 protected override sealed void CreateNodes(ref BlockBase root)
 {
     root.InputNodes  = BlockInputNode.CreateSingleInputSignal(ref root);
     root.OutputNodes = new List <BlockOutputNode>
     {
         new BlockOutputNode(ref root, Resources.AbsoluteValue, "Abs"),
         new BlockOutputNode(ref root, Resources.FFT, "FFT")
     };
 }
Example #4
0
 /// <summary>
 /// Creates the input and output nodes
 /// </summary>
 /// <param name="root"></param>
 protected override sealed void CreateNodes(ref BlockBase root)
 {
     root.InputNodes  = BlockInputNode.CreateSingleInputSignal(ref root);
     root.OutputNodes = new List <BlockOutputNode>
     {
         new BlockOutputNode(ref root, Resources.Approximation, "Apx"),
         new BlockOutputNode(ref root, Resources.Details, "Det"),
         new BlockOutputNode(ref root, Resources.Reconstruction, "Rc"),
         new BlockOutputNode(ref root, Resources.All, Resources.All),
     };
 }
Example #5
0
 /// <summary>
 /// Creates the input and output nodes
 /// </summary>
 /// <param name="root"></param>
 protected override sealed void CreateNodes(ref BlockBase root)
 {
     root.InputNodes  = BlockInputNode.CreateSingleInputSignal(ref root);
     root.OutputNodes = BlockOutputNode.CreateSingleOutput(ref root);
 }
Example #6
0
 /// <summary>
 /// Connect this output node to an input node in other block
 /// </summary>
 /// <param name="node"></param>
 public void ConnectTo(ref BlockInputNode node)
 {
     ConnectingNode      = node;
     node.ConnectingNode = this;
 }