public abstract class NavigatedDisplay extends DisplayMaster
Any displayable data must be able to map to RealType.Latitude, RealType.Longitude and/or RealType.Altitude.
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
NavigatedDisplay.VerticalMapSet
A specialized ScalarMapSet for the set of Vertical maps 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
BOTTOM_VIEW
Bottom View 
 | 
static java.lang.String | 
BOTTOM_VIEW_NAME
Bottom View name 
 | 
static double | 
CLIP_BACK_DEFAULT
default back clip value 
 | 
static double | 
CLIP_BACK_PERSPECTIVE
default back clip perspective 
 | 
static double | 
CLIP_FRONT_DEFAULT
default front clip value 
 | 
static double | 
CLIP_FRONT_PERSPECTIVE
default front clip perspective 
 | 
static java.lang.String | 
CURSOR_ALTITUDE
The name of the altitude property. 
 | 
static java.lang.String | 
CURSOR_LATITUDE
The name of the latitude property. 
 | 
static java.lang.String | 
CURSOR_LONGITUDE
The name of the longitude property. 
 | 
static int | 
EAST_VIEW
East View 
 | 
static java.lang.String | 
EAST_VIEW_NAME
East View name 
 | 
static int | 
MODE_2D
Field for a 2D mode in Java2D 
 | 
static int | 
MODE_2Din3D
Field for a 2D mode in Java3D 
 | 
static int | 
MODE_3D
Field for a 3D mode 
 | 
static int | 
NORTH_VIEW
North View 
 | 
static java.lang.String | 
NORTH_VIEW_NAME
North View name 
 | 
static int | 
SOUTH_VIEW
South View 
 | 
static java.lang.String | 
SOUTH_VIEW_NAME
South View name 
 | 
static int | 
TOP_VIEW
Top View 
 | 
static java.lang.String | 
TOP_VIEW_NAME
Top View name 
 | 
static int | 
WEST_VIEW
West View 
 | 
static java.lang.String | 
WEST_VIEW_NAME
West View name 
 | 
behavior, defaultMouseFunctions, log_, POINT_MODE| Modifier | Constructor and Description | 
|---|---|
protected  | 
NavigatedDisplay()
Default Constructor 
 | 
protected  | 
NavigatedDisplay(visad.DisplayImpl display)
Construct a NavigatedDisplay with the specified VisAD display 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addVerticalMap(visad.RealType verticalType)
Method to add a new ScalarMap to the vertical coordinate (i.e.,
 getDisplayAltitudeType is mapped to).. 
 | 
void | 
animateMatrix(double[] to)
Animate the matrix 
 | 
void | 
animateMatrix(double[] to,
             long sleepTime)
Animate matrix 
 | 
void | 
animateMatrix(int myTimeStamp,
             double[] from,
             double[] to,
             visad.georef.EarthLocation finalLocation)
Animate the matrix changes. 
 | 
void | 
animateMatrix(int myTimeStamp,
             double[] from,
             double[] to,
             visad.georef.EarthLocation finalLocation,
             long sleepTime)
Animate the matrix 
 | 
void | 
applyRotation(javax.vecmath.Point3d p)
Apply the rotation 
 | 
void | 
center(double x,
      double y)
Center to x y 
 | 
void | 
center(double x,
      double y,
      boolean animated)
Center to x y 
 | 
void | 
center(visad.georef.EarthLocation el)
Move the center to the given earth location 
 | 
void | 
center(visad.georef.EarthLocation el,
      boolean animated)
Move the center to the given earth location 
 | 
void | 
centerAndZoom(visad.georef.EarthLocation el,
             boolean animated,
             double zoomFactor)
Move the center to the given earth location and zoom in 
 | 
void | 
centerAndZoom(visad.georef.EarthLocation el,
             visad.Real altitude,
             double zoomFactor,
             boolean animated,
             boolean northUp)
Move the center to the given earth location and zoom in 
 | 
protected void | 
cursorMoved()
Does nothing when the cursor changes. 
 | 
void | 
destroy()
Clean up 
 | 
void | 
enableClipping(boolean clip)
Enable clipping of data at the box edges. 
 | 
void | 
enableRubberBanding(boolean on)
Toggle the use of RubberBandBoxing. 
 | 
