Documentation of 'visad.Display' Java class
Display
visad

Interface Display

  • All Superinterfaces:
    Action, java.util.EventListener, ThingChangedListener
    All Known Subinterfaces:
    LocalDisplay, RemoteDisplay
    All Known Implementing Classes:
    DisplayImpl, DisplayImplJ2D, DisplayImplJ3D, RemoteDisplayImpl


    public interface Display
    extends Action
    Display is the VisAD interface for displays. It is runnable.

    The display architecture is based on three goals:

    1. Display data according to a set of mappings from RealType's (e.g., Latitude, Time, Pressure) to DisplayRealTypes (e.g., XAxis, RGB, Animation).

    2. Allow user extensions, to define new DisplayRealTypes, new DisplayTupleTypes (and hence new display CoordinateSystems), and new rendering algorithms.

    3. Support direct manipulation, where users modify Data values by re-drawing their depictions.

    • Field Detail

      • XAxis

        static final DisplayRealType XAxis
        display spatial Cartesian X axis coordinate
      • YAxis

        static final DisplayRealType YAxis
        display spatial Cartesian Y axis coordinate
      • ZAxis

        static final DisplayRealType ZAxis
        display spatial Cartesian Z axis coordinate
      • Latitude

        static final DisplayRealType Latitude
        display spatial spherical Latitude coordinate
      • Longitude

        static final DisplayRealType Longitude
        display spatial spherical Longitude coordinate
      • Radius

        static final DisplayRealType Radius
        display spatial spherical Radius coordinate
      • CylRadius

        static final DisplayRealType CylRadius
        display spatial cylindrical radius coordinate
      • CylAzimuth

        static final DisplayRealType CylAzimuth
        display spatial cylindrical azimuth coordinate
      • CylZAxis

        static final DisplayRealType CylZAxis
        display spatial cylindrical Z axis coordinate
      • XAxisOffset

        static final DisplayRealType XAxisOffset
        display spatial offset Cartesian X axis coordinate
      • YAxisOffset

        static final DisplayRealType YAxisOffset
        display spatial offset Cartesian Y axis coordinate
      • ZAxisOffset

        static final DisplayRealType ZAxisOffset
        display spatial offset Cartesian Z axis coordinate
      • Red

        static final DisplayRealType Red
        display color red coordinate (in RGB)
      • Green

        static final DisplayRealType Green
        display color green coordinate (in RGB)
      • Blue

        static final DisplayRealType Blue
        display color blue coordinate (in RGB)
      • RGB

        static final DisplayRealType RGB
        display color RGB lookup table index
      • RGBA

        static final DisplayRealType RGBA
        display color RGBA lookup table index
      • Hue

        static final DisplayRealType Hue
        display color hue coordinate (in HSV)
      • Saturation

        static final DisplayRealType Saturation
        display color saturation coordinate (in HSV)
      • Value

        static final DisplayRealType Value
        display color value coordinate (in HSV)
      • HSV

        static final DisplayRealType HSV
        display color HSV lookup table index
      • Cyan

        static final DisplayRealType Cyan
        display color cyan coordinate (in CMY)
      • Magenta

        static final DisplayRealType Magenta
        display color magenta coordinate (in CMY)
      • Yellow

        static final DisplayRealType Yellow
        display color yellow coordinate (in CMY)
      • CMY

        static final DisplayRealType CMY
        display color CMY lookup table index
      • SelectValue

        static final DisplayRealType SelectValue
        display scalar for selecting by a single value
      • SelectRange

        static final DisplayRealType SelectRange
        display scalar for selecting by a range of values
      • Flow1X

        static final DisplayRealType Flow1X
        display flow set 1 Cartesian X axis coordinate
      • Flow1Y

        static final DisplayRealType Flow1Y
        display flow set 1 Cartesian Y axis coordinate
      • Flow1Z

        static final DisplayRealType Flow1Z
        display flow set 1 Cartesian Z axis coordinate
      • Flow1Elevation

        static final DisplayRealType Flow1Elevation
        display flow set 1 spherical elevation coordinate
      • Flow1Azimuth

        static final DisplayRealType Flow1Azimuth
        display flow set 1 spherical azimuth coordinate
      • Flow1Radial

        static final DisplayRealType Flow1Radial
        display flow set 1 spherical radial coordinate
      • Flow2X

        static final DisplayRealType Flow2X
        display flow set 2 Cartesian X axis coordinate
      • Flow2Y

        static final DisplayRealType Flow2Y
        display flow set 2 Cartesian Y axis coordinate
      • Flow2Z

        static final DisplayRealType Flow2Z
        display flow set 2 Cartesian Z axis coordinate
      • Flow2Elevation

        static final DisplayRealType Flow2Elevation
        display flow set 2 spherical elevation coordinate
      • Flow2Azimuth

        static final DisplayRealType Flow2Azimuth
        display flow set 2 spherical azimuth coordinate
      • Flow2Radial

        static final DisplayRealType Flow2Radial
        display flow set 2 spherical radial coordinate
      • Shape

        static final DisplayRealType Shape
        index into a set of display shapes
      • ShapeScale

        static final DisplayRealType ShapeScale
        scale for display shapes
      • LineWidth

        static final DisplayRealType LineWidth
        line width - ConstantMap only
      • PointSize

        static final DisplayRealType PointSize
        point size - ConstantMap only
      • LineStyle

        static final DisplayRealType LineStyle
        line style - ConstantMap only
      • TextureEnable

        static final DisplayRealType TextureEnable
        texture enable - ConstantMap only
      • MissingTransparent

        static final DisplayRealType MissingTransparent
        missing transparent - ConstantMap only
      • PolygonMode

        static final DisplayRealType PolygonMode
        polygon mode - ConstantMap only
      • CurvedSize

        static final DisplayRealType CurvedSize
        curved size - ConstantMap only, values must be > 0
      • ColorMode

        static final DisplayRealType ColorMode
        color mode - ConstantMap only, values must be > 0
      • PolygonOffset

        static final DisplayRealType PolygonOffset
        Polygon offset - ConstantMap only
      • PolygonOffsetFactor

        static final DisplayRealType PolygonOffsetFactor
        Polygon offset factor - ConstantMap only
      • AdjustProjectionSeam

        static final DisplayRealType AdjustProjectionSeam
        Adjust along projection seams - ConstantMap only
      • Texture3DMode

        static final DisplayRealType Texture3DMode
        texture 3D mode - ConstantMap only, values must be > 0
      • CacheAppearances

        static final DisplayRealType CacheAppearances
        cache appearances - ConstantMap only
      • MergeGeometries

        static final DisplayRealType MergeGeometries
        cache appearances - ConstantMap only
      • PointMode

        static final DisplayRealType PointMode
        point mode - ConstantMap only
      • DisplayRealArray

        static final DisplayRealType[] DisplayRealArray
        array of system intrinsic DisplayRealTypes
      • components3c

        static final DisplayRealType[] components3c
        array of 3D Cartesian spatial coordinates
      • DisplaySpatialCartesianTuple

        static final DisplayTupleType DisplaySpatialCartesianTuple
        system intrinsic DisplayTupleType for 3D Cartesian spatial coordinates
      • DisplaySphericalCoordSys

        static final CoordinateSystem DisplaySphericalCoordSys
        CoordinateSystem for DisplaySpatialSphericalTuple, with reference DisplaySpatialCartesianTuple
      • components3s

        static final DisplayRealType[] components3s
        array of 3D spherical spatial coordinates
      • DisplaySpatialSphericalTuple

        static final DisplayTupleType DisplaySpatialSphericalTuple
        system intrinsic DisplayTupleType for 3D spherical spatial coordinates
      • DisplayCylindricalCoordSys

        static final CoordinateSystem DisplayCylindricalCoordSys
        CoordinateSystem for DisplaySpatialCylindricalTuple, with reference DisplaySpatialCartesianTuple
      • componentscyl

        static final DisplayRealType[] componentscyl
        array of 3D cylindrical Coordinates
      • DisplaySpatialCylindricalTuple

        static final DisplayTupleType DisplaySpatialCylindricalTuple
        system intrinsic DisplayTupleType for 3D cylindrical spatial coordinates
      • componentsrgb

        static final DisplayRealType[] componentsrgb
        array of 3D RGB coordinates
      • DisplayRGBTuple

        static final DisplayTupleType DisplayRGBTuple
        system intrinsic DisplayTupleType for RGB color coordinates
      • DisplayHSVCoordSys

        static final CoordinateSystem DisplayHSVCoordSys
        CoordinateSystem for DisplayHSVTuple, with reference DisplayRGBTuple
      • componentshsv

        static final DisplayRealType[] componentshsv
        array of 3D HSV coordinates
      • DisplayHSVTuple

        static final DisplayTupleType DisplayHSVTuple
        system intrinsic DisplayTupleType for HSV color coordinates
      • DisplayCMYCoordSys

        static final CoordinateSystem DisplayCMYCoordSys
        CoordinateSystem for DisplayCMYTuple, with reference DisplayRGBTuple
      • componentscmy

        static final DisplayRealType[] componentscmy
        array of 3D CMY coordinates
      • DisplayCMYTuple

        static final DisplayTupleType DisplayCMYTuple
        system intrinsic DisplayTupleType for CMY color coordinates
      • componentsflow1

        static final DisplayRealType[] componentsflow1
        array of 3D Cartesian flow set 1 coordinates
      • DisplayFlow1Tuple

        static final DisplayTupleType DisplayFlow1Tuple
        system intrinsic DisplayTupleType for 3D Cartesian flow set 1 coordinates
      • componentsflow2

        static final DisplayRealType[] componentsflow2
        array of 3D Cartesian flow set 2 coordinates
      • DisplayFlow2Tuple

        static final DisplayTupleType DisplayFlow2Tuple
        system intrinsic DisplayTupleType for 3D Cartesian flow set 2 coordinates
      • DisplayFlow1SphericalCoordSys

        static final CoordinateSystem DisplayFlow1SphericalCoordSys
        CoordinateSystem for DisplayFlow1SphericalTuple, with reference DisplayFlow1Tuple
      • componentsflow1s

        static final DisplayRealType[] componentsflow1s
        array of 3D spherical flow set 1 coordinates
      • DisplayFlow1SphericalTuple

        static final DisplayTupleType DisplayFlow1SphericalTuple
        system intrinsic DisplayTupleType for 3D spherical flow set 1 coordinates
      • DisplayFlow2SphericalCoordSys

        static final CoordinateSystem DisplayFlow2SphericalCoordSys
        CoordinateSystem for DisplayFlow2SphericalTuple, with reference DisplayFlow2Tuple
      • componentsflow2s

        static final DisplayRealType[] componentsflow2s
        array of 3D spherical flow set 2 coordinates
      • DisplayFlow2SphericalTuple

        static final DisplayTupleType DisplayFlow2SphericalTuple
        system intrinsic DisplayTupleType for 3D spherical flow set 2 coordinates
      • componentsso

        static final DisplayRealType[] componentsso
        array of 3D Cartesian spatial offset coordinates
      • DisplaySpatialOffsetTuple

        static final DisplayTupleType DisplaySpatialOffsetTuple
        system intrinsic DisplayTupleType for 3D Cartesian spatial offset coordinates
    • Method Detail

      • addReference

        void addReference(DataReference ref,
                          ConstantMap[] constant_maps)
                   throws VisADException,
                          java.rmi.RemoteException
        create link to DataReference, with ConstantMaps; invokes ref.addThingChangedListener(ThingChangedListener l, long id)
        Parameters:
        ref - DataReference to link to
        constant_maps - array of ConstantMaps applied to linked Data
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • addReferences

        void addReferences(DataRenderer renderer,
                           DataReference ref,
                           ConstantMap[] constant_maps)
                    throws VisADException,
                           java.rmi.RemoteException
        create link to DataReference, with ConstantMaps and DataRenderer; invokes ref.addThingChangedListener(ThingChangedListener l, long id)
        Parameters:
        renderer - DataRenderer used to depict linked Data
        ref - DataReference to link to
        constant_maps - array of ConstantMaps applied to this Data
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • addMap

        void addMap(ScalarMap map)
             throws VisADException,
                    java.rmi.RemoteException
        link a ScalarMap (may be a ConstantMap) to this Display
        Parameters:
        map - ScalarMap to link
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • removeMap

        void removeMap(ScalarMap map)
                throws VisADException,
                       java.rmi.RemoteException
        remove a ScalarMap (may be a ConstantMap) from this Display
        Parameters:
        map - ScalarMap to remove
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • clearMaps

        void clearMaps()
                throws VisADException,
                       java.rmi.RemoteException
        remove all ScalarMaps (and ConstantMaps) from this Display
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • destroy

        void destroy()
              throws VisADException,
                     java.rmi.RemoteException
        destroy this display: break all links, stop Threads and clear references for garbage collection
        Throws:
        VisADException
        java.rmi.RemoteException
      • getConstantMapVector

        java.util.Vector getConstantMapVector()
                                       throws VisADException,
                                              java.rmi.RemoteException
        Returns:
        Vector of linked ConstantMaps
        Throws:
        VisADException
        java.rmi.RemoteException
      • sendMessage

        void sendMessage(MessageEvent msg)
                  throws java.rmi.RemoteException
        Send a message to all MessageListeners.
        Parameters:
        msg - Message being sent.
        Throws:
        java.rmi.RemoteException - an RMI error occurred
      • addSlave

        void addSlave(RemoteSlaveDisplay display)
               throws VisADException,
                      java.rmi.RemoteException
        link a slave display to this display
        Parameters:
        display - RemoteSlaveDisplay to link
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • removeSlave

        void removeSlave(RemoteSlaveDisplay display)
                  throws VisADException,
                         java.rmi.RemoteException
        remove a slave display from this display
        Parameters:
        display - RemoteSlaveDisplay to remove
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • removeAllSlaves

        void removeAllSlaves()
                      throws VisADException,
                             java.rmi.RemoteException
        remove all slave displays from this display
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • hasSlaves

        boolean hasSlaves()
                   throws VisADException,
                          java.rmi.RemoteException
        Returns:
        true if this display has any slave displays
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.