ucar.unidata.view.sounding
Class StuveDisplay

java.lang.Object
  extended by ucar.visad.display.DisplayMaster
      extended by ucar.unidata.view.sounding.AerologicalDisplay
          extended by ucar.unidata.view.sounding.StuveDisplay
All Implemented Interfaces:
AerologicalDisplayConstants

public class StuveDisplay
extends AerologicalDisplay

Provides support for a 2-D VisAD display for a T, -p (Stuve) diagram where p is -p**k (k = R/CP).

Version:
$Id: StuveDisplay.java,v 1.6 2005/05/13 18:33:39 jeffmc Exp $
Author:
Unidata Development Team

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.unidata.view.sounding.AerologicalDisplay
AerologicalDisplay.DisplayablePseudoAdiabaticTrajectory, AerologicalDisplay.LeftPressureAxisLabels, AerologicalDisplay.LowerTemperatureAxisLabels, AerologicalDisplay.MyWetTemperatureCalculator, AerologicalDisplay.MyWetTemperatureCalculatorFactory, AerologicalDisplay.MyWindStaff, AerologicalDisplay.PressureAxisLabels, AerologicalDisplay.RightPressureAxisLabels, AerologicalDisplay.TemperatureAxisLabels, AerologicalDisplay.UpperTemperatureAxisLabels
 
Field Summary
 
Fields inherited from class ucar.unidata.view.sounding.AerologicalDisplay
ACTIVE_SOUNDING, ACTIVE_WIND_PROFILE, CAPE, CURSOR_PRESSURE, CURSOR_TEMPERATURE, POINTER_PRESSURE, POINTER_TEMPERATURE, PROFILE_DEW_POINT, PROFILE_TEMPERATURE, PROFILE_WIND_DIRECTION, PROFILE_WIND_SPEED
 
Fields inherited from class ucar.visad.display.DisplayMaster
behavior, defaultMouseFunctions, log_, POINT_MODE
 
Fields inherited from interface ucar.unidata.view.sounding.AerologicalDisplayConstants
EMAGRAM_DISPLAY, SKEWT_DISPLAY, STUVE_DISPLAY
 
Constructor Summary
StuveDisplay()
          Constructs the default instance.
StuveDisplay(StuveCoordinateSystem coordinateSystem)
          Constructs from a Stuve coordinate-system transformation.
 
Method Summary
static void main(String[] args)
          Tests this class.
 
Methods inherited from class ucar.unidata.view.sounding.AerologicalDisplay
addProfile, addProfile, addProfile, clearProfiles, clearPseudoAdiabaticTrajectory, coordinateSystemChange, getActiveSounding, getBarbOrientation, getBarbScale, getCoordinateSystem, getCursorPressure, getCursorTemperature, getDryAdiabatVisibility, getInstance, getInstance, getInstance, getMaximumPressure, getMaximumTemperature, getMinimumPressure, getMinimumTemperature, getPointerPressure, getPointerTemperature, getProfileDewPoint, getProfileTemperature, getProfileWindDirection, getProfileWindSpeed, getSaturationAdiabatVisibility, getSaturationMixingRatioVisibility, getWindStaffVisibility, initializeClass, isPseudoAdiabaticTrajectoryEnabled, isPseudoAdiabaticTrajectoryVisible, profileCount, removeProfile, removeProfiles, setActiveSounding, setBackgroundLineColor, setBarbOrientation, setBarbScale, setConstrainProfiles, setCoordinateSystem, setCoordinateSystem, setCursorPressure, setCursorTemperature, setDisplayScalarMaps, setDryAdiabatVisibility, setForeground, setLabelColor, setOriginalProfiles, setPointerPressure, setPointerTemperature, setProfileVisible, setPseudoAdiabaticTrajectoryEnabled, setPseudoAdiabaticTrajectoryVisible, setSaturationAdiabatVisibility, setSaturationMixingRatioVisibility, setWindColor, setWindLevels, setWindStaffVisibility
 
Methods inherited from class ucar.visad.display.DisplayMaster
addDisplayable, addDisplayListener, addKeyboardBehavior, addPropertyChangeListener, addPropertyChangeListener, addScalarMap, addScalarMaps, addVetoableChangeListener, addVetoableChangeListener, buildAnimationSet, dataChange, destroy, draw, ensureInactive, equals, finalize, firePropertyChange, firePropertyChange, getAnimationSetFromDisplayables, getAnimationStringVisible, getBackground, getComponent, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getForeground, getImage, getMouseBehavior, getOffscreenDimension, getProjectionMatrix, getSavedProjectionMatrix, getScreenBounds, getStereoAvailable, getWaitMessageVisible, handleMouseWheelMoved, hashCode, indexOf, init, is3D, isActive, isPointMode, printMatrix, printMe, rebuild, rebuildDisplay, reDisplayAll, removeDisplayable, removeDisplayables, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, removeScalarMaps, removeVetoableChangeListener, removeVetoableChangeListener, replaceScalarMap, reScale, resetMouseFunctions, resetProjection, rotate, rotateX, rotateY, rotateZ, saveCurrentDisplay, saveCurrentDisplay, saveCurrentDisplay, saveProjection, setActive, setAnimation, setAnimationStringVisible, setBackground, setDefaultMouseFunctions, setDisplayables, setDisplayables, setDisplayActive, setDisplayAspect, setDisplayInactive, setEyePosition, setKeyboardBehavior, setKeyboardEventMap, setKeyboardEventMap, setMouseFunctions, setOffscreenDimension, setPointMode, setProjectionMatrix, setRebuildNecessary, setWaitMessageVisible, setWheelEventMap, translate, zoom, zoom
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StuveDisplay

public StuveDisplay()
             throws VisADException,
                    RemoteException
Constructs the default instance. The default instance is based on the default Stuve coordinate-system transformation and the unit square in (Display.XAxis,Display.YAxis) space.

Throws:
VisADException - Couldn't create necessary VisAD object.
RemoteException - if a Java RMI failure occurs.
See Also:
StuveCoordinateSystem

StuveDisplay

public StuveDisplay(StuveCoordinateSystem coordinateSystem)
             throws UnitException,
                    VisADException,
                    RemoteException
Constructs from a Stuve coordinate-system transformation.

Parameters:
coordinateSystem - The coordinate-system transformation for the Stuve chart.
Throws:
UnitException - Incompatible units.
VisADException - Couldn't create necessary VisAD object.
RemoteException - if a Java RMI failure occurs.
Method Detail

main

public static void main(String[] args)
                 throws Exception
Tests this class.

Parameters:
args - The test arguments.
Throws:
Exception - Something went wrong.