protected abstract visad.ScalarMap | 
getAltitudeMap()
Accessor method for the altitude ScalarMap (i.e.,
 (RealType.Altitude -> getDisplayAltitudeType). 
 | 
boolean | 
getAnimationStringOn()
Deprecated. 
 
use #getAnimationStringVisible() 
 | 
boolean | 
getAutoRotate()
Get the autorotation. 
 | 
java.lang.String | 
getBottomViewName()
Accessor method. 
 | 
boolean | 
getBoxVisible()
Get the box visibility. 
 | 
visad.georef.EarthLocation | 
getCenterPoint()
Get the center lat/lon/alt of the projection. 
 | 
double | 
getClipDistanceBack()
Get the ClipDistanceBack property. 
 | 
double | 
getClipDistanceFront()
Get the ClipDistanceFront property. 
 | 
visad.Real | 
getCursorAltitude()
Gets the cursor altitude property. 
 | 
visad.Real | 
getCursorLatitude()
Gets the cursor latitude property. 
 | 
visad.Real | 
getCursorLongitude()
Gets the cursor longitude property. 
 | 
abstract visad.DisplayRealType | 
getDisplayAltitudeType()
Accessor method for the DisplayAltitudeType (i.e., what
 RealType.Altitude is mapped to).. 
 | 
visad.CoordinateSystem | 
getDisplayCoordinateSystem()
Get the display coordinate system that turns lat/lon/alt to
 x/y/z 
 | 
abstract visad.DisplayRealType | 
getDisplayLatitudeType()
Accessor method for the DisplayLatitudeType (i.e., what
 RealType.Latitude is mapped to).. 
 | 
abstract visad.DisplayRealType | 
getDisplayLongitudeType()
Accessor method for the DisplayLongitudeType (i.e., what
 RealType.Longitude is mapped to).. 
 | 
int | 
getDisplayMode()
See if this is a 2D or 3D display. 
 | 
visad.georef.EarthLocation | 
getEarthLocation(double[] xyz)
Get the EarthLocation of a point in XYZ space 
 | 
visad.georef.EarthLocation | 
getEarthLocation(double x,
                double y,
                double z)
Get the EarthLocation of a point in XYZ space 
 | 
abstract visad.georef.EarthLocation | 
getEarthLocation(double x,
                double y,
                double z,
                boolean setZToZeroIfOverhead)
Get the EarthLocation of a point in XYZ space 
 | 
visad.georef.EarthLocation | 
getEarthLocation(visad.RealTuple xyz)
Get the EarthLocation of a point in XYZ space 
 | 
java.lang.String | 
getEastViewName()
Accessor method. 
 | 
boolean | 
getIsAnimating()
See if this display is animating. 
 | 
java.awt.geom.Rectangle2D.Double | 
getLatLonBox()
Get the latlon box of the displayed area 
 | 
java.awt.geom.Rectangle2D.Double | 
getLatLonBox(boolean padSamples,
            boolean normalizeLon)
Get the latlon box of the displayed area 
 | 
ucar.unidata.geoloc.LatLonRect | 
getLatLonRect()
Get the latlon box of the displayed area 
 | 
NavigatedDisplayToolBar | 
getNavigationToolBar()
Return a toolbar that can be used to move around in the display
 (zoom, pan, reset). 
 | 
NavigatedDisplayToolBar | 
getNavigationToolBar(int orientation,
                    boolean floatable)
Get the navigation toolbar for this NavigatedDisplay 
 | 
java.lang.String | 
getNorthViewName()
Accessor method. 
 | 
visad.VisADRay | 
getRay(int screenX,
      int screenY)
Convert the screen coordinates to the ray 
 | 
double[] | 
getRayDirection(int screenX,
               int screenY)
Convert the screen coordinates to the direction 
 | 
double[] | 
getRayPositionAtZ(visad.VisADRay ray,
                 double zValue)
Get the position of the ray at a particular Z value. 
 | 
double[] | 
getRotation()
Get the rotation matrix 
 | 
RubberBandBox | 
getRubberBandBox()
Retrieve the RubberBandBox being used in this component. 
 | 
protected float | 
getScaledValue(visad.ScalarMap map,
              float value)
Return the real altitude from a ZAxis (or displayAltitudeType) value 
 | 
boolean | 
getScalesVisible()
Get the box visibility. 
 | 
double[] | 
getScreenCenter()
Get the x/y position of the center of the screen 
 | 
double[] | 
getScreenCenterBottom()
_more_ 
 | 
double[] | 
getScreenCenterLeft()
_more_ 
 | 
double[] | 
getScreenCenterRight()
_more_ 
 | 
double[] | 
getScreenCenterTop()
_more_ 
 | 
java.util.List<TwoFacedObject> | 
getScreenCoordinates()
Get the screen coordinates 
 | 
int[] | 
getScreenCoordinates(double[] position)
Get the screen coordinates for the xyz location 
 | 
double[] | 
getScreenLowerLeft()
Get the x/y position of the right/center of the screen 
 | 
double[] | 
getScreenLowerRight()
Get the x/y position of the right/center of the screen 
 | 
java.util.List<TwoFacedObject> | 
getScreenSidesCoordinates()
_more_ 
 | 
double[] | 
getScreenUpperLeft()
Get the x/y position of the left/center of the screen 
 | 
double[] | 
getScreenUpperRight()
Get the x/y position of the right/center of the screen 
 | 
java.lang.String | 
getSouthViewName()
Accessor method. 
 | 
abstract visad.RealTuple | 
getSpatialCoordinates(visad.georef.EarthLocation el)
Returns the spatial (XYZ) coordinates of the particular EarthLocation 
 | 
double[] | 
getSpatialCoordinates(visad.georef.EarthLocation el,
                     double[] xyz)
Returns the spatial (XYZ) coordinates of the particular EarthLocation 
 | 
abstract double[] | 
getSpatialCoordinates(visad.georef.EarthLocation el,
                     double[] xyz,
                     double altitude)
Returns the spatial (XYZ) coordinates of the particular EarthLocation 
 | 
double[] | 
getSpatialCoordinatesFromScreen(int screenX,
                               int screenY)
Convert the screen coordinates to visad coordinates at the given
 depth. 
 | 
double[] | 
getSpatialCoordinatesFromScreen(int screenX,
                               int screenY,
                               double zDepth)
Convert the screen coordinates to visad coordinates. 
 | 
java.lang.String | 
getTopViewName()
Accessor method. 
 | 
double[] | 
getVerticalRange()
Get the range of the vertical coordinate (Altitude) 
 | 
visad.Unit | 
getVerticalRangeUnit()
Get the Unit of the vertical range 
 | 
boolean | 
getVerticalRangeVisible()
Gets the vertical range visible. 
 | 
javax.media.j3d.View | 
getView()
Get the View 
 | 
java.awt.geom.Rectangle2D.Double | 
getVisadBox()
Get the visad box of the displayed area 
 | 
java.lang.String | 
getWestViewName()
Accessor method. 
 | 
protected void | 
init(visad.DisplayImpl display)
Construct a NavigatedDisplay with the specified VisAD display 
 | 
protected void | 
initializeClass()
Set up the display. 
 | 
boolean | 
isClippingEnabled()
Check to see if clipping is enabled.. 
 | 
boolean | 
isPerspectiveView()
Get the view to perspective or parallel.. 
 | 
void | 
moveToScreen(double x,
            double y,
            int sx,
            int sy)
Move the x/y point to the x/y point of the the given screen coords 
 | 
void | 
moveToScreen(double x,
            double y,
            int sx,
            int sy,
            boolean animated)
Move the x/y point to the x/y point of the the given screen coords 
 | 
void | 
moveToScreen(double x,
            double y,
            int sx,
            int sy,
            int times)
Deprecated. 
 
dropped the times parameter. 
 | 
protected void | 
pointerMoved(int x,
            int y)
Does nothing when the pointer moves. 
 | 
void | 
removeVerticalMap(visad.RealType verticalType)
Method to remove a new ScalarMap to the vertical coordinate (i.e.,
 getDisplayAltitudeType is mapped to).. 
 | 
void | 
resetScaleTranslate()
Reset the scale and translation 
 | 
void | 
rotateFaster()
Rotate faster 
 | 
void | 
rotateSlower()
rotate slower 
 | 
void | 
rotateView(double[] matrix,
          double azimuth,
          double decAngle)
Change point of view of a 3D display from the matrix supplied,
 using input angles (unit = degree): For example, a view from the
 southwest has azimuth of 225 and decAngle say 20 to 70 or so. 
 | 
void | 
rotateView(double azimuth,
          double decAngle)
Change point of view of a 3D VisAD display, using input angles
 (unit = degree): For example, a view from the
 southwest has azimuth of 225 and decAngle say 20 to 70 or so. 
 | 
visad.georef.EarthLocation | 
screenToEarthLocation(int x,
                     int y)
Translate from screen to earth coordinates 
 | 
void | 
setAnimationStringOn(boolean visible)
Deprecated. 
 
use #setAnimationStringVisible(boolean) 
 | 
void | 
setAutoRotate(boolean rotate)
Set the autorotation. 
 | 
void | 
setBoxVisible(boolean on)
Set the visibility of a surrounding box. 
 | 
void | 
setClipDistanceBack(double value)
Set the ClipDistanceBack property. 
 | 
void | 
setClipDistanceFront(double value)
Set the ClipDistanceFront property. 
 | 
protected void | 
setCursorAltitude(visad.Real altitude)
Sets the cursor altitude property. 
 | 
protected void | 
setCursorLatitude(visad.Real latitude)
Sets the cursor latitude property. 
 | 
protected void | 
setCursorLongitude(visad.Real longitude)
Sets the cursor longitude property. 
 | 
void | 
setCursorStringOn(boolean on)
Toggle the cursor display readout on/off. 
 | 
void | 
setForeground(java.awt.Color color)
Local implementation to set rubber band box color also 
 | 
void | 
setMapArea(ucar.unidata.geoloc.ProjectionRect mapArea)
Set the map area to be displayed in the box. 
 | 
abstract void | 
setMapProjection(visad.georef.MapProjection mapProjection)
Define the map projection using a MapProjection type CoordinateSystem. 
 | 
void | 
setMapProjection(ucar.unidata.geoloc.ProjectionImpl projection)
Define the map projection using a Projection interface 
 | 
void | 
setPerspectiveView(boolean perspective)
Set the view to perspective or parallel if this is a 3D display.. 
 | 
void | 
setPolygonOffset(int offset)
Set the GraphicsModeControl.polygonOffsetFactor 
 | 
void | 
setPolygonOffsetFactor(int offset)
Set the GraphicsModeControl.polygonOffsetFactor 
 | 
void | 
setRotateDelay(long millis)
Set the rotation delay 
 | 
void | 
setRotationMultiplierMatrix(double rotx,
                           double roty,
                           double rotz)
Set the rotation multiplier matrix 
 | 
void | 
setRubberBandBox(RubberBandBox box)
Set the RubberBandBox being used in this component. 
 | 
void | 
setScalesVisible(boolean on)
Set the visibility of the axis scales. 
 | 
protected void | 
setVerticalMapUnit(visad.ScalarMap vertMap,
                  visad.Unit u)
Set the vertical map unit 
 | 
void | 
setVerticalRange(double min,
                double max)
Set the range of the vertical coordinate 
 | 
void | 
setVerticalRangeUnit(visad.Unit newUnit)
Set the Unit of the vertical range 
 | 
void | 
setVerticalRangeVisible(boolean visible)
Sets the vertical range visible. 
 | 
abstract void | 
setView(int view)
Set the view for 3D. 
 | 
void | 
setView(java.lang.String view)
Set the view from the name of a view 
 | 
protected void | 
updateLocation(visad.georef.EarthLocation el)
Update lat/lon/alt properties with the EarthLocation. 
 | 
addDisplayable, addDisplayListener, addKeyboardBehavior, addPropertyChangeListener, addPropertyChangeListener, addScalarMap, addScalarMaps, addVetoableChangeListener, addVetoableChangeListener, buildAnimationSet, dataChange, draw, ensureInactive, equals, finalize, firePropertyChange, firePropertyChange, getAnimationSetFromDisplayables, getAnimationStringVisible, getBackground, getComponent, getDestroyed, getDisplay, getDisplayableCount, getDisplayables, getDisplayables, getDisplayAspect, getDisplayComponent, getDisplayScale, getForeground, getImage, getMouseBehavior, getMouseFunctionMap, getOffscreenDimension, getProjectionMatrix, 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, zoompublic static final int BOTTOM_VIEW
public static java.lang.String BOTTOM_VIEW_NAME
public static double CLIP_BACK_DEFAULT
public static double CLIP_BACK_PERSPECTIVE
public static double CLIP_FRONT_DEFAULT
public static double CLIP_FRONT_PERSPECTIVE
public static final java.lang.String CURSOR_ALTITUDE
public static final java.lang.String CURSOR_LATITUDE
public static final java.lang.String CURSOR_LONGITUDE
public static final int EAST_VIEW
public static java.lang.String EAST_VIEW_NAME
public static final int MODE_2D
public static final int MODE_2Din3D
public static final int MODE_3D
public static final int NORTH_VIEW
public static java.lang.String NORTH_VIEW_NAME
public static final int SOUTH_VIEW
public static java.lang.String SOUTH_VIEW_NAME
public static final int TOP_VIEW
public static java.lang.String TOP_VIEW_NAME
public static final int WEST_VIEW
public static java.lang.String WEST_VIEW_NAME
protected NavigatedDisplay()
protected NavigatedDisplay(visad.DisplayImpl display)
                    throws visad.VisADException,
                           java.rmi.RemoteException
display - VisAD display for this NavigatedDisplayvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorprotected void init(visad.DisplayImpl display)
             throws visad.VisADException,
                    java.rmi.RemoteException
display - VisAD display for this NavigatedDisplayvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorprotected void initializeClass()
                        throws visad.VisADException,
                               java.rmi.RemoteException
java.rmi.RemoteException - Java RMI problemvisad.VisADException - Unable to create the displaypublic void setPolygonOffsetFactor(int offset)
                            throws visad.VisADException,
                                   java.rmi.RemoteException
offset - offset valuejava.rmi.RemoteException - on badnessvisad.VisADException - on badnesspublic void setPolygonOffset(int offset)
                      throws visad.VisADException,
                             java.rmi.RemoteException
offset - offset valuejava.rmi.RemoteException - on badnessvisad.VisADException - on badnesspublic void setRotationMultiplierMatrix(double rotx,
                                        double roty,
                                        double rotz)
rotx - x rotationroty - y rotationrotz - z rotationpublic java.lang.String getTopViewName()
public java.lang.String getBottomViewName()
public java.lang.String getNorthViewName()
public java.lang.String getEastViewName()
public java.lang.String getSouthViewName()
public java.lang.String getWestViewName()
public double[] getSpatialCoordinatesFromScreen(int screenX,
                                                int screenY)
screenX - Screen x coordinatescreenY - Screen y coordinatepublic double[] getSpatialCoordinatesFromScreen(int screenX,
                                                int screenY,
                                                double zDepth)
screenX - Screen x coordinatescreenY - Screen y coordinatezDepth - depth in the zboxpublic double[] getRayDirection(int screenX,
                                int screenY)
screenX - Screen x coordinatescreenY - Screen y coordinatepublic visad.VisADRay getRay(int screenX,
                             int screenY)
screenX - Screen x coordinatescreenY - Screen y coordinatepublic int[] getScreenCoordinates(double[] position)
position - xyz locationpublic int getDisplayMode()
public void setCursorStringOn(boolean on)
on - true will display cursor position on the VisAD display
             (might be useful for debugging).NavigatedDisplayCursorReadoutpublic void setAnimationStringOn(boolean visible)
visible - true to make it visiblepublic boolean getAnimationStringOn()
public abstract visad.DisplayRealType getDisplayLatitudeType()
public abstract visad.DisplayRealType getDisplayLongitudeType()
public abstract visad.DisplayRealType getDisplayAltitudeType()
public void enableClipping(boolean clip)
clip - true to turn clipping on, otherwise offpublic boolean isClippingEnabled()
public void setMapProjection(ucar.unidata.geoloc.ProjectionImpl projection)
                      throws visad.VisADException,
                             java.rmi.RemoteException
projection - Projection to usevisad.VisADException - Couldn't create necessary VisAD objectjava.rmi.RemoteException - Couldn't create a remote objectpublic abstract void setMapProjection(visad.georef.MapProjection mapProjection)
                               throws visad.VisADException,
                                      java.rmi.RemoteException
mapProjection - map projection coordinate systemvisad.VisADException - Couldn't create necessary VisAD objectjava.rmi.RemoteException - Couldn't create a remote objectpublic void setMapArea(ucar.unidata.geoloc.ProjectionRect mapArea)
                throws visad.VisADException,
                       java.rmi.RemoteException
mapArea - ProjectionRect describing the map area to be displayed.visad.VisADException - invalid navigation or VisAD errorjava.rmi.RemoteException - Couldn't create a remote objectprotected abstract visad.ScalarMap getAltitudeMap()
public void addVerticalMap(visad.RealType verticalType)
                    throws visad.VisADException,
                           java.rmi.RemoteException
verticalType - RealType of the new vertical mapjava.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic void removeVerticalMap(visad.RealType verticalType)
                       throws visad.VisADException,
                              java.rmi.RemoteException
verticalType - RealType of the new vertical mapjava.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic abstract void setView(int view)
view - one of the static view fields (NORTH_VIEW, SOUTH_VIEW, ..
               etc).public void setView(java.lang.String view)
view - the view namepublic void setPerspectiveView(boolean perspective)
perspective - true for perspective viewpublic boolean isPerspectiveView()
public void setRubberBandBox(RubberBandBox box)
box - RubberBandBox to usepublic RubberBandBox getRubberBandBox()
public void enableRubberBanding(boolean on)
                         throws visad.VisADException,
                                java.rmi.RemoteException
on - true to enable rubberbanding (on by default);java.rmi.RemoteException - Java RMI problemvisad.VisADException - unable to toggle the rubber banding functionpublic void setVerticalRangeUnit(visad.Unit newUnit)
                          throws visad.VisADException,
                                 java.rmi.RemoteException
newUnit - unit of rangejava.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic visad.Unit getVerticalRangeUnit()
public void setVerticalRange(double min,
                             double max)
                      throws visad.VisADException,
                             java.rmi.RemoteException
min - minimum value for vertical axismax - maximum value for vertical axisjava.rmi.RemoteException - Java RMI problemvisad.VisADException - Unable to create the displaypublic double[] getVerticalRange()
public void setForeground(java.awt.Color color)
setForeground in class DisplayMastercolor - color for foregroundpublic void setBoxVisible(boolean on)
                   throws visad.VisADException,
                          java.rmi.RemoteException
on - true if the box should be visiblevisad.VisADException - Couldn't create the necessary VisAD objectjava.rmi.RemoteException - If there was a problem making this
                               change in a remote collaborative display.public boolean getBoxVisible()
public void setScalesVisible(boolean on)
                      throws visad.VisADException,
                             java.rmi.RemoteException
on - true if the box should be visiblevisad.VisADException - Couldn't create the necessary VisAD objectjava.rmi.RemoteException - If there was a problem making this
                               change in a remote collaborative display.public boolean getScalesVisible()
public visad.georef.EarthLocation getCenterPoint()
public visad.georef.EarthLocation getEarthLocation(visad.RealTuple xyz)
xyz - RealTuple with MathType
              RealTupleType.SpatialCartesian3DTuple)public visad.georef.EarthLocation getEarthLocation(double[] xyz)
