Package gov.nasa.worldwind.render

Examples of gov.nasa.worldwind.render.PointPlacemark


   // ---
  
   @Override
    public PointPlacemark create(WorldWindow wwd, String strNewWhatLabel)
    {
      PointPlacemark ppk = super.create(wwd, strNewWhatLabel);
     
      ppk.setValue(AVKey.DISPLAY_NAME, GfrFactoryObjPntPin._s_getNextName_(toString()));
      ppk.setAttributes(GfrFactoryObjPntPin._s_getAttributes_());
     
      return ppk;
    }
View Full Code Here


         return lstPositions;
     
      for (int i=0; i<super._lstObject.size(); i++)
      {
         IGfrHandlerWwdEarthObjectGeoforgeRenderableLayer objCur = (IGfrHandlerWwdEarthObjectGeoforgeRenderableLayer) super._lstObject.get(i);
         PointPlacemark pntCur = (PointPlacemark) objCur;
        
         lstPositions.add(pntCur.getPosition());
      }
     
      return lstPositions;
   }
View Full Code Here

      double dblMaxLon = -500;

      for (int i=0; i<super._lstObject.size(); i++)
      {
         IGfrHandlerWwdEarthObjectGeoforgeRenderableLayer objCur = (IGfrHandlerWwdEarthObjectGeoforgeRenderableLayer) super._lstObject.get(i);
         PointPlacemark pntCur = (PointPlacemark) objCur;
         LatLon llnCur = pntCur.getPosition();
         //
         double[] dbls = llnCur.asDegreesArray();

         if (dbls[0] < dblMinLat)//=a
         {
View Full Code Here

      double dblMaxLon = -500;

      for (int i = 0; i < super._lstObject.size(); i++)
      {
         IGfrHandlerWwdEarthObjectGeoforgeRenderableLayer objCur = (IGfrHandlerWwdEarthObjectGeoforgeRenderableLayer) super._lstObject.get(i);
         PointPlacemark pntCur = (PointPlacemark) objCur;
         LatLon llnCur = pntCur.getPosition();
        
         double[] dbls = llnCur.asDegreesArray();

         if (dbls[0] < dblMinLat)//=a
         {
View Full Code Here

   // ---
  
   @Override
    public PointPlacemark create(WorldWindow wwd, String strNewWhatLabel)
    {
      PointPlacemark ppk = super.create(wwd, strNewWhatLabel);
    
      ppk.setValue(AVKey.DISPLAY_NAME, GfrFactoryObjPntCircle._s_getNextName_(toString()));   
      ppk.setAttributes(GfrFactoryObjPntCircle._s_getAttributes_());
     
      return ppk;
    }
View Full Code Here

  
   public PointPlacemark create(WorldWindow wwd, String strNewWhatLabel)
   {
      Position posCenter = ((OrbitView) wwd.getView()).getCenterPosition();
     
      PointPlacemark ppk = new PointPlacemark(Position.fromDegrees(
              posCenter.latitude.degrees,
              posCenter.longitude.degrees,
              0d
              ));
     
      ppk.setLabelText(strNewWhatLabel);
      ppk.setAltitudeMode(WorldWind.CLAMP_TO_GROUND);
     
      return ppk;
   }
View Full Code Here

   }

    @Override
    public void _createNewEntry()
    {
       PointPlacemark ppk = GfrFactoryObjPntPin.s_getInstance().create(
                super._glcWwd,
                super._strNewWhatLabel);
       
        GfrEntryBltObjPikAbs pey = new GfrEntryBltObjPikPnt(ppk);
        super._createNewEntry(pey);
View Full Code Here

   }
  
   @Override
    public Object getValue()
    {
       PointPlacemark ppk = (PointPlacemark) super._pey.getRenderable();
      
       return ppk.getPosition();
    }
View Full Code Here

   }

    @Override
    public void _createNewEntry()
    {
       PointPlacemark ppk = GfrFactoryObjPntCircle.s_getInstance().create(
                super._glcWwd,
                super._strNewWhatLabel);
       
        GfrEntryBltObjPikAbs pey = new GfrEntryBltObjPikPnt(ppk);
        super._createNewEntry(pey);
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.render.PointPlacemark

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.