|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.FrontDrawer
public class FrontDrawer
FrontDrawer is the VisAD class for manipulation of fronts. Is was originally taken from the class visad.bom.FrontDrawer
| Fields inherited from class ucar.visad.display.DisplayableData |
|---|
LINE_WIDTH, MANIPULABLE, VISIBLE |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
FrontDrawer(FrontDrawer that)
_more_ |
|
FrontDrawer(int fw,
String frontType)
_more_ |
|
FrontDrawer(int fw,
String frontType,
boolean doColors)
_more_ |
|
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
_more_ |
static float |
curveLength(float[][] curve,
float[] seg_length)
assumes curve is float[2][len] and seg_length is float[len-1] |
boolean |
getFlipTheFlip()
Get the FlipTheFlip property. |
static String |
getLabel(String type)
_more_ |
void |
initLatLonMap()
_more_ |
FieldImpl |
makeFront(float[][] curve_samples)
_more_ |
static float[][] |
resample_curve(float[][] curve,
float increment)
resmaple curve into segments approximately increment in length |
FieldImpl |
robustCurveToFront(float[][] curve,
boolean flip)
_more_ |
void |
setColor(Color color)
Sets the color of the lines for this Displayable. |
void |
setCurve(float[][] curve,
List curveTimes)
_more_ |
protected void |
setDisplayMaster(DisplayMaster master)
_more_ |
void |
setFlipTheFlip(boolean value)
Set the FlipTheFlip property. |
void |
setFrontType(String type)
_more_ |
void |
setLineWidth(float lineWidth)
_more_ |
void |
setScale(double baseScale)
_more_ |
static float[][] |
smooth_curve(float[][] curve,
int window)
_more_ |
| Methods inherited from class ucar.visad.display.DisplayableData |
|---|
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_COLD_FRONT
public static final String TYPE_WARM_FRONT
public static final String TYPE_OCCLUDED_FRONT
public static final String TYPE_STATIONARY_FRONT
public static final String TYPE_CONVERGENCE
public static final String TYPE_FRONTOGENESIS
public static final String TYPE_FRONTOLYSIS
public static final String TYPE_UPPER_COLD_FRONT
public static final String TYPE_UPPER_WARM_FRONT
public static final String TYPE_TROUGH
public static final String TYPE_RIDGE
public static final String TYPE_MOISTURE
public static final String TYPE_LOW_LEVEL_JET
public static final String TYPE_UPPER_LEVEL_JET
public static final String TYPE_DRY_LINE
public static final String TYPE_TOTAL_TOTALS
public static final String TYPE_LIFTED_INDEX
public static final String TYPE_ISOTHERMS
public static final String TYPE_THICKNESS_RIDGE
public static final String TYPE_LOWER_THERMAL_TROUGH
public static final String TYPE_UPPER_THERMAL_TROUGH
public static final String TYPE_UNEVEN_LOW_LEVEL_JET
public static final String[] BASETYPES
public static final String[] TYPES
public static final String[] LABELS
public double baseScale
| Constructor Detail |
|---|
public FrontDrawer(int fw,
String frontType)
throws VisADException,
RemoteException
fw - _more_frontType - _more_
RemoteException - On badness
VisADException - On badness
public FrontDrawer(int fw,
String frontType,
boolean doColors)
throws VisADException,
RemoteException
fw - _more_frontType - _more_doColors - _more_
RemoteException - On badness
VisADException - On badness
public FrontDrawer(FrontDrawer that)
throws RemoteException,
VisADException
that - _more_
RemoteException - On badness
VisADException - On badness| Method Detail |
|---|
public void setColor(Color color)
throws VisADException,
RemoteException
setColor in class Displayablecolor - color for the line.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setLineWidth(float lineWidth)
throws VisADException,
RemoteException
setLineWidth in class DisplayableDatalineWidth - _more_
RemoteException - On badness
VisADException - On badness
public Displayable cloneForDisplay()
throws RemoteException,
VisADException
cloneForDisplay in class DisplayableDataRemoteException - On badness
VisADException - On badness
public void setScale(double baseScale)
throws VisADException,
RemoteException
baseScale - _more_
RemoteException - On badness
VisADException - On badnesspublic static String getLabel(String type)
type - _more_
public void setFrontType(String type)
throws VisADException,
RemoteException
type - _more_
RemoteException - On badness
VisADException - On badness
protected void setDisplayMaster(DisplayMaster master)
throws VisADException,
RemoteException
setDisplayMaster in class Displayablemaster - _more_
RemoteException - On badness
VisADException - On badness
public void setCurve(float[][] curve,
List curveTimes)
throws VisADException,
RemoteException
curve - _more_curveTimes - _more_
RemoteException - On badness
VisADException - On badness
public void initLatLonMap()
throws VisADException,
RemoteException
RemoteException - On badness
VisADException - On badness
public FieldImpl makeFront(float[][] curve_samples)
throws VisADException,
RemoteException
curve_samples - _more_
RemoteException - On badness
VisADException - On badness
public FieldImpl robustCurveToFront(float[][] curve,
boolean flip)
throws RemoteException
curve - _more_flip - _more_
RemoteException - On badness
public static float[][] smooth_curve(float[][] curve,
int window)
curve - _more_window - _more_
public static float[][] resample_curve(float[][] curve,
float increment)
curve - _more_increment - _more_
public static float curveLength(float[][] curve,
float[] seg_length)
curve - _more_seg_length - _more_
public void setFlipTheFlip(boolean value)
value - The new value for FlipTheFlippublic boolean getFlipTheFlip()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||