xyz - double[3] of x,y,z coords.public visad.georef.EarthLocation getEarthLocation(double x,
                                                   double y,
                                                   double z)
x - x coord.y - y coord.z - z coord.public abstract visad.georef.EarthLocation getEarthLocation(double x,
                                                            double y,
                                                            double z,
                                                            boolean setZToZeroIfOverhead)
x - x coord.y - y coord.z - z coord.setZToZeroIfOverhead - If in the overhead view then set Z to 0public abstract visad.RealTuple getSpatialCoordinates(visad.georef.EarthLocation el)
el - earth location to translatepublic double[] getSpatialCoordinates(visad.georef.EarthLocation el,
                                      double[] xyz)
                               throws visad.VisADException,
                                      java.rmi.RemoteException
el - earth location to translatexyz - buffer to put value injava.rmi.RemoteException - If there was a problem making this
                            change in a remote collaborative display.visad.VisADException - Couldn't create the necessary VisAD objectpublic abstract double[] getSpatialCoordinates(visad.georef.EarthLocation el,
                                               double[] xyz,
                                               double altitude)
                                        throws visad.VisADException,
                                               java.rmi.RemoteException
el - earth location to translatexyz - buffer to put value inaltitude - the altitudejava.rmi.RemoteException - If there was a problem making this
                            change in a remote collaborative display.visad.VisADException - Couldn't create the necessary VisAD objectprotected float getScaledValue(visad.ScalarMap map,
                               float value)
