Package ucar.visad

Class WindBarbRenderer

All Implemented Interfaces:
Cloneable, BarbRenderer

public class WindBarbRenderer extends BarbRendererJ3D
Custom barb renderer
Author:
IDV Development Team
  • Constructor Details

    • WindBarbRenderer

      public WindBarbRenderer()
      Default ctor
    • WindBarbRenderer

      public WindBarbRenderer(Unit speedUnit)
      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 interface BarbRenderer
      Overrides:
      makeVector in class BarbRendererJ3D
      Parameters:
      south - true if southern hemisphere
      x - x position
      y - y position
      z - z position
      scale - scale factor
      pt_size - spacing
      f0 - u component
      f1 - v component
      vx - line x points
      vy - line y points
      vz - line z points
      numv - num line points
      tx - triangle x points
      ty - triangle y points
      tz - triangle z points
      numt - triangles
      Returns:
      stuff
    • clone

      public Object clone()
      Clone this
      Overrides:
      clone in class BarbRendererJ3D
      Returns:
      a new one