Package gov.nasa.worldwind

Examples of gov.nasa.worldwind.SceneController


      else if (controlType.equals(AVKey.VERTICAL_EXAGGERATION_UP))
      {
         //beg added Amadeus for synchro
         for (int i = 0; i < updatedSize; i++)
         {
            SceneController sc = this.wwdSyncro.get(i).getSceneController();
            sc.setVerticalExaggeration(sc.getVerticalExaggeration() + this.veStep);
         }
         //end Amadeus
         SceneController sc = this.wwd.getSceneController();
         sc.setVerticalExaggeration(sc.getVerticalExaggeration() + this.veStep);
      }
      else if (controlType.equals(AVKey.VERTICAL_EXAGGERATION_DOWN))
      {
         //beg added Amadeus for synchro
         for (int i = 0; i < updatedSize; i++)
         {
            SceneController sc = this.wwdSyncro.get(i).getSceneController();
            sc.setVerticalExaggeration(Math.max(1d, sc.getVerticalExaggeration() - this.veStep));
         }
         //end Amadeus

         SceneController sc = this.wwd.getSceneController();
         sc.setVerticalExaggeration(Math.max(1d, sc.getVerticalExaggeration() - this.veStep));
      }
      view.firePropertyChange(AVKey.VIEW, null, view);
   }
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.SceneController

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.