map - map for scalingvalue - value to scaleprotected void setCursorLatitude(visad.Real latitude)
                          throws visad.VisADException,
                                 java.rmi.RemoteException
latitude - The cursor latitude.java.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic visad.Real getCursorLatitude()
null.protected void setCursorLongitude(visad.Real longitude)
                           throws visad.VisADException,
                                  java.rmi.RemoteException
longitude - The cursor longitude.java.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic visad.Real getCursorLongitude()
null.protected void setCursorAltitude(visad.Real altitude)
                          throws visad.VisADException,
                                 java.rmi.RemoteException
altitude - The cursor altitude.java.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic visad.Real getCursorAltitude()
null.public boolean getIsAnimating()
public void animateMatrix(double[] to)
to - matrix to animate topublic void animateMatrix(double[] to,
                          long sleepTime)
to - where to gosleepTime - sleep timepublic void animateMatrix(int myTimeStamp,
                          double[] from,
                          double[] to,
                          visad.georef.EarthLocation finalLocation)
myTimeStamp - So we only have one runningfrom - The original matrixto - The dest matrixfinalLocation - final location to animate topublic void applyRotation(javax.vecmath.Point3d p)
p - the point to rotate topublic void animateMatrix(int myTimeStamp,
                          double[] from,
                          double[] to,
                          visad.georef.EarthLocation finalLocation,
                          long sleepTime)
