Package ucar.visad

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

See:
          Description

Interface Summary
Plotter.Plottable Interface for classes which create charts capable of being plotted via a third party rendering library to a vector based graphics format
 

Class Summary
Constants Provides support for scientific constants.
GeoUtils Earth-centric utilities
MapFamily A container for all the supported Map types.
MapProjectionProjection Projection wrapper for a VisAD MapProjection with reference of Lat,Lon or Lon,Lat
Plotter Plot a Plottable object to file.
ProjectionCoordinateSystem Adapts a ucar.unidata.Projection into a VisAD MapProjection CoordinateSystem.
Quantity Provides support for quantities (ex: temperature, wind).
RadarGridCoordinateSystem Class to transform lon/lat/elevation angle to lon/lat/altitude
RadarMapProjection A map projection uses a McIDAS navigation.
ReverseCoordinateSystem A CoordinateSystem to transform between a Tuple and a reference in reverse order (eg:, (Latitude, Longitude) <-> (Longitude, Latitude)
ScalarQuantity Provides support for single-component quantities.
Segment Provides support for a run-length encoded data segment.
SegmentSet Provides support for a run-length encoded set of valid data segments.
ShapefileAdapter Provides support for ShapeFiles in VisAD.
ShapefileForm ShapefileForm is the shapefile data format adapter for ESRI shapefile maps.
ShapeUtility A utility class for manipulating VisAD Shapes (VisADGeometryArrays).
TestCurveIntegral Tests the VisADMath.curveIntegralOfGradient(visad.SampledSet, double[][][], double[][]) method.
TestSkeleton Test skeleton for local and remote displays.
TupleQuantity Provides support for tuple quantities.
UISkeleton I have no idea what this is for -- SRE
UtcDate A set of utility functions for UTC DateTimes
Util Provides support for utility functions.
UTMCoordinateSystem Transforms between UTM coordinates and lat/lon in degrees.
VisADMath Utility class: provides support for mathematical operations on VisAD data objects.
VisADMath.Index Provides support for indexing sample points.
VisADPersistence A class for supporting XML delegates for VisAD objects.
WindBarb Class WindBarb to create wind barbs as shapes
WindBarbRenderer Custom barb renderer
WxSymbolGroup Class WxSymbolGroup holds information about the different symbol groups and symbols available from the visad.
ZebraAsciiMapAdapter VisAD Adapter for Zebra ASCII map files
ZebraMapForm ZebraMapForm is the shapefile data format adapter for ESRI shapefile maps.
 

Package ucar.visad Description

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.