コード例 #1
0
        private void ribbonButton13_Click(object sender, EventArgs e)
        {
            m_earthRoot.removeChildren();
            imageSurfaceLayerA       = null;
            imageSurfaceLayerB       = null;
            imageSurfaceLayerC       = null;
            imageSurfaceLayerDebug   = null;
            imageSurfaceLayerNoise   = null;
            imageSurfaceLayerAGGLite = null;
            imageSurfaceLayerMBTiles = null;
            imageSurfaceLayerArcGIS  = null;

            vectorSurfaceLayerD = null;

            groupOfEFG          = null;
            vectorSurfaceLayerE = null;
            vectorSurfaceLayerF = null;
            vectorSurfaceLayerG = null;

            tmsImageSurfaceLayerH     = null;
            tmsElevationSurfaceLayerI = null;

            elevSurfaceLayerJ     = null;
            elevSurfaceLayerNoise = null;
        }
コード例 #2
0
 private void addElevSurLayerJ()
 {
     if (elevSurfaceLayerJ == null)
     {
         elevSurfaceLayerJ            = new ElevationSurfaceLayer();
         tileSourceGDAL.url           = "E:\\OpenSceneGraph\\data\\download\\DEM\\e060n40\\E060N40.DEM";
         elevSurfaceLayerJ.tileSource = tileSourceGDAL;
         m_earthRoot.addChild(elevSurfaceLayerJ);
     }
 }
コード例 #3
0
 private void addTMSElevationSurfaceLayerI()
 {
     if (tmsElevationSurfaceLayerI == null)
     {
         tmsElevationSurfaceLayerI            = new ElevationSurfaceLayer();
         tileSourceTMS.url                    = "http://readymap.org/readymap/tiles/1.0.0/9/";
         tmsElevationSurfaceLayerI.tileSource = tileSourceTMS;
         m_earthRoot.addChild(tmsElevationSurfaceLayerI);
     }
 }
コード例 #4
0
        private void addElevSurLyerNoise()
        {
            if (elevSurfaceLayerNoise == null)
            {
                TileSourceNoise noise = new TileSourceNoise();
                noise.resolution = 250;
                noise.scale      = 20;
                noise.octaves    = 4;

                elevSurfaceLayerNoise            = new ElevationSurfaceLayer();
                elevSurfaceLayerNoise.tileSource = noise;
                m_earthRoot.addChild(elevSurfaceLayerNoise);
            }
        }
コード例 #5
0
ファイル: MainForm.cs プロジェクト: wlhm1984/osgEarthX
 private void addElevSurLayerJ()
 {
     if ( elevSurfaceLayerJ == null )
     {
         elevSurfaceLayerJ = new ElevationSurfaceLayer();
         tileSourceGDAL.url = "E:\\OpenSceneGraph\\data\\download\\DEM\\e060n40\\E060N40.DEM";
         elevSurfaceLayerJ.tileSource = tileSourceGDAL;
         m_earthRoot.addChild( elevSurfaceLayerJ );
     }
 }
コード例 #6
0
ファイル: MainForm.cs プロジェクト: wlhm1984/osgEarthX
        private void ribbonButton13_Click(object sender, EventArgs e)
        {
            m_earthRoot.removeChildren();
            imageSurfaceLayerA = null;
            imageSurfaceLayerB = null;
            imageSurfaceLayerC = null;
            imageSurfaceLayerDebug = null;
            imageSurfaceLayerNoise = null;
            imageSurfaceLayerAGGLite = null;
            imageSurfaceLayerMBTiles = null;
            imageSurfaceLayerArcGIS = null;

            vectorSurfaceLayerD = null;

            groupOfEFG = null;
            vectorSurfaceLayerE = null;
            vectorSurfaceLayerF = null;
            vectorSurfaceLayerG = null;

            tmsImageSurfaceLayerH = null;
            tmsElevationSurfaceLayerI = null;

            elevSurfaceLayerJ = null;
            elevSurfaceLayerNoise = null;
        }
コード例 #7
0
ファイル: MainForm.cs プロジェクト: wlhm1984/osgEarthX
 private void addTMSElevationSurfaceLayerI()
 {
     if ( tmsElevationSurfaceLayerI == null )
     {
         tmsElevationSurfaceLayerI = new ElevationSurfaceLayer();
         tileSourceTMS.url = "http://readymap.org/readymap/tiles/1.0.0/9/";
         tmsElevationSurfaceLayerI.tileSource = tileSourceTMS;
         m_earthRoot.addChild( tmsElevationSurfaceLayerI );
     }
 }
コード例 #8
0
ファイル: MainForm.cs プロジェクト: wlhm1984/osgEarthX
        private void addElevSurLyerNoise()
        {
            if (elevSurfaceLayerNoise == null)
            {
                TileSourceNoise noise = new TileSourceNoise();
                noise.resolution = 250;
                noise.scale = 20;
                noise.octaves = 4;

                elevSurfaceLayerNoise = new ElevationSurfaceLayer();
                elevSurfaceLayerNoise.tileSource = noise;
                m_earthRoot.addChild( elevSurfaceLayerNoise );
            }
        }