myTimeStamp - my timefrom - where we came fromto - where we are going tofinalLocation - the final locationsleepTime - sleepy timepublic double[] getScreenCenter()
                         throws visad.VisADException,
                                java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic java.util.List<TwoFacedObject> getScreenCoordinates() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException - Java RMI issuevisad.VisADException - VisAD issuepublic java.util.List<TwoFacedObject> getScreenSidesCoordinates() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException - _more_visad.VisADException - _more_public double[] getScreenUpperLeft()
                            throws visad.VisADException,
                                   java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic double[] getScreenUpperRight()
                             throws visad.VisADException,
                                    java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic double[] getScreenLowerLeft()
                            throws visad.VisADException,
                                   java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic double[] getScreenLowerRight()
                             throws visad.VisADException,
                                    java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic double[] getScreenCenterTop()
                            throws visad.VisADException,
                                   java.rmi.RemoteException
java.rmi.RemoteException - _more_visad.VisADException - _more_public double[] getScreenCenterBottom()
                               throws visad.VisADException,
                                      java.rmi.RemoteException
java.rmi.RemoteException - _more_visad.VisADException - _more_public double[] getScreenCenterLeft()
                             throws visad.VisADException,
                                    java.rmi.RemoteException
java.rmi.RemoteException - _more_visad.VisADException - _more_public double[] getScreenCenterRight()
                              throws visad.VisADException,
                                     java.rmi.RemoteException
