public BehaviorVisualizerPresenter() { this.Settings = new BehaviorVisualizationRendererSettings(); }
private void CreateBackgroundOptions() { var maze_01_blank = new BehaviorVisualizationRendererSettings(); maze_01_blank.ImageOriginPosition = new Models.Vector(-300, -300, 0); maze_01_blank.WorldWidth = 3200; maze_01_blank.WorldHeight = 650; maze_01_blank.Title = "Maze 01 Blank"; var maze_01_outline = new BehaviorVisualizationRendererSettings(); maze_01_outline.ImageOriginPosition = new Models.Vector(-300, -300, 0); maze_01_outline.WorldWidth = 3200; maze_01_outline.WorldHeight = 650; maze_01_outline.BackgroundImage = Properties.Resources.maze_01_outline; maze_01_outline.Title = "Maze 01 Outline"; var maze_01_ortho_textured = new BehaviorVisualizationRendererSettings(); maze_01_ortho_textured.ImageOriginPosition = new Models.Vector(-300, -300, 0); maze_01_ortho_textured.WorldWidth = 3200; maze_01_ortho_textured.WorldHeight = 650; maze_01_ortho_textured.BackgroundImage = Properties.Resources.maze_01_ortho_textured; maze_01_ortho_textured.Title = "Maze 01 Orthographic"; var maze_01_perspective = new BehaviorVisualizationRendererSettings(); maze_01_perspective.ImageOriginPosition = new Models.Vector(-300, -300, 0); maze_01_perspective.WorldWidth = 3200; maze_01_perspective.WorldHeight = 650; maze_01_perspective.BackgroundImage = Properties.Resources.maze_01_perspective; maze_01_perspective.Title = "Maze 01 Perspective"; var maze_01_perspective_textured = new BehaviorVisualizationRendererSettings(); maze_01_perspective_textured.ImageOriginPosition = new Models.Vector(-300, -300, 0); maze_01_perspective_textured.WorldWidth = 3200; maze_01_perspective_textured.WorldHeight = 650; maze_01_perspective_textured.BackgroundImage = Properties.Resources.maze_01_perspective_textured; maze_01_perspective_textured.Title = "Maze 01 Perspective Textured"; var maze_02_blank = new BehaviorVisualizationRendererSettings(); maze_02_blank.ImageOriginPosition = new Models.Vector(-700, -1100, 0); maze_02_blank.WorldWidth = 1400; maze_02_blank.WorldHeight = 1400; maze_02_blank.Title = "Maze 02 Blank"; var maze_02_outline = new BehaviorVisualizationRendererSettings(); maze_02_outline.ImageOriginPosition = new Models.Vector(-700, -1100, 0); maze_02_outline.WorldWidth = 1400; maze_02_outline.WorldHeight = 1400; maze_02_outline.BackgroundImage = Properties.Resources.maze_02_outline; maze_02_outline.Title = "Maze 02 Outline"; var maze_02_ortho_textured = new BehaviorVisualizationRendererSettings(); maze_02_ortho_textured.ImageOriginPosition = new Models.Vector(-700, -1100, 0); maze_02_ortho_textured.WorldWidth = 1400; maze_02_ortho_textured.WorldHeight = 1400; maze_02_ortho_textured.BackgroundImage = Properties.Resources.maze_02_ortho_textured; maze_02_ortho_textured.Title = "Maze 02 Orthographic"; var maze_02_perspective = new BehaviorVisualizationRendererSettings(); maze_02_perspective.ImageOriginPosition = new Models.Vector(-700, -1100, 0); maze_02_perspective.WorldWidth = 1400; maze_02_perspective.WorldHeight = 1400; maze_02_perspective.BackgroundImage = Properties.Resources.maze_02_perspective; maze_02_perspective.Title = "Maze 02 Perspective"; var maze_02_perspective_textured = new BehaviorVisualizationRendererSettings(); maze_02_perspective_textured.ImageOriginPosition = new Models.Vector(-700, -1100, 0); maze_02_perspective_textured.WorldWidth = 1400; maze_02_perspective_textured.WorldHeight = 1400; maze_02_perspective_textured.BackgroundImage = Properties.Resources.maze_02_perspective_textured; maze_02_perspective_textured.Title = "Maze 02 Perspective Textured"; List <BehaviorVisualizationRendererSettings> items = new List <BehaviorVisualizationRendererSettings>(); items.Add(maze_01_blank); items.Add(maze_01_outline); items.Add(maze_01_ortho_textured); items.Add(maze_01_perspective); items.Add(maze_01_perspective_textured); items.Add(maze_02_blank); items.Add(maze_02_outline); items.Add(maze_02_ortho_textured); items.Add(maze_02_perspective); items.Add(maze_02_perspective_textured); lbBackgrounds.ItemsSource = items; }