Package gov.nasa.worldwind

Examples of gov.nasa.worldwind.BasicModel


            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


    public SimplestPossibleExample()
    {
        WorldWindowGLCanvas wwd = new WorldWindowGLCanvas();
        wwd.setPreferredSize(new java.awt.Dimension(1000, 800));
        this.getContentPane().add(wwd, java.awt.BorderLayout.CENTER);
        wwd.setModel(new BasicModel());
       
       
        // beg tempo bantchao
        Double lat = Configuration.getDoubleValue(AVKey.INITIAL_LATITUDE);
        Double lon = Configuration.getDoubleValue(AVKey.INITIAL_LONGITUDE);
View Full Code Here

public class Fullscreen {

  public static void main(String[] args) {
    Frame frame = new Frame("WorldwindFull");
    final WorldWindowGLCanvas worldWindowGLCanvas = new WorldWindowGLCanvas();
    worldWindowGLCanvas.setModel(new BasicModel());

    worldWindowGLCanvas.addKeyListener(new java.awt.event.KeyListener() {
      public void keyTyped(KeyEvent e) {
      }
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.BasicModel

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.