java.rmi.RemoteException - _more_visad.VisADException - _more_public java.awt.geom.Rectangle2D.Double getLatLonBox()
                                              throws visad.VisADException,
                                                     java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic java.awt.geom.Rectangle2D.Double getLatLonBox(boolean padSamples,
                                                     boolean normalizeLon)
                                              throws visad.VisADException,
                                                     java.rmi.RemoteException
padSamples - should we pad somenormalizeLon - true to normalize longitudes to -180 to 180java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic visad.georef.EarthLocation screenToEarthLocation(int x,
                                                        int y)
                                                 throws visad.VisADException
x - screen xy - screen yvisad.VisADException - problem accessing datapublic ucar.unidata.geoloc.LatLonRect getLatLonRect()
                                             throws visad.VisADException,
                                                    java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic java.awt.geom.Rectangle2D.Double getVisadBox()
                                             throws visad.VisADException,
                                                    java.rmi.RemoteException
java.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic void center(double x,
                   double y)
x - Xy - Ypublic void center(double x,
                   double y,
                   boolean animated)
x - Xy - Yanimated - Should animate the movepublic void moveToScreen(double x,
                         double y,
                         int sx,
                         int sy,
                         int times)
x - xy - ysx - screen xsy - screen ytimes - How many time should we iterate on the movepublic void moveToScreen(double x,
                         double y,
                         int sx,
                         int sy)
