@Deprecated public class GridLoader extends Object implements IColorMappable
11111111 y
11111111
11o11111
11111111
x
| Modifier and Type | Field and Description |
|---|---|
float[] |
x
Deprecated.
|
float[] |
y
Deprecated.
|
float[][] |
z
Deprecated.
|
| Constructor and Description |
|---|
GridLoader(float[] x,
float[] y,
float[] z)
Deprecated.
Initialize a GridLoader by parsing the square grid directly.
|
| Modifier and Type | Method and Description |
|---|---|
void |
extrapolate(int n)
Deprecated.
Add extrapolated points on the grid.
|
BoundingBox3d |
getBoundingBox()
Deprecated.
Return a BoundingBox indicating the bounds of the loaded data.
|
List<Polygon> |
getExtrapolatedRingPolygons(float ringMax,
IColorMap cmap,
Color colorFactor)
Deprecated.
|
List<Polygon> |
getInterpolatedRingPolygons(float ringMin,
float ringMax,
IColorMap cmap,
Color colorFactor)
Deprecated.
Load data standing on an orthonormal grid.
|
double |
getMax()
Deprecated.
Retrieve the upper value boundary for a
IColorMap. |
double |
getMin()
Deprecated.
Retrieve the lower value boundary for a
IColorMap. |
Vector<Polygon> |
getSquarePolygons(IColorMap cmap,
Color colorFactor)
Deprecated.
|
protected void |
setData(float[] x,
float[] y,
float[] z)
Deprecated.
Set the array of data.
|
void |
setMax(double zmax)
Deprecated.
Set the upper value boundary for a
IColorMap. |
void |
setMin(double zmin)
Deprecated.
Set the lower value boundary for a
IColorMap. |
public float[] x
public float[] y
public float[][] z
public GridLoader(float[] x,
float[] y,
float[] z)
public BoundingBox3d getBoundingBox()
protected void setData(float[] x,
float[] y,
float[] z)
11111111 y
11111111
11o11111
11111111
x
While parsing input data, the minimal and maximal Z values are computed,
in order to have the loader ready for computing polygons color with a
colormap.x - list of x coordinatesy - list of y coordinatesz - list of z coordinatesan - IllegalArgumentException if x, y , and z have not the same sizepublic Vector<Polygon> getSquarePolygons(IColorMap cmap, Color colorFactor)
public List<Polygon> getExtrapolatedRingPolygons(float ringMax, IColorMap cmap, Color colorFactor)
public void extrapolate(int n)
public List<Polygon> getInterpolatedRingPolygons(float ringMin, float ringMax, IColorMap cmap, Color colorFactor)
ringMin - the minimum radius of this ring.ringMax - the maximum radius of this ring.colorFactor - a weighting factor for the color returned by the Colormap.public double getMin()
IColorMappableIColorMap.getMin in interface IColorMappablepublic double getMax()
IColorMappableIColorMap.getMax in interface IColorMappablepublic void setMin(double zmin)
IColorMappableIColorMap.setMin in interface IColorMappablezmin - the minimum Z valuepublic void setMax(double zmax)
IColorMappableIColorMap.setMax in interface IColorMappablezmax - the maximum Z valueCopyright © 2016. All rights reserved.