Package ucar.visad


package ucar.visad

Provides support for hiding some of the complexity of the VisAD package.

For the MetApps project, the most relevant top-level classes are probably DisplayMaster and Displayable. Here's a simple schematic of how they might be used (bold text is more important):

    import javax.swing.*;
    import ucar.visad.*;
    import visad.*;

    public class MyDisplay
        extends DisplayMaster
    {
        public MyDisplay()
        {
            super(new DisplayImplJ2D("MyDisplay"));
            ...
            addScalarMap(new ScalarMap(commonScalarType1, commonDisplayType1));
            ...
        }

        public static void main(String[] args)
        {
            MyDisplay myDisplay = new MyDisplay();
            myDisplay.addDisplayable(new MyDisplayable(...));
            myDisplay.addDisplayable(new MyDisplayable(...));
            ...
            JFrame    jframe = new JFrame("My Display");
            jframe.getContentPane().add(myDisplay.getComponent());
            myDisplay.draw();
            jframe.pack();
            jframe.setVisible(true);
        }
    }

    public class MyDisplayable
        extends Displayable
    { ... }
The above example creates a DisplayMaster from a VisAD LocalDisplay, adds the ScalarMaps that are common to the Displayable that it will display (typically spatial ScalarMap-s), adds some Displayables of subclass MyDisplayable, and then renders the Displayables. This illustrates the fundamental relationship between DisplayMaster and Displayable: a DisplayMaster manages the display of one or more Displayables.

  • Class
    Description
    Provides support for scientific constants.
    Earth-centric utilities
    A container for all the supported Map types.
    Projection wrapper for a VisAD MapProjection with reference of Lat,Lon or Lon,Lat
    Plot a Plottable object to file.
    Interface for classes which create charts capable of being plotted via a third party rendering library to a vector based graphics format
    Adapts a ucar.unidata.Projection into a VisAD MapProjection CoordinateSystem.
    Provides support for quantities (ex: temperature, wind).
    Class to transform lon/lat/elevation angle to lon/lat/altitude
    A map projection uses a McIDAS navigation.
    A CoordinateSystem to transform between a Tuple and a reference in reverse order (eg:, (Latitude, Longitude) invalid input: '<'-> (Longitude, Latitude)
    Provides support for single-component quantities.
    Provides support for a run-length encoded data segment.
    Provides support for a run-length encoded set of valid data segments.
    Provides support for ShapeFiles in VisAD.
    ShapefileForm is the shapefile data format adapter for ESRI shapefile maps.
    A utility class for manipulating VisAD Shapes (VisADGeometryArrays).
    Tests the VisADMath.curveIntegralOfGradient(visad.SampledSet, double[][][], double[][]) method.
    Test skeleton for local and remote displays.
    Provides support for tuple quantities.
    I have no idea what this is for -- SRE
    A set of utility functions for UTC DateTimes
    Provides support for utility functions.
    Transforms between UTM coordinates and lat/lon in degrees.
    Utility class: provides support for mathematical operations on VisAD data objects.
    Provides support for indexing sample points.
    A class for supporting XML delegates for VisAD objects.
    Class WindBarb to create wind barbs as shapes
    Custom barb renderer
    Class WxSymbolGroup holds information about the different symbol groups and symbols available from the visad.
    VisAD Adapter for Zebra ASCII map files
    ZebraMapForm is the shapefile data format adapter for ESRI shapefile maps.