Exemplo n.º 1
0
        private void ToolStripMenuItem_DisplayElevationMaps(object sender, EventArgs e)
        {
            //cListExtendedTable LTable = new cListExtendedTable(this.AssociatedImage);

            //cExtendedTable Table = new cExtendedTable(.SingleChannelImage[0],0);

            cViewerElevationMap3D VE = new cViewerElevationMap3D();
            VE.SetInputData(this.AssociatedImage);

            // UserControlSingleLUT SingleLUT = (UserControlSingleLUT)this.LUTManager.panelForLUTS.Controls[0];
            // VE.LUT = SingleLUT.SelectedLUT;

            if (VE.Run().IsSucceed == false) return;

            cDesignerSinglePanel CD = new cDesignerSinglePanel();
            CD.SetInputData(VE.GetOutPut());
            if (CD.Run().IsSucceed == false) return;

            cDisplayToWindow CDW = new cDisplayToWindow();
            CDW.SetInputData(CD.GetOutPut());
            CDW.Title = "Elevation Map [" + this.AssociatedImage.Name + "]";
            if (CDW.Run().IsSucceed == false) return;
            CDW.Display();
        }
Exemplo n.º 2
0
        private void DisplayElevationMap(object sender, EventArgs e)
        {
            cViewerElevationMap3D VE = new cViewerElevationMap3D();
            VE.SetInputData(new cListExtendedTable(this.Input));
            if (VE.Run().IsSucceed == false) return;

            cDesignerSinglePanel CD = new cDesignerSinglePanel();
            CD.SetInputData(VE.GetOutPut());
            if (CD.Run().IsSucceed == false) return;

            cDisplayToWindow CDW = new cDisplayToWindow();
            CDW.SetInputData(CD.GetOutPut());
            CDW.Title = this.Title + ": Elevation Map";
            if (CDW.Run().IsSucceed == false) return;
            CDW.Display();
        }