x - xy - ysx - screen xsy - screen ypublic void moveToScreen(double x,
                         double y,
                         int sx,
                         int sy,
                         boolean animated)
x - xy - ysx - screen xsy - screen yanimated - Animate the movepublic javax.media.j3d.View getView()
public void center(visad.georef.EarthLocation el)
            throws visad.VisADException,
                   java.rmi.RemoteException
el - el to center onjava.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic void center(visad.georef.EarthLocation el,
                   boolean animated)
            throws visad.VisADException,
                   java.rmi.RemoteException
el - el to center onanimated - animate the movejava.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic void centerAndZoom(visad.georef.EarthLocation el,
                          boolean animated,
                          double zoomFactor)
                   throws visad.VisADException,
                          java.rmi.RemoteException
el - el to center onanimated - animate the movezoomFactor - factor to zoomjava.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic void centerAndZoom(visad.georef.EarthLocation el,
                          visad.Real altitude,
                          double zoomFactor,
                          boolean animated,
                          boolean northUp)
                   throws visad.VisADException,
                          java.rmi.RemoteException
el - el to center onaltitude - the altitude of the pointanimated - animate the movezoomFactor - factor to zoomnorthUp - put north upjava.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic double[] getRotation()
getRotation in class DisplayMasterpublic void rotateView(double azimuth,
                       double decAngle)
