Package gov.nasa.worldwind

Examples of gov.nasa.worldwind.Model


            new BMNGWMSLayer(),
            new LandsatI3WMSLayer(),
         };

         // Create two models and pass them the shared layers.
         Model modelForWindowA = new BasicModel();
         modelForWindowA.setGlobe(earth);
         modelForWindowA.setLayers(new LayerList(layers));

         // Create two frames and give each their own model.
         GfrCanvasFrame frameA = new GfrCanvasFrame(null, modelForWindowA, "Frame A");
        
         Model modelForWindowB = new BasicModel();
         modelForWindowB.setGlobe(earth);
         modelForWindowB.setLayers(new LayerList(layers));
        
         // When creating the second frame, specify resource sharing with the first one.
         GfrCanvasFrame frameB = new GfrCanvasFrame(frameA.getWwd(), modelForWindowB, "Frame B");
        
         // Create two models and pass them the shared layers.
         Model modelForWindowC = new BasicModel();
         modelForWindowC.setGlobe(earth);
         modelForWindowC.setLayers(new LayerList(layers));

         // Create two frames and give each their own model.
         GfrCanvasFrame frameC = new GfrCanvasFrame(null, modelForWindowC, "Frame C");

         frameA.addSecondaryViewer(frameB);
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.Model

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.