Package | Description |
---|---|
gov.nasa.worldwind.data |
This package provides classes for converting raw data sources into a form which can be used by standard World Wind
components, such as
Layer and ElevationModel . |
gov.nasa.worldwind.geom | |
gov.nasa.worldwind.terrain | |
gov.nasa.worldwind.util | |
gov.nasa.worldwindx.examples.analytics |
Modifier and Type | Field and Description |
---|---|
protected BufferWrapper |
BufferWrapperRaster.buffer |
Modifier and Type | Method and Description |
---|---|
BufferWrapper |
BufferWrapperRaster.getBuffer() |
Constructor and Description |
---|
BufferWrapperRaster(int width,
int height,
Sector sector,
BufferWrapper buffer) |
BufferWrapperRaster(int width,
int height,
Sector sector,
BufferWrapper buffer,
AVList list) |
Modifier and Type | Method and Description |
---|---|
static Vec4 |
Vec4.computeAveragePoint3(BufferWrapper coordinates,
int stride)
Returns the arithmetic mean of the x, y, z coordinates of the specified points buffer.
|
static Box |
Box.computeBoundingBox(BufferWrapper coordinates,
int stride)
Computes a
Box that bounds a specified buffer of points. |
static Vec4[] |
Vec4.computeExtrema(BufferWrapper buffer) |
static Sphere |
Sphere.createBoundingSphere(BufferWrapper buffer)
Creates a sphere that completely contains a set of points.
|
static Matrix |
Matrix.fromCovarianceOfVertices(BufferWrapper coordinates,
int stride)
Computes a symmetric covariance Matrix from the x, y, z coordinates of the specified buffer of points.
|
Modifier and Type | Field and Description |
---|---|
protected BufferWrapper |
LocalElevationModel.LocalTile.elevations
The elevations.
|
protected BufferWrapper |
BasicElevationModel.ElevationTile.elevations |
protected BufferWrapper |
BasicElevationModel.extremes |
Modifier and Type | Method and Description |
---|---|
BufferWrapper |
BasicElevationModel.ElevationTile.getElevations() |
protected BufferWrapper |
BasicElevationModel.getExtremes() |
protected BufferWrapper |
BasicElevationModel.makeBilElevations(URL url) |
protected BufferWrapper |
BasicElevationModel.makeTiffElevations(URL url) |
protected BufferWrapper |
BasicElevationModel.readElevations(URL url) |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicElevationModel.addTileToCache(BasicElevationModel.ElevationTile tile,
BufferWrapper elevations) |
void |
BasicElevationModel.ElevationTile.setElevations(BufferWrapper elevations,
BasicElevationModel em) |
Constructor and Description |
---|
LocalTile(Sector sector,
double missingDataFlag,
int tileWidth,
int tileHeight,
BufferWrapper elevations,
Double minEl,
Double maxEl)
Constructs a new elevations tile.
|
Modifier and Type | Class and Description |
---|---|
static class |
BufferWrapper.AbstractBufferWrapper<T extends Buffer> |
static class |
BufferWrapper.ByteBufferWrapper |
static class |
BufferWrapper.DoubleBufferWrapper |
protected static class |
BufferWrapper.EmptyBufferWrapper |
static class |
BufferWrapper.FloatBufferWrapper |
static class |
BufferWrapper.IntBufferWrapper |
static class |
BufferWrapper.ShortBufferWrapper |
Modifier and Type | Field and Description |
---|---|
protected BufferWrapper |
VecBuffer.buffer |
protected BufferWrapper |
EGM96.deltas |
protected static BufferWrapper |
BufferWrapper.EMPTY_BUFFER_WRAPPER |
Modifier and Type | Method and Description |
---|---|
abstract BufferWrapper |
BufferWrapper.copyOf(int newSize)
Returns a copy of this buffer with the specified new size.
|
BufferWrapper |
BufferWrapper.ByteBufferWrapper.copyOf(int newSize) |
BufferWrapper |
BufferWrapper.ShortBufferWrapper.copyOf(int newSize) |
BufferWrapper |
BufferWrapper.IntBufferWrapper.copyOf(int newSize) |
BufferWrapper |
BufferWrapper.FloatBufferWrapper.copyOf(int newSize) |
BufferWrapper |
BufferWrapper.DoubleBufferWrapper.copyOf(int newSize) |
BufferWrapper |
BufferWrapper.EmptyBufferWrapper.copyOf(int newSize) |
protected abstract BufferWrapper |
BufferWrapper.AbstractBufferWrapper.doGetSubBuffer() |
protected BufferWrapper |
BufferWrapper.ByteBufferWrapper.doGetSubBuffer() |
protected BufferWrapper |
BufferWrapper.ShortBufferWrapper.doGetSubBuffer() |
protected BufferWrapper |
BufferWrapper.IntBufferWrapper.doGetSubBuffer() |
protected BufferWrapper |
BufferWrapper.FloatBufferWrapper.doGetSubBuffer() |
protected BufferWrapper |
BufferWrapper.DoubleBufferWrapper.doGetSubBuffer() |
static BufferWrapper |
BufferWrapper.emptyBufferWrapper()
Returns the empty BufferWrapper.
|
BufferWrapper |
VecBuffer.getBufferWrapper()
Returns the backing BufferWrapper.
|
abstract BufferWrapper |
BufferWrapper.getSubBuffer(int index,
int length)
Returns a new BufferWrapper which is a subsequence of this buffer.
|
BufferWrapper |
BufferWrapper.AbstractBufferWrapper.getSubBuffer(int index,
int length) |
BufferWrapper |
BufferWrapper.EmptyBufferWrapper.getSubBuffer(int index,
int length) |
abstract BufferWrapper |
BufferFactory.newBuffer(int size)
Constructs a new BufferWrapper of the specified size.
|
BufferWrapper |
BufferFactory.ByteBufferFactory.newBuffer(int size)
Constructs a new ByteBufferWrapper of the specified size, backed by a
ByteBuffer . |
BufferWrapper |
BufferFactory.ShortBufferFactory.newBuffer(int size)
Constructs a new ShortBufferWrapper of the specified size, backed by a
ShortBuffer . |
BufferWrapper |
BufferFactory.IntBufferFactory.newBuffer(int size)
Constructs a new IntBufferWrapper of the specified size, backed by a
IntBuffer . |
BufferWrapper |
BufferFactory.FloatBufferFactory.newBuffer(int size)
Constructs a new FloatBufferWrapper of the specified size, backed by a
FloatBuffer . |
BufferWrapper |
BufferFactory.DoubleBufferFactory.newBuffer(int size)
Constructs a new DoubleBufferWrapper of the specified size, backed by a
DoubleBuffer . |
static BufferWrapper |
WWBufferUtil.newByteBufferWrapper(int size,
boolean allocateDirect)
Allocates a new
BufferWrapper of the specified size, in bytes. |
static BufferWrapper |
WWBufferUtil.newDoubleBufferWrapper(int size,
boolean allocateDirect)
Allocates a new
BufferWrapper of the specified size, in doubles. |
static BufferWrapper |
WWBufferUtil.newFloatBufferWrapper(int size,
boolean allocateDirect)
Allocates a new
BufferWrapper of the specified size, in floats. |
static BufferWrapper |
WWBufferUtil.newIntBufferWrapper(int size,
boolean allocateDirect)
Allocates a new
BufferWrapper of the specified size, in ints. |
static BufferWrapper |
WWBufferUtil.newShortBufferWrapper(int size,
boolean allocateDirect)
Allocates a new
BufferWrapper of the specified size, in shorts. |
static BufferWrapper |
BufferWrapper.wrap(ByteBuffer byteBuffer,
AVList params)
Wraps the specified
ByteBuffer with a BufferWrapper according to the specified parameters. |
static BufferWrapper |
BufferWrapper.wrap(ByteBuffer byteBuffer,
Object dataType)
Wraps the specified
ByteBuffer with a BufferWrapper according to the specified primitive dataType. |
static BufferWrapper |
BufferWrapper.wrap(ByteBuffer byteBuffer,
Object dataType,
Object byteOrder)
Wraps the specified
ByteBuffer with a BufferWrapper according to the specified primitive dataType and
byteOrder. |
Modifier and Type | Method and Description |
---|---|
static double[] |
WWBufferUtil.computeExtremeValues(BufferWrapper buffer)
Returns the minimum and maximum floating point values in the specified buffer.
|
static double[] |
WWBufferUtil.computeExtremeValues(BufferWrapper buffer,
double missingDataSignal)
Returns the minimum and maximum floating point values in the specified buffer.
|
static Vec4[] |
WWMath.computePrincipalAxes(BufferWrapper coordinates,
int stride)
Returns an array of normalized vectors defining the three principal axes of the x-, y-, and z-coordinates from
the specified buffer of points, sorted from the most prominent axis to the least prominent.
|
protected abstract boolean |
BufferWrapper.AbstractBufferWrapper.doPutSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
protected boolean |
BufferWrapper.ByteBufferWrapper.doPutSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
protected boolean |
BufferWrapper.ShortBufferWrapper.doPutSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
protected boolean |
BufferWrapper.IntBufferWrapper.doPutSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
protected boolean |
BufferWrapper.FloatBufferWrapper.doPutSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
protected boolean |
BufferWrapper.DoubleBufferWrapper.doPutSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
abstract void |
BufferWrapper.putSubBuffer(int index,
BufferWrapper buffer)
Sets a subsequence of this buffer with the contents of the specified buffer.
|
void |
BufferWrapper.AbstractBufferWrapper.putSubBuffer(int index,
BufferWrapper buffer) |
void |
BufferWrapper.EmptyBufferWrapper.putSubBuffer(int index,
BufferWrapper buffer) |
abstract void |
BufferWrapper.putSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length)
Sets a subsequence of this buffer with the contents of the specified buffer.
|
void |
BufferWrapper.AbstractBufferWrapper.putSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
void |
BufferWrapper.EmptyBufferWrapper.putSubBuffer(int index,
BufferWrapper buffer,
int offset,
int length) |
Constructor and Description |
---|
VecBuffer(int coordsPerVec,
BufferWrapper buffer)
Constructs a new VecBuffer with the specified vector size, and backing BufferWrapper.
|
Modifier and Type | Method and Description |
---|---|
static BufferWrapper |
AnalyticSurfaceDemo.randomGridValues(int width,
int height,
double min,
double max) |
static BufferWrapper |
AnalyticSurfaceDemo.randomGridValues(int width,
int height,
double min,
double max,
int numIterations,
double smoothness,
BufferFactory factory) |
Modifier and Type | Method and Description |
---|---|
static Iterable<? extends AnalyticSurface.GridPointAttributes> |
AnalyticSurface.createColorGradientValues(BufferWrapper values,
double missingDataSignal,
double minValue,
double maxValue,
double minHue,
double maxHue)
Returns a new iterable populated with
AnalyticSurface.GridPointAttributes computed by invoking AnalyticSurface.createColorGradientAttributes(double, double, double, double, double) for each double value in the speicfied
BufferWrapper . |
static Iterable<? extends AnalyticSurface.GridPointAttributes> |
AnalyticSurfaceDemo.createMixedColorGradientGridValues(double a,
BufferWrapper firstBuffer,
BufferWrapper secondBuffer,
double minValue,
double maxValue,
double minHue,
double maxHue) |
protected static void |
AnalyticSurfaceDemo.mixValuesOverTime(long timeToMix,
BufferWrapper firstBuffer,
BufferWrapper secondBuffer,
double minValue,
double maxValue,
double minHue,
double maxHue,
AnalyticSurface surface) |