ucar.unidata.view.sounding
Class SkewTDisplay

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

public class SkewTDisplay
extends AerologicalDisplay

Provides support for a 2-D VisAD display for a Skew T, Log P Diagram (alias "Skew-T Chart").

Version:
$Id: SkewTDisplay.java,v 1.28 2005/05/13 18:33:37 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, HODOGRAPH_DISPLAY, SKEWT_DISPLAY, STUVE_DISPLAY
 
Constructor Summary
SkewTDisplay()
          Constructs the default instance.
SkewTDisplay(SkewTCoordinateSystem coordinateSystem)
          Constructs from a Skew-T coordinate-system transformation.
 
Method Summary
static DisplayRealType getDisplayPressureType()
          Returns the type of the display pressure.
static DisplayRealType getDisplayTemperatureType()
          Returns the type of the display temperature.
 Real getMaximumPressure()
          Returns the maximum, displayed, pressure.
 Real getMaximumTemperature()
          Returns the maximum, displayed, temperature.
protected  Real getMaximumX()
          Returns the maximum, displayed, X-value
protected  Real getMaximumY()
          Returns the maximum, displayed, Y-value
 Real getMinimumPressure()
          Returns the minimum, displayed, pressure.
 Real getMinimumTemperature()
          Returns the minimum, displayed, temperature.
protected  Real getMinimumX()
          Returns the minimum, displayed, X-value
protected  Real getMinimumY()
          Returns the minimum, displayed, Y-value
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, getIsoBarsVisibility, 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, setIsobarsVisibility, setLabelColor, setOriginalProfiles, setPointerPressure, setPointerTemperature, setProfilesVisibility, 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, getDestroyed, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getDisplayScale, getForeground, getImage, getMouseBehavior, getMouseFunctionMap, getOffscreenDimension, getProjectionMatrix, getRotation, getSavedProjectionMatrix, getScale, 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

SkewTDisplay

public SkewTDisplay()
             throws VisADException,
                    RemoteException
Constructs the default instance. The default instance is based on the default Skew-T 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:
SkewTCoordinateSystem

SkewTDisplay

public SkewTDisplay(SkewTCoordinateSystem coordinateSystem)
             throws UnitException,
                    VisADException,
                    RemoteException
Constructs from a Skew-T coordinate-system transformation.

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

getDisplayPressureType

public static DisplayRealType getDisplayPressureType()
                                              throws VisADException
Returns the type of the display pressure.

Returns:
The type of the display pressure.
Throws:
VisADException - VisAD failure.

getDisplayTemperatureType

public static DisplayRealType getDisplayTemperatureType()
                                                 throws VisADException
Returns the type of the display temperature.

Returns:
The type of the display temperature.
Throws:
VisADException - VisAD failure.

main

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

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

getMinimumX

protected Real getMinimumX()
Returns the minimum, displayed, X-value

Returns:
The minimum, displayed, X-value

getMaximumX

protected Real getMaximumX()
Returns the maximum, displayed, X-value

Returns:
The maximum, displayed, X-value

getMinimumY

protected Real getMinimumY()
Returns the minimum, displayed, Y-value

Returns:
The minimum, displayed, Y-value

getMaximumY

protected Real getMaximumY()
Returns the maximum, displayed, Y-value

Returns:
The maximum, displayed, Y-value

getMinimumPressure

public Real getMinimumPressure()
Returns the minimum, displayed, pressure.

Overrides:
getMinimumPressure in class AerologicalDisplay
Returns:
The minimum, displayed, pressure.

getMaximumPressure

public Real getMaximumPressure()
Returns the maximum, displayed, pressure.

Overrides:
getMaximumPressure in class AerologicalDisplay
Returns:
The maximum, displayed, pressure.

getMinimumTemperature

public Real getMinimumTemperature()
Returns the minimum, displayed, temperature.

Overrides:
getMinimumTemperature in class AerologicalDisplay
Returns:
The minimum, displayed, temperature.

getMaximumTemperature

public Real getMaximumTemperature()
Returns the maximum, displayed, temperature.

Overrides:
getMaximumTemperature in class AerologicalDisplay
Returns:
The maximum, displayed, temperature.