|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.bom.FrontDrawer
public class FrontDrawer
FrontDrawer is the VisAD class for manipulation of fronts
Field Summary | |
---|---|
static int |
COLD_FRONT
|
static int |
CONVERGENCE
|
static int |
DRY_LINE
|
static int |
FRONTOGENESIS
|
static int |
FRONTOLYSIS
|
static int |
ISOTHERMS
|
static int |
LIFTED_INDEX
|
static int |
LOW_LEVEL_JET
|
static int |
LOWER_THERMAL_TROUGH
|
static int |
MOISTURE
|
static int |
OCCLUDED_FRONT
|
static int |
RIDGE
|
static int |
STATIONARY_FRONT
|
static int |
THICKNESS_RIDGE
|
static int |
TOTAL_TOTALS
|
static int |
TROUGH
|
static int |
UNEVEN_LOW_LEVEL_JET
|
static int |
UPPER_COLD_FRONT
|
static int |
UPPER_LEVEL_JET
|
static int |
UPPER_THERMAL_TROUGH
|
static int |
UPPER_WARM_FRONT
|
static int |
WARM_FRONT
|
Constructor Summary | |
---|---|
FrontDrawer(FieldImpl fs,
float[][][] cs,
DisplayImplJ3D d,
int fw,
float segment,
float[][][] fshapes,
float[] fred,
float[] fgreen,
float[] fblue,
float[][][] rshapes,
float[] rred,
float[] rgreen,
float[] rblue)
fs is null or has MathType (RealType.Time -> (front_index -> ((Latitude, Longitude) -> (front_red, front_green, front_blue)))) cs is null or contains a time array of curves for fs fw is the filter window size for smoothing the curve segment is length in graphics coordinates of first and repeating profiles fshapes is dimensioned [nfshapes][2][points_per_shape] fred, fgreen and fblue are dimensioned [nfshapes] rshapes is dimensioned [nrshapes][2][points_per_shape] rred, rgreen and rblue are dimensioned [nrshapes] fshapes[*][0][*] and rshapes[*][0][*] generally in range 0.0f to segment |
|
FrontDrawer(FieldImpl fs,
float[][][] cs,
DisplayImplJ3D d,
int fw,
float fsegment,
float rsegment,
float[][][] fshapes,
float[] fred,
float[] fgreen,
float[] fblue,
float[][][] rshapes,
float[] rred,
float[] rgreen,
float[] rblue)
fs is null or has MathType (RealType.Time -> (front_index -> ((Latitude, Longitude) -> (front_red, front_green, front_blue)))) cs is null or contains a time array of curves for fs fw is the filter window size for smoothing the curve fsegment is length in graphics coordinates of first profile rsegment is length in graphics coordinates of repeating profile fshapes is dimensioned [nfshapes][2][points_per_shape] fred, fgreen and fblue are dimensioned [nfshapes] rshapes is dimensioned [nrshapes][2][points_per_shape] rred, rgreen and rblue are dimensioned [nrshapes] fshapes[*][0][*] and rshapes[*][0][*] generally in range 0.0f to segment |
|
FrontDrawer(FieldImpl fs,
float[][][] cs,
DisplayImplJ3D d,
int fw,
int front_kind)
manipulable front with predefined pattern front_kind and default color arrays |
|
FrontDrawer(FieldImpl fs,
float[][][] cs,
DisplayImplJ3D d,
int fw,
int front_kind,
float[] fred,
float[] fgreen,
float[] fblue,
float[] rred,
float[] rgreen,
float[] rblue)
manipulable front with predefined pattern front_kind and user specified color arrays |
Method Summary | |
---|---|
void |
controlChanged(ControlEvent e)
send a ControlEvent to this ControlListener |
static float |
curveLength(float[][] curve,
float[] seg_length)
assumes curve is float[2][len] and seg_length is float[len-1] |
Vector |
endItAll()
called by the application to end manipulation; returns the final front |
void |
endManipulation()
called by the application to end manipulation; returns the final front |
Gridded2DSet |
getCurve()
|
DefaultRendererJ3D |
getFrontRenderer()
|
static void |
initColormaps(DisplayImplJ3D display)
|
static void |
main(String[] args)
|
void |
release()
|
static float[][] |
resample_curve(float[][] curve,
float increment)
resmaple curve into segments approximately increment in length |
static float[][] |
smooth_curve(float[][] curve,
int window)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COLD_FRONT
public static final int WARM_FRONT
public static final int OCCLUDED_FRONT
public static final int STATIONARY_FRONT
public static final int CONVERGENCE
public static final int FRONTOGENESIS
public static final int FRONTOLYSIS
public static final int UPPER_COLD_FRONT
public static final int UPPER_WARM_FRONT
public static final int TROUGH
public static final int RIDGE
public static final int MOISTURE
public static final int LOW_LEVEL_JET
public static final int UPPER_LEVEL_JET
public static final int DRY_LINE
public static final int TOTAL_TOTALS
public static final int LIFTED_INDEX
public static final int ISOTHERMS
public static final int THICKNESS_RIDGE
public static final int LOWER_THERMAL_TROUGH
public static final int UPPER_THERMAL_TROUGH
public static final int UNEVEN_LOW_LEVEL_JET
Constructor Detail |
---|
public FrontDrawer(FieldImpl fs, float[][][] cs, DisplayImplJ3D d, int fw, int front_kind, float[] fred, float[] fgreen, float[] fblue, float[] rred, float[] rgreen, float[] rblue) throws VisADException, RemoteException
VisADException
RemoteException
public FrontDrawer(FieldImpl fs, float[][][] cs, DisplayImplJ3D d, int fw, int front_kind) throws VisADException, RemoteException
VisADException
RemoteException
public FrontDrawer(FieldImpl fs, float[][][] cs, DisplayImplJ3D d, int fw, float segment, float[][][] fshapes, float[] fred, float[] fgreen, float[] fblue, float[][][] rshapes, float[] rred, float[] rgreen, float[] rblue) throws VisADException, RemoteException
VisADException
RemoteException
public FrontDrawer(FieldImpl fs, float[][][] cs, DisplayImplJ3D d, int fw, float fsegment, float rsegment, float[][][] fshapes, float[] fred, float[] fgreen, float[] fblue, float[][][] rshapes, float[] rred, float[] rgreen, float[] rblue) throws VisADException, RemoteException
VisADException
RemoteException
Method Detail |
---|
public void controlChanged(ControlEvent e)
ControlListener
controlChanged
in interface ControlListener
public DefaultRendererJ3D getFrontRenderer()
public static void initColormaps(DisplayImplJ3D display) throws VisADException, RemoteException
VisADException
RemoteException
public Gridded2DSet getCurve()
public void release()
public void endManipulation() throws VisADException, RemoteException
VisADException
RemoteException
public Vector endItAll() throws VisADException, RemoteException
VisADException
RemoteException
public static float[][] smooth_curve(float[][] curve, int window)
public static float[][] resample_curve(float[][] curve, float increment)
public static float curveLength(float[][] curve, float[] seg_length)
public static void main(String[] args) throws VisADException, RemoteException
VisADException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |