Class DynamicLayer
java.lang.Object
com.eco.bio7.worldwind.DynamicLayer
- All Implemented Interfaces:
gov.nasa.worldwind.render.Renderable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin(gov.nasa.worldwind.render.DrawContext dc) static booleancanStep()static gov.nasa.worldwind.geom.Vec4CartesianToSpherical(double x, double y, double z) Converts position in cartesian coordinates (XYZ) to spherical (radius, lat, lon) coordinates.voidcompute(gov.nasa.worldwind.render.DrawContext dc, com.jogamp.opengl.GL2 gl) voidend(gov.nasa.worldwind.render.DrawContext dc) static DynamicLayervoidgetFps()static voidbooleanIndicates if some property of the geometry has changed.voidrender(gov.nasa.worldwind.render.DrawContext dc) Renders the object.static voidsetEcoclass(Model ecoclass) static voidsetPeriod(long period) voidsetPropertyChanged(boolean propertyChanged) Sets if some property of the object has changed.static gov.nasa.worldwind.geom.Vec4SphericalToCartesian(double latitude, double longitude, double radius) Converts position in spherical coordinates (lat/lon/altitude) to cartesian (XYZ) coordinates.
-
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
-
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:
renderin interfacegov.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 degreeslongitude- Longitude in decimal degreesradius- 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 coordinatey- Y coordinatez- Z coordinate- Returns:
- a
Vec4point for the spherical coordinates {radius, lat, lon}
-