Beispiel #1
0
 public MainWindowViewModel()
 {
     ListViewModel.AddNodeType(() => new StartNodeModel());
     ListViewModel.AddNodeType(() => new BlurFilterNodeModel());
     ListViewModel.AddNodeType(() => new CannyFilterNodeModel());
     ListViewModel.AddNodeType(() => new ColorSpaceFilterNodeModel());
     ListViewModel.AddNodeType(() => new LaplacianFilterNodeModel());
     ListViewModel.AddNodeType(() => new SobelFilterNodeModel());
 }
        public MainViewModel()
        {
            ListViewModel.AddNodeType(() => new AxisInputNode());
            ListViewModel.AddNodeType(() => new AxisOutputNode());
            ListViewModel.AddNodeType(() => new ButtonInputNode());
            ListViewModel.AddNodeType(() => new ButtonOutputNode());
            ListViewModel.AddNodeType(() => new EventInputNode());
            ListViewModel.AddNodeType(() => new EventOutputNode());

            ListViewModel.AddNodeType(() => new AxisInverterNode());
            ListViewModel.AddNodeType(() => new DeadzoneNode());
            ListViewModel.AddNodeType(() => new AxisToButtonsNode());
            ListViewModel.AddNodeType(() => new ButtonsToAxisNode());
            ListViewModel.AddNodeType(() => new EventToButtonNode());
            ListViewModel.AddNodeType(() => new ButtonToEventNode());
            ListViewModel.AddNodeType(() => new DynamicAxisToButtonNode());
            ListViewModel.AddNodeType(() => new DynamicButtonToAxisNode());
        }