Uses of Class
gov.nasa.worldwind.util.BufferWrapper
-
Packages that use BufferWrapper Package Description gov.nasa.worldwind.data This package provides classes for converting raw data sources into a form which can be used by standard WorldWind components, such asLayer
andElevationModel
.gov.nasa.worldwind.geom gov.nasa.worldwind.terrain gov.nasa.worldwind.util gov.nasa.worldwindx.examples.analytics -
-
Uses of BufferWrapper in gov.nasa.worldwind.data
Fields in gov.nasa.worldwind.data declared as BufferWrapper Modifier and Type Field Description protected BufferWrapper
BufferWrapperRaster. buffer
Methods in gov.nasa.worldwind.data that return BufferWrapper Modifier and Type Method Description BufferWrapper
BufferWrapperRaster. getBuffer()
Constructors in gov.nasa.worldwind.data with parameters of type BufferWrapper Constructor Description BufferWrapperRaster(int width, int height, Sector sector, BufferWrapper buffer)
BufferWrapperRaster(int width, int height, Sector sector, BufferWrapper buffer, AVList list)
-
Uses of BufferWrapper in gov.nasa.worldwind.geom
Methods in gov.nasa.worldwind.geom with parameters of type BufferWrapper Modifier and Type Method 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 aBox
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. -
Uses of BufferWrapper in gov.nasa.worldwind.terrain
Fields in gov.nasa.worldwind.terrain declared as BufferWrapper Modifier and Type Field Description protected BufferWrapper
BasicElevationModel.ElevationTile. elevations
protected BufferWrapper
LocalElevationModel.LocalTile. elevations
The elevations.protected BufferWrapper
BasicElevationModel. extremes
Methods in gov.nasa.worldwind.terrain that return BufferWrapper Modifier and Type Method Description BufferWrapper
BasicElevationModel.ElevationTile. getElevations()
protected BufferWrapper
BasicElevationModel. getExtremes()
protected BufferWrapper
BasicElevationModel. makeBilElevations(java.net.URL url)
protected BufferWrapper
BasicElevationModel. makeTiffElevations(java.net.URL url)
protected BufferWrapper
BasicElevationModel. readElevations(java.net.URL url)
Methods in gov.nasa.worldwind.terrain with parameters of type BufferWrapper Modifier and Type Method Description protected void
BasicElevationModel. addTileToCache(BasicElevationModel.ElevationTile tile, BufferWrapper elevations)
void
BasicElevationModel.ElevationTile. setElevations(BufferWrapper elevations, BasicElevationModel em)
Constructors in gov.nasa.worldwind.terrain with parameters of type BufferWrapper Constructor Description LocalTile(Sector sector, double missingDataFlag, int tileWidth, int tileHeight, BufferWrapper elevations, java.lang.Double minEl, java.lang.Double maxEl)
Constructs a new elevations tile. -
Uses of BufferWrapper in gov.nasa.worldwind.util
Subclasses of BufferWrapper in gov.nasa.worldwind.util Modifier and Type Class Description static class
BufferWrapper.AbstractBufferWrapper<T extends java.nio.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
Fields in gov.nasa.worldwind.util declared as BufferWrapper Modifier and Type Field Description protected BufferWrapper
VecBuffer. buffer
protected BufferWrapper
EGM96. deltas
protected static BufferWrapper
BufferWrapper. EMPTY_BUFFER_WRAPPER
Methods in gov.nasa.worldwind.util that return BufferWrapper Modifier and Type Method Description BufferWrapper
BufferWrapper.ByteBufferWrapper. copyOf(int newSize)
abstract BufferWrapper
BufferWrapper. copyOf(int newSize)
Returns a copy of this buffer with the specified new size.BufferWrapper
BufferWrapper.DoubleBufferWrapper. copyOf(int newSize)
BufferWrapper
BufferWrapper.EmptyBufferWrapper. copyOf(int newSize)
BufferWrapper
BufferWrapper.FloatBufferWrapper. copyOf(int newSize)
BufferWrapper
BufferWrapper.IntBufferWrapper. copyOf(int newSize)
BufferWrapper
BufferWrapper.ShortBufferWrapper. copyOf(int newSize)
protected abstract BufferWrapper
BufferWrapper.AbstractBufferWrapper. doGetSubBuffer()
protected BufferWrapper
BufferWrapper.ByteBufferWrapper. doGetSubBuffer()
protected BufferWrapper
BufferWrapper.DoubleBufferWrapper. doGetSubBuffer()
protected BufferWrapper
BufferWrapper.FloatBufferWrapper. doGetSubBuffer()
protected BufferWrapper
BufferWrapper.IntBufferWrapper. doGetSubBuffer()
protected BufferWrapper
BufferWrapper.ShortBufferWrapper. doGetSubBuffer()
static BufferWrapper
BufferWrapper. emptyBufferWrapper()
Returns the empty BufferWrapper.BufferWrapper
VecBuffer. getBufferWrapper()
Returns the backing BufferWrapper.BufferWrapper
BufferWrapper.AbstractBufferWrapper. getSubBuffer(int index, int length)
BufferWrapper
BufferWrapper.EmptyBufferWrapper. getSubBuffer(int index, int length)
abstract BufferWrapper
BufferWrapper. getSubBuffer(int index, int length)
Returns a new BufferWrapper which is a subsequence of this buffer.BufferWrapper
BufferFactory.ByteBufferFactory. newBuffer(int size)
Constructs a new ByteBufferWrapper of the specified size, backed by aByteBuffer
.BufferWrapper
BufferFactory.DoubleBufferFactory. newBuffer(int size)
Constructs a new DoubleBufferWrapper of the specified size, backed by aDoubleBuffer
.BufferWrapper
BufferFactory.FloatBufferFactory. newBuffer(int size)
Constructs a new FloatBufferWrapper of the specified size, backed by aFloatBuffer
.BufferWrapper
BufferFactory.IntBufferFactory. newBuffer(int size)
Constructs a new IntBufferWrapper of the specified size, backed by aIntBuffer
.abstract BufferWrapper
BufferFactory. newBuffer(int size)
Constructs a new BufferWrapper of the specified size.BufferWrapper
BufferFactory.ShortBufferFactory. newBuffer(int size)
Constructs a new ShortBufferWrapper of the specified size, backed by aShortBuffer
.static BufferWrapper
WWBufferUtil. newByteBufferWrapper(int size, boolean allocateDirect)
Allocates a newBufferWrapper
of the specified size, in bytes.static BufferWrapper
WWBufferUtil. newDoubleBufferWrapper(int size, boolean allocateDirect)
Allocates a newBufferWrapper
of the specified size, in doubles.static BufferWrapper
WWBufferUtil. newFloatBufferWrapper(int size, boolean allocateDirect)
Allocates a newBufferWrapper
of the specified size, in floats.static BufferWrapper
WWBufferUtil. newIntBufferWrapper(int size, boolean allocateDirect)
Allocates a newBufferWrapper
of the specified size, in ints.static BufferWrapper
WWBufferUtil. newShortBufferWrapper(int size, boolean allocateDirect)
Allocates a newBufferWrapper
of the specified size, in shorts.static BufferWrapper
BufferWrapper. wrap(java.nio.ByteBuffer byteBuffer, AVList params)
Wraps the specifiedByteBuffer
with a BufferWrapper according to the specified parameters.static BufferWrapper
BufferWrapper. wrap(java.nio.ByteBuffer byteBuffer, java.lang.Object dataType)
Wraps the specifiedByteBuffer
with a BufferWrapper according to the specified primitive dataType.static BufferWrapper
BufferWrapper. wrap(java.nio.ByteBuffer byteBuffer, java.lang.Object dataType, java.lang.Object byteOrder)
Wraps the specifiedByteBuffer
with a BufferWrapper according to the specified primitive dataType and byteOrder.Methods in gov.nasa.worldwind.util with parameters of type BufferWrapper Modifier and Type Method 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.DoubleBufferWrapper. 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.IntBufferWrapper. doPutSubBuffer(int index, BufferWrapper buffer, int offset, int length)
protected boolean
BufferWrapper.ShortBufferWrapper. doPutSubBuffer(int index, BufferWrapper buffer, int offset, int length)
void
BufferWrapper.AbstractBufferWrapper. putSubBuffer(int index, BufferWrapper buffer)
void
BufferWrapper.AbstractBufferWrapper. putSubBuffer(int index, BufferWrapper buffer, int offset, int length)
void
BufferWrapper.EmptyBufferWrapper. putSubBuffer(int index, BufferWrapper buffer)
void
BufferWrapper.EmptyBufferWrapper. putSubBuffer(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.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.Constructors in gov.nasa.worldwind.util with parameters of type BufferWrapper Constructor Description VecBuffer(int coordsPerVec, BufferWrapper buffer)
Constructs a new VecBuffer with the specified vector size, and backing BufferWrapper. -
Uses of BufferWrapper in gov.nasa.worldwindx.examples.analytics
Methods in gov.nasa.worldwindx.examples.analytics that return BufferWrapper Modifier and Type Method 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)
Methods in gov.nasa.worldwindx.examples.analytics with parameters of type BufferWrapper Modifier and Type Method Description static java.lang.Iterable<? extends AnalyticSurface.GridPointAttributes>
AnalyticSurface. createColorGradientValues(BufferWrapper values, double missingDataSignal, double minValue, double maxValue, double minHue, double maxHue)
Returns a new iterable populated withAnalyticSurface.GridPointAttributes
computed by invokingAnalyticSurface.createColorGradientAttributes(double, double, double, double, double)
for each double value in the speicfiedBufferWrapper
.static java.lang.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)
-