Class MapProjectionDisplay

Direct Known Subclasses:
MapProjectionDisplayJ2D, MapProjectionDisplayJ3D

public abstract class MapProjectionDisplay extends NavigatedDisplay
Provides a navigated VisAD DisplayImpl for displaying data. The Projection or MapProjection provides the transformation from lat/lon space to xy space. There are three modes that can be used with this display - MODE_3D (Java 3D), MODE_2Din3D (2D in Java 3D), MODE_2D (Java 2D). Performance is better in Java 3D modes. In the 3D mode, RealType.Altitude is mapped to the display Z axis.

Any displayable data must be able to map to RealType.Latitude, RealType.Longitude and/or RealType.Altitude.

Author:
Don Murray
  • Field Details

    • CURSOR_BEARING

      public static final String CURSOR_BEARING
      The name of the bearing from center property.
      See Also:
    • CURSOR_RANGE

      public static final String CURSOR_RANGE
      The name of the range from center property.
      See Also:
    • force2D

      public static boolean force2D
      flag for forcing 2D
    • CURSOR_RANGE_TYPE

      public static RealType CURSOR_RANGE_TYPE
      The range from center RealType.
    • CURSOR_BEARING_TYPE

      public static RealType CURSOR_BEARING_TYPE
      The bearing from center RealType.
  • Constructor Details

    • MapProjectionDisplay

      protected MapProjectionDisplay()
      Constructs an instance with the specified MapProjection
    • MapProjectionDisplay

      protected MapProjectionDisplay(MapProjection projection, DisplayImpl display) throws VisADException, RemoteException
      Constructs an instance with the specified MapProjection CoordinateSystem and display.
      Parameters:
      projection - map projection CS
      display - display to use
      Throws:
      VisADException - Couldn't create necessary VisAD object
      RemoteException - Couldn't create a remote object
  • Method Details