public DimensionWindow()
        {
            InitializeComponent();

            TheCanvas.MouseMove += OnCanvasMouseMove;
            TheCanvas.MouseDown += OnCanvasMouseDown;
            TheCanvas.MouseUp += OnCanvasMouseUp;

            _manager = SpaceFactory.Current.DimensionManager;
            _space = _manager.CreateSpace<int>(new TestConfig());
            _dimensionPainter = new DimensionPainter(TheCanvas);

            _manager.PopulateSpace(_space, GetTestPoints(_space));

            DrawTree();

            //MessageBox.Show(sw.ElapsedMilliseconds + "|");
        }
Beispiel #2
0
        public DimensionWindow()
        {
            InitializeComponent();

            TheCanvas.MouseMove += OnCanvasMouseMove;
            TheCanvas.MouseDown += OnCanvasMouseDown;
            TheCanvas.MouseUp   += OnCanvasMouseUp;



            _manager          = SpaceFactory.Current.DimensionManager;
            _space            = _manager.CreateSpace <int>(new TestConfig());
            _dimensionPainter = new DimensionPainter(TheCanvas);

            _manager.PopulateSpace(_space, GetTestPoints(_space));

            DrawTree();

            //MessageBox.Show(sw.ElapsedMilliseconds + "|");
        }