Package ucar.visad
Class WindBarbRenderer
java.lang.Object
visad.DataRenderer
visad.java3d.RendererJ3D
visad.java3d.DefaultRendererJ3D
visad.bom.BarbRendererJ3D
ucar.visad.WindBarbRenderer
- All Implemented Interfaces:
Cloneable
,BarbRenderer
Custom barb renderer
- Author:
- IDV Development Team
-
Field Summary
Fields inherited from class visad.java3d.RendererJ3D
renderOrderPriority
Fields inherited from class visad.DataRenderer
enabled, pickCrawlToCursor
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ctorWindBarbRenderer
(Unit speedUnit) Create a WindBarbRenderer with the specified speed unit for the values being displayed -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clone thisfloat[]
makeVector
(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) Make the barbMethods inherited from class visad.bom.BarbRendererJ3D
getKnotsConvert, main, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTupleType, setKnotsConvert
Methods inherited from class visad.java3d.DefaultRendererJ3D
addSwitch, clearScene, doTransform, getLink, setLinks
Methods inherited from class visad.java3d.RendererJ3D
clearBranch, doAction, flush, getBranch, getOrderedGroupIndex, getRenderOrderPriority, makeShadowTextType, setBranchEarly, toggle
Methods inherited from class visad.DataRenderer
addException, addPoint, checkAction, checkClose, checkDirect, clearAVControls, clearExceptions, computeRanges, constrainDragPoint, drag_direct, earthToSpatial, earthToSpatial, findRayManifoldIntersection, get_all_feasible, get_any_changed, get_any_transform_control, getBadScale, getDisplay, getDisplayCoordinateSystem, getDisplayRenderer, getEarthDimension, getEarthUnits, getEnabled, getExceptionVector, getIsDirectManipulation, getLastMouseModifiers, getLatLonIndices, getLatLonRange, getLinks, getPickCrawlToCursor, getPolygonOffset, getPolygonOffsetFactor, getProjectionControlListeners, getRanges, getRealVectorTypes, getWhyNotDirect, hasPolygonOffset, isLegalTextureMap, isTransformControl, prepareAction, realCheckDirect, release_direct, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setHasPolygonOffset, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, setPolygonOffset, setPolygonOffsetFactor, setSpatialValues, spatialToEarth, spatialToEarth, stop_direct, suppressExceptions
-
Constructor Details
-
WindBarbRenderer
public WindBarbRenderer()Default ctor -
WindBarbRenderer
Create a WindBarbRenderer with the specified speed unit for the values being displayed- Parameters:
speedUnit
- the units of the values
-
-
Method Details
-
makeVector
public float[] makeVector(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) Make the barb- Specified by:
makeVector
in interfaceBarbRenderer
- Overrides:
makeVector
in classBarbRendererJ3D
- Parameters:
south
- true if southern hemispherex
- x positiony
- y positionz
- z positionscale
- scale factorpt_size
- spacingf0
- u componentf1
- v componentvx
- line x pointsvy
- line y pointsvz
- line z pointsnumv
- num line pointstx
- triangle x pointsty
- triangle y pointstz
- triangle z pointsnumt
- triangles- Returns:
- stuff
-
clone
Clone this- Overrides:
clone
in classBarbRendererJ3D
- Returns:
- a new one
-