public class WindVectorSymbol extends WindBarbSymbol
| Modifier and Type | Class and Description |
|---|---|
static class |
WindVectorSymbol.VectorDrawer
Class VectorDrawer knows how to draw wind vectors
|
WindBarbSymbol.WindDrawerDEG_TO_RADATTR_PARAMID, canvas, propertiesDialogATTR_RECTTYPE, bounds, CIRCLE, FCIRCLE, FRECTANGLE, FROUNDRECT, RECTANGLE, ROUNDRECT, TYPE_CIRCLE, TYPE_RECT, TYPE_RRECTATTR_BGCOLOR, ATTR_CHILDREN, ATTR_CLASS, ATTR_COLOR, ATTR_FILL, ATTR_HEIGHT, ATTR_IMAGE, ATTR_LINEWIDTH, ATTR_PARENT, ATTR_PTS, ATTR_STRETCHY, ATTR_TEXT, ATTR_TYPE, ATTR_WIDTH, baseline, H_SEL_WIDTH, highlightColor, idToGlyph, MIN_DISTANCE_TO_STRETCH, PT_CENTER, PT_H_LEFT, PT_H_MIDDLE, PT_H_RIGHT, PT_LL, PT_LM, PT_LR, PT_ML, PT_MM, PT_MR, PT_P1, PT_P2, PT_PREFIX, PT_UL, PT_UM, PT_UR, PT_V_LOWER, PT_V_MIDDLE, PT_V_UPPER, RECTPOINTNAMES, RECTPOINTS, SEL_WIDTH, TAG_GLYPH, underline, url| Constructor and Description |
|---|
WindVectorSymbol()
Create a WindVectorSymbol
|
WindVectorSymbol(DisplayCanvas canvas,
int x,
int y)
Create a wind vector symbol
|
WindVectorSymbol(DisplayCanvas canvas,
int x,
int y,
java.lang.String uOrSpeedParam,
java.lang.String uOrSpeedDescr,
java.lang.String vOrDirParam,
java.lang.String vOrDirDescr)
Construct a WindVectorSymbol to use on the canvas specified at the
position specified.
|
WindVectorSymbol(int x,
int y,
java.lang.String uOrSpeedParam,
java.lang.String uOrSpeedDescr,
java.lang.String vOrDirParam,
java.lang.String vOrDirDescr)
Construct a WindVectorSymbol to use on the canvas specified at the
position specified.
|
| Modifier and Type | Method and Description |
|---|---|
protected WindBarbSymbol.WindDrawer |
makeDrawer()
Make the drawer for this symbol
|
visad.VisADGeometryArray[] |
makeVector(float[][] flow_values,
float flowScale,
float[][] spatial_values,
byte[][] color_values,
boolean[][] range_select)
make the vector.
|
doAlignmentMenu, draw, getDirectionName, getEqualSides, getParamValue, getSpeedName, getStretchy, getSymetricReshape, getWindDirection, getWindSpeed, rotateOnEarth, setParamValue, setWindDirection, setWindSpeed, shouldOffsetShape, shouldScaleShapeaddPropertyTabs, applyProperties, clone, cloneMe, closePropertiesDialog, decrSize, doAllObs, draw, getActive, getBounds, getColorMappings, getColorParam, getColorTable, getColorTableParam, getColorTableRange, getColorTableUnit, getColorTableUnitName, getDesc, getDisplayUnit, getDisplayUnitName, getLabel, getMissing, getName, getParam, getParamDescs, getParamIds, getRectPoint, getRotateInfo, getRotateXInfo, getRotateYInfo, getRotateZInfo, getScale, getScaleDataRange, getScaleParam, getScaleRange, getScaleUnit, getScaleUnitName, getXOffset, getYOffset, incrSize, initialize, initPropertyComponents, makeShapes, makeShapes, paint, paintSelection, setActive, setAttr, setColorMappings, setColorParam, setColorTable, setColorTableParam, setColorTableRange, setColorTableUnitName, setDisplayUnitName, setMissing, setOffset, setParamDescs, setParamIds, setRectPoint, setRotateDataRange, setRotateParam, setRotateRange, setRotateUnitName, setRotateXInfo, setRotateYInfo, setRotateZInfo, setScale, setScaleDataRange, setScaleParam, setScaleRange, setScaleUnitName, setTheDisplayUnit, shouldBeColored, shouldShowColorTableGui, shouldShowRotateGui, shouldShowScaleGui, showDisplayUnitInProperties, showPropertiesDialog, toStringdistance, getBottom, getBounds, getLeft, getPoint, getPositionAttr, getStretchPoint, getTop, moveBy, moveTo, setPoints, setSize, setType, stretchToboundsChanged, canStretch, distance, doRemove, flipY, getAttrs, getBackground, getBackground, getBeingCreated, getCreateCommand, getCursor, getFilled, getForeground, getId, getLineWidth, getMoveCommand, getPersistent, getPointOnRect, getPointOnRect, getRectPointName, getRepaintBounds, getStretchPoint, getXml, initDone, makeAttr, notifyChange, paintHighlight, paintSelectionPoints, pickable, processAttrs, setBackground, setBeingCreated, setFilled, setForeground, setId, setLineWidth, setParent, setStretchy, stretchTo, stretchTo, toRect, transformOutput, transformOutput, transformOutputX, transformOutputYpublic WindVectorSymbol()
public WindVectorSymbol(DisplayCanvas canvas, int x, int y)
canvas - the canvasx - the x positiony - the y positionpublic WindVectorSymbol(int x,
int y,
java.lang.String uOrSpeedParam,
java.lang.String uOrSpeedDescr,
java.lang.String vOrDirParam,
java.lang.String vOrDirDescr)
x - x position on the canvasy - y position on the canvasuOrSpeedParam - u or speed component of wind parameter nameuOrSpeedDescr - u or speed component of wind parameter descriptionvOrDirParam - v or direction component of wind parameter namevOrDirDescr - v or direction component of wind parameter descrpublic WindVectorSymbol(DisplayCanvas canvas, int x, int y, java.lang.String uOrSpeedParam, java.lang.String uOrSpeedDescr, java.lang.String vOrDirParam, java.lang.String vOrDirDescr)
canvas - canvas to draw on.x - x position on the canvasy - y position on the canvasuOrSpeedParam - u or speed component of wind parameter nameuOrSpeedDescr - u or speed component of wind parameter descriptionvOrDirParam - v or direction component of wind parameter namevOrDirDescr - v or direction component of wind parameter descrprotected WindBarbSymbol.WindDrawer makeDrawer()
makeDrawer in class WindBarbSymbolpublic visad.VisADGeometryArray[] makeVector(float[][] flow_values,
float flowScale,
float[][] spatial_values,
byte[][] color_values,
boolean[][] range_select)
throws visad.VisADException
flow_values - the flow values (u,v)flowScale - the scalespatial_values - the spatial locations (x,y)color_values - color (not handled here)range_select - missing flagsvisad.VisADException - problem drawing the vector