示例#1
0
		public Plot3dScene(Viewport viewport) : base(viewport)
		{
			Name = "Plot 3D";
			
			TestAxes3D axes = new TestAxes3D();
			RenderList.AddActor(axes);

			PrimaryInteractor = new PlotInteractor(this);
			Camera.SetViewDirection(ViewDirection.Standard);
			new PlotController(this);
		}
示例#2
0
		public Plot2dScene(Viewport viewport) : base(viewport)
		{
			Name = "Plot 2D";
			
			TestAxes2D axes = new TestAxes2D();
			RenderList.AddActor(axes);
			
			Camera.Projection = Projection.Parallel;
			PrimaryInteractor = new PlotInteractor(this);
			Use2dInteraction = true;
			Camera.SetViewDirection(ViewDirection.Front);
			new PlotController(this);
		}