gov.nasa.worldwind.examples.analytics
Class AnalyticSurfaceDemo
java.lang.Object
gov.nasa.worldwind.examples.ApplicationTemplate
gov.nasa.worldwind.examples.analytics.AnalyticSurfaceDemo
public class AnalyticSurfaceDemo
- extends ApplicationTemplate
|
Method Summary |
protected static Renderable |
createLegendRenderable(AnalyticSurface surface,
double surfaceMinScreenSize,
AnalyticSurfaceLegend legend)
|
static java.lang.Iterable<? extends AnalyticSurface.GridPointAttributes> |
createMixedColorGradientGridValues(double a,
BufferWrapper firstBuffer,
BufferWrapper secondBuffer,
double minValue,
double maxValue,
double minHue,
double maxHue)
|
protected static void |
createPrecipitationSurface(double minHue,
double maxHue,
RenderableLayer outLayer)
|
protected static void |
createRandomAltitudeSurface(double minHue,
double maxHue,
int width,
int height,
RenderableLayer outLayer)
|
protected static BufferWrapperRaster |
loadZippedBILData(java.lang.String uriString)
|
static void |
main(java.lang.String[] args)
|
protected static void |
mixValuesOverTime(long timeToMix,
BufferWrapper firstBuffer,
BufferWrapper secondBuffer,
double minValue,
double maxValue,
double minHue,
double maxHue,
AnalyticSurface surface)
|
static BufferWrapper |
randomGridValues(int width,
int height,
double min,
double max)
|
static BufferWrapper |
randomGridValues(int width,
int height,
double min,
double max,
int numIterations,
double smoothness,
BufferFactory factory)
|
protected static void |
scaleValues(double[] values,
int count,
double minValue,
double maxValue)
|
protected static void |
smoothBand(double[] values,
int start,
int stride,
int count,
double smoothness)
|
protected static void |
smoothValues(int width,
int height,
double[] values,
double smoothness)
|
protected static java.nio.ByteBuffer |
unzipEntryToBuffer(java.util.zip.ZipFile zipFile,
java.lang.String entryName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_RANDOM_ITERATIONS
protected static final int DEFAULT_RANDOM_ITERATIONS
- See Also:
- Constant Field Values
DEFAULT_RANDOM_SMOOTHING
protected static final double DEFAULT_RANDOM_SMOOTHING
- See Also:
- Constant Field Values
AnalyticSurfaceDemo
public AnalyticSurfaceDemo()
createLegendRenderable
protected static Renderable createLegendRenderable(AnalyticSurface surface,
double surfaceMinScreenSize,
AnalyticSurfaceLegend legend)
createMixedColorGradientGridValues
public static java.lang.Iterable<? extends AnalyticSurface.GridPointAttributes> createMixedColorGradientGridValues(double a,
BufferWrapper firstBuffer,
BufferWrapper secondBuffer,
double minValue,
double maxValue,
double minHue,
double maxHue)
createPrecipitationSurface
protected static void createPrecipitationSurface(double minHue,
double maxHue,
RenderableLayer outLayer)
createRandomAltitudeSurface
protected static void createRandomAltitudeSurface(double minHue,
double maxHue,
int width,
int height,
RenderableLayer outLayer)
loadZippedBILData
protected static BufferWrapperRaster loadZippedBILData(java.lang.String uriString)
main
public static void main(java.lang.String[] args)
mixValuesOverTime
protected static void mixValuesOverTime(long timeToMix,
BufferWrapper firstBuffer,
BufferWrapper secondBuffer,
double minValue,
double maxValue,
double minHue,
double maxHue,
AnalyticSurface surface)
randomGridValues
public static BufferWrapper randomGridValues(int width,
int height,
double min,
double max)
randomGridValues
public static BufferWrapper randomGridValues(int width,
int height,
double min,
double max,
int numIterations,
double smoothness,
BufferFactory factory)
scaleValues
protected static void scaleValues(double[] values,
int count,
double minValue,
double maxValue)
smoothBand
protected static void smoothBand(double[] values,
int start,
int stride,
int count,
double smoothness)
smoothValues
protected static void smoothValues(int width,
int height,
double[] values,
double smoothness)
unzipEntryToBuffer
protected static java.nio.ByteBuffer unzipEntryToBuffer(java.util.zip.ZipFile zipFile,
java.lang.String entryName)
throws java.io.IOException
- Throws:
java.io.IOException