public class WindBarb
extends java.lang.Object
Constructor and Description |
---|
WindBarb()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static float[] |
makeBarb(boolean south,
float x,
float y,
float z,
float scale,
float pt_size,
float f0,
float f1,
float[] vx,
float[] vy,
float[] vz,
int[] numv,
float[] tx,
float[] ty,
float[] tz,
int[] numt)
Adapted from Don Murray's mind
|
static float[] |
makeBarb(boolean south,
float x,
float y,
float z,
float scale,
float pt_size,
float f0,
float f1,
float[] vx,
float[] vy,
float[] vz,
int[] numv,
float[] tx,
float[] ty,
float[] tz,
int[] numt,
boolean rotateToGlobe)
Adapted from Don Murray's mind
|
static float[] |
makeBarbOld(boolean south,
float x,
float y,
float z,
float scale,
float pt_size,
float f0,
float f1,
float[] vx,
float[] vy,
float[] vz,
int[] numv,
float[] tx,
float[] ty,
float[] tz,
int[] numt)
adapted from Justin Baker's WindBarb, which is adapted from
Mark Govett's barbs.pro IDL routine
|
static visad.VisADGeometryArray[] |
staticMakeFlow(float[][] flow_values,
float flowScale,
float[][] spatial_values,
byte[][] color_values,
boolean[][] range_select,
boolean isSouth)
Static method to make flow components
|
public static visad.VisADGeometryArray[] staticMakeFlow(float[][] flow_values, float flowScale, float[][] spatial_values, byte[][] color_values, boolean[][] range_select, boolean isSouth) throws visad.VisADException
flow_values
- values of flowflowScale
- scale factorsspatial_values
- spatial valuescolor_values
- colors for flow depictionsrange_select
- checks for whether this is a range selectisSouth
- barb orientation flagvisad.VisADException
public static float[] makeBarbOld(boolean south, float x, float y, float z, float scale, float pt_size, float f0, float f1, float[] vx, float[] vy, float[] vz, int[] numv, float[] tx, float[] ty, float[] tz, int[] numt)
south
- north or south orientation flagx
- x value locationy
- y value locationz
- z value locationscale
- scale factorpt_size
- spacing between barbsf0
- u componentf1
- v componentvx
- x coordinate of VisADLineArraysvy
- y coordinate of VisADLineArraysvz
- z coordinate of VisADLineArraysnumv
- number of coordinatestx
- x coordinate of VisADTriangleArrays (wind flags)ty
- y coordinate of VisADTriangleArrays (wind flags)tz
- z coordinate of VisADTriangleArrays (wind flags)numt
- number of coordinatespublic static float[] makeBarb(boolean south, float x, float y, float z, float scale, float pt_size, float f0, float f1, float[] vx, float[] vy, float[] vz, int[] numv, float[] tx, float[] ty, float[] tz, int[] numt)
south
- north or south orientation flagx
- x value locationy
- y value locationz
- z value locationscale
- scale factorpt_size
- spacing between barbsf0
- u componentf1
- v componentvx
- x coordinate of VisADLineArraysvy
- y coordinate of VisADLineArraysvz
- z coordinate of VisADLineArraysnumv
- number of coordinatestx
- x coordinate of VisADTriangleArrays (wind flags)ty
- y coordinate of VisADTriangleArrays (wind flags)tz
- z coordinate of VisADTriangleArrays (wind flags)numt
- number of coordinatespublic static float[] makeBarb(boolean south, float x, float y, float z, float scale, float pt_size, float f0, float f1, float[] vx, float[] vy, float[] vz, int[] numv, float[] tx, float[] ty, float[] tz, int[] numt, boolean rotateToGlobe)
south
- north or south orientation flagx
- x value locationy
- y value locationz
- z value locationscale
- scale factorpt_size
- spacing between barbsf0
- u componentf1
- v componentvx
- x coordinate of VisADLineArraysvy
- y coordinate of VisADLineArraysvz
- z coordinate of VisADLineArraysnumv
- number of coordinatestx
- x coordinate of VisADTriangleArrays (wind flags)ty
- y coordinate of VisADTriangleArrays (wind flags)tz
- z coordinate of VisADTriangleArrays (wind flags)numt
- number of coordinatesrotateToGlobe
- if true, rotate vectors for globe