コード例 #1
0
 public static void main(String[] args) {
   // Set the initial configurations of your NASA World Wind App
   // Altitute, logitude and latitute, and window caption.
   Configuration.setValue(AVKey.INITIAL_LATITUDE, 54);
   Configuration.setValue(AVKey.INITIAL_LONGITUDE, 13);
   Configuration.setValue(AVKey.INITIAL_ALTITUDE, 190e4);
   ApplicationTemplate.start("NASA World Wind Tutorial - Simple Polygons", AppFrame.class);
 }
コード例 #2
0
  public static void main(String[] args) {
    // MeasureRenderTime.enable(true);
    // MeasureRenderTime.setMesureGpu(true);

    Configuration.insertConfigurationDocument("si/xlab/gaea/examples/gaea-example-config.xml");
    appFrame =
        (GaeaAppFrame)
            ApplicationTemplate.start("Gaea+ Open Source Example Application", GaeaAppFrame.class);
    insertBeforeCompass(appFrame.getWwd(), RenderToTextureLayer.getInstance());
    appFrame.getWwd().addSelectListener(new FeatureSelectListener(appFrame.getWwd()));
    makeMenu(appFrame);
  }
コード例 #3
0
 public static void main(String[] args) {
   ApplicationTemplate.start("World Wind Imagery Import", ImportImagery.AppFrame.class);
 }