internal void clearAll()
        {
            ManagedModel reloadModel = new ManagedModel();
            uint         i           = 0;

            foreach (var elem in backUp)
            {
                reloadModel.addMaterialPoint(elem.Value.Item2.X, elem.Value.Item2.Y, elem.Value.Item2.Z, 0, 0, 0, elem.Value.Item1, 1);
                reloadModel.addActionPoint(i, elem.Value.Item3.X, elem.Value.Item3.Y, elem.Value.Item3.Z);
                i++;
            }
            M = reloadModel;
        }
 public MainWindowModel(ManagedModel Mod)
 {
     M = Mod;
 }
 internal void clearAll()
 {
     ManagedModel reloadModel = new ManagedModel();
     uint i = 0;
     foreach (var elem in backUp)
     {
         reloadModel.addMaterialPoint(elem.Value.Item2.X, elem.Value.Item2.Y, elem.Value.Item2.Z, 0, 0, 0, elem.Value.Item1, 1);
         reloadModel.addActionPoint(i, elem.Value.Item3.X, elem.Value.Item3.Y, elem.Value.Item3.Z);
         i++;
     }
     M = reloadModel;
 }
 public MainWindowModel(ManagedModel Mod)
 {
     M = Mod;
 }