|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.WindBarb
public class WindBarb
Class WindBarb to create wind barbs as shapes
| Constructor Summary | |
|---|---|
WindBarb()
Default constructor |
|
| Method Summary | |
|---|---|
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 VisADGeometryArray[] |
staticMakeFlow(float[][] flow_values,
float flowScale,
float[][] spatial_values,
byte[][] color_values,
boolean[][] range_select,
boolean isSouth)
Static method to make flow components |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindBarb()
| Method Detail |
|---|
public static VisADGeometryArray[] staticMakeFlow(float[][] flow_values,
float flowScale,
float[][] spatial_values,
byte[][] color_values,
boolean[][] range_select,
boolean isSouth)
throws 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 flag
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 coordinates
public 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 coordinates
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||