Class DynamicLayer

java.lang.Object
com.eco.bio7.worldwind.DynamicLayer
All Implemented Interfaces:
gov.nasa.worldwind.render.Renderable

public class DynamicLayer extends Object implements gov.nasa.worldwind.render.Renderable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    gov.nasa.worldwind.pick.PickSupport
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    begin(gov.nasa.worldwind.render.DrawContext dc)
     
    static boolean
     
    static gov.nasa.worldwind.geom.Vec4
    CartesianToSpherical(double x, double y, double z)
    Converts position in cartesian coordinates (XYZ) to spherical (radius, lat, lon) coordinates.
    void
    compute(gov.nasa.worldwind.render.DrawContext dc, com.jogamp.opengl.GL2 gl)
     
    void
    end(gov.nasa.worldwind.render.DrawContext dc)
     
     
    void
     
    static void
     
    boolean
    Indicates if some property of the geometry has changed.
    void
    render(gov.nasa.worldwind.render.DrawContext dc)
    Renders the object.
    static void
    setEcoclass(Model ecoclass)
     
    static void
    setPeriod(long period)
     
    void
    setPropertyChanged(boolean propertyChanged)
    Sets if some property of the object has changed.
    static gov.nasa.worldwind.geom.Vec4
    SphericalToCartesian(double latitude, double longitude, double radius)
    Converts position in spherical coordinates (lat/lon/altitude) to cartesian (XYZ) coordinates.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pickSupport

      public gov.nasa.worldwind.pick.PickSupport pickSupport
  • Constructor Details

    • DynamicLayer

      public DynamicLayer()
  • Method Details

    • setPeriod

      public static void setPeriod(long period)
    • setEcoclass

      public static void setEcoclass(Model ecoclass)
    • getDynamicLayer

      public static DynamicLayer getDynamicLayer()
    • invokeSetup

      public static void invokeSetup()
    • isPropertyChanged

      public boolean isPropertyChanged()
      Indicates if some property of the geometry has changed.
    • setPropertyChanged

      public void setPropertyChanged(boolean propertyChanged)
      Sets if some property of the object has changed.
    • render

      public void render(gov.nasa.worldwind.render.DrawContext dc)
      Renders the object.
      Specified by:
      render in interface gov.nasa.worldwind.render.Renderable
      Parameters:
      dc - draw context reference.
    • getFps

      public void getFps()
    • canStep

      public static boolean canStep()
    • begin

      public void begin(gov.nasa.worldwind.render.DrawContext dc)
    • end

      public void end(gov.nasa.worldwind.render.DrawContext dc)
    • compute

      public void compute(gov.nasa.worldwind.render.DrawContext dc, com.jogamp.opengl.GL2 gl)
    • SphericalToCartesian

      public static gov.nasa.worldwind.geom.Vec4 SphericalToCartesian(double latitude, double longitude, double radius)
      Converts position in spherical coordinates (lat/lon/altitude) to cartesian (XYZ) coordinates.
      Parameters:
      latitude - Latitude in decimal degrees
      longitude - Longitude in decimal degrees
      radius - Radius
      Returns:
      the corresponding Point
    • CartesianToSpherical

      public static gov.nasa.worldwind.geom.Vec4 CartesianToSpherical(double x, double y, double z)
      Converts position in cartesian coordinates (XYZ) to spherical (radius, lat, lon) coordinates.
      Parameters:
      x - X coordinate
      y - Y coordinate
      z - Z coordinate
      Returns:
      a Vec4 point for the spherical coordinates {radius, lat, lon}