azimuth - azimuth from "north," clockwise, 0 to 360decAngle - tilt angle down from upward vertical. 0-180public void rotateView(double[] matrix,
                       double azimuth,
                       double decAngle)
matrix - matrix to rotate fromazimuth - azimuth from "north," clockwise, 0 to 360decAngle - tilt angle down from upward vertical. 0-180public NavigatedDisplayToolBar getNavigationToolBar()
public NavigatedDisplayToolBar getNavigationToolBar(int orientation, boolean floatable)
orientation - the orientationfloatable - true to allow floatationpublic void destroy()
destroy in class DisplayMasterprotected void cursorMoved()
                    throws visad.VisADException,
                           java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void pointerMoved(int x,
                            int y)
                     throws visad.VisADException,
                            java.rmi.RemoteException
x - pointer's x locationy - pointer's y locationvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void updateLocation(visad.georef.EarthLocation el)
                       throws visad.VisADException,
                              java.rmi.RemoteException
el - EarthLocation to use.java.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic double[] getRayPositionAtZ(visad.VisADRay ray,
                                  double zValue)
ray - ray to usezValue - Z valuepublic visad.CoordinateSystem getDisplayCoordinateSystem()
protected void setVerticalMapUnit(visad.ScalarMap vertMap,
                                  visad.Unit u)
                           throws visad.VisADException,
                                  java.rmi.RemoteException
vertMap - vertical mapu - unit to setjava.rmi.RemoteException - Java RMI problemvisad.VisADException - problem setting unitpublic void setRotateDelay(long millis)
millis - number of milliseconds between rotation eventspublic void rotateFaster()
public void rotateSlower()
public void setAutoRotate(boolean rotate)
rotate - true to auto-rotatepublic void resetScaleTranslate()
                         throws visad.VisADException,
                                java.rmi.RemoteException
java.rmi.RemoteException - Java RMI Exceptionvisad.VisADException - VisAD problempublic boolean getAutoRotate()
public void setClipDistanceBack(double value)
value - The new value for ClipDistanceBackpublic double getClipDistanceBack()
public void setClipDistanceFront(double value)
value - The new value for ClipDistanceFrontpublic double getClipDistanceFront()
public void setVerticalRangeVisible(boolean visible)
visible - the new vertical range visiblepublic boolean getVerticalRangeVisible()