Example #1
0
        public MainViewModel()
        {
            BitmapSource     = BitmapManager.SaveToBmp(10, 10, new byte[400]);
            RenderCommand    = new RenderCommand(this);
            SafeImageCommand = new SafeImageCommand(this);
            TextBoxInput     =
                //Test Input String (Cube of 3x3 Spheres)
                @"1440, 1440
S([400;-600;600], 300, [255;0;0])
S([400;0;600], 300, [255;0;0])
S([400;600;600], 300, [255;0;0])
S([400;-600;0], 300, [255;0;0])
S([400;0;0], 300, [255;0;0])
S([400;600;0], 300, [255;0;0])
S([400;-600;-600], 300, [255;0;0])
S([400;0;-600], 300, [255;0;0])
S([400;600;-600], 300, [255;0;0])
S([800;-600;600], 300, [255;0;0])
S([800;0;600], 300, [255;0;0])
S([800;600;600], 300, [255;0;0])
S([800;-600;0], 300, [255;0;0])
S([800;0;0], 300, [255;0;0])
S([800;600;0], 300, [255;0;0])
S([800;-600;-600], 300, [255;0;0])
S([800;0;-600], 300, [255;0;0])
S([800;600;-600], 300, [255;0;0])
S([1200;-600;600], 300, [255;0;0])
S([1200;0;600], 300, [255;0;0])
S([1200;600;600], 300, [255;0;0])
S([1200;-600;0], 300, [255;0;0])
S([1200;0;0], 300, [255;0;0])
S([1200;600;0], 300, [255;0;0])
S([1200;-600;-600], 300, [255;0;0])
S([1200;0;-600], 300, [255;0;0])
S([1200;600;-600], 300, [255;0;0])";
        }