public MainWindow() { InitializeComponent(); // initalise aggregate containers dla_2d = new ManagedDLA2DContainer(); dla_3d = new ManagedDLA3DContainer(); aggregate_manager = new AggregateSystemManager(); isPaused = false; hasFinished = true; current_particles = 0; colour_list = new List <Color>(); lattice_dimension = LatticeDimension._2D; WorldModels.Children.Add(aggregate_manager.AggregateSystemModel()); }
//private readonly AggregateComponentManager comp_manager; #endregion public MainWindow() { InitializeComponent(); // initalise aggregate containers and related properties dla_2d = new ManagedDLA2DContainer(); dla_3d = new ManagedDLA3DContainer(); current_particles = 0; lattice_dimension = LatticeDimension._2D; current_executing_dimension = lattice_dimension; lattice_type = ManagedLatticeType.Square; attractor_type = ManagedAttractorType.Point; // initialise simulation view properties/handles aggregate_manager = new AggregateSystemManager(); WorldModels.Children.Add(aggregate_manager.AggregateSystemModel()); // add model to view colour_list = new List <Color>(); RenderAttractorGeometry(); // initialise chart related properties/handles nrchart = new NumberRadiusChart(); ratechart = new GenerationRateChart(); chart_type = ChartType.NUMBERRADIUS; Chart.DataContext = nrchart; // default chart data context to Number-Radius chart //comp_manager = new AggregateComponentManager(); }