public class FrontDrawer extends Object implements ControlListener
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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) |
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
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
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
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.