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:
- Display data according to a set of mappings from RealType's
(e.g., Latitude, Time, Pressure) to DisplayRealTypes (e.g.,
XAxis, RGB, Animation).
- Allow user extensions, to define new DisplayRealTypes,
new DisplayTupleTypes (and hence new display
CoordinateSystems), and new rendering algorithms.
- Support direct manipulation, where users modify Data
values by re-drawing their depictions.
-
-
Field Summary
Fields Modifier and Type Field and Description static DisplayRealTypeAdjustProjectionSeamAdjust along projection seams - ConstantMap onlystatic DisplayRealTypeAlphadisplay alpha (transparency)static DisplayRealTypeAnimationdisplay animationstatic DisplayRealTypeBluedisplay color blue coordinate (in RGB)static DisplayRealTypeCacheAppearancescache appearances - ConstantMap onlystatic DisplayRealTypeCMYdisplay color CMY lookup table indexstatic DisplayRealTypeColorModecolor mode - ConstantMap only, values must be > 0static DisplayRealType[]components3carray of 3D Cartesian spatial coordinatesstatic DisplayRealType[]components3sarray of 3D spherical spatial coordinatesstatic DisplayRealType[]componentscmyarray of 3D CMY coordinatesstatic DisplayRealType[]componentscylarray of 3D cylindrical Coordinatesstatic DisplayRealType[]componentsflow1array of 3D Cartesian flow set 1 coordinatesstatic DisplayRealType[]componentsflow1sarray of 3D spherical flow set 1 coordinatesstatic DisplayRealType[]componentsflow2array of 3D Cartesian flow set 2 coordinatesstatic DisplayRealType[]componentsflow2sarray of 3D spherical flow set 2 coordinatesstatic DisplayRealType[]componentshsvarray of 3D HSV coordinatesstatic DisplayRealType[]componentsrgbarray of 3D RGB coordinatesstatic DisplayRealType[]componentssoarray of 3D Cartesian spatial offset coordinatesstatic DisplayRealTypeCurvedSizecurved size - ConstantMap only, values must be > 0static DisplayRealTypeCyandisplay color cyan coordinate (in CMY)static DisplayRealTypeCylAzimuthdisplay spatial cylindrical azimuth coordinatestatic DisplayRealTypeCylRadiusdisplay spatial cylindrical radius coordinatestatic DisplayRealTypeCylZAxisdisplay spatial cylindrical Z axis coordinatestatic CoordinateSystemDisplayCMYCoordSysCoordinateSystem for DisplayCMYTuple, with reference DisplayRGBTuplestatic DisplayTupleTypeDisplayCMYTuplesystem intrinsic DisplayTupleType for CMY color coordinatesstatic CoordinateSystemDisplayCylindricalCoordSysCoordinateSystem for DisplaySpatialCylindricalTuple, with reference DisplaySpatialCartesianTuplestatic CoordinateSystemDisplayFlow1SphericalCoordSysCoordinateSystem for DisplayFlow1SphericalTuple, with reference DisplayFlow1Tuplestatic DisplayTupleTypeDisplayFlow1SphericalTuplesystem intrinsic DisplayTupleType for 3D spherical flow set 1 coordinatesstatic DisplayTupleTypeDisplayFlow1Tuplesystem intrinsic DisplayTupleType for 3D Cartesian flow set 1 coordinatesstatic CoordinateSystemDisplayFlow2SphericalCoordSysCoordinateSystem for DisplayFlow2SphericalTuple, with reference DisplayFlow2Tuplestatic DisplayTupleTypeDisplayFlow2SphericalTuplesystem intrinsic DisplayTupleType for 3D spherical flow set 2 coordinatesstatic DisplayTupleTypeDisplayFlow2Tuplesystem intrinsic DisplayTupleType for 3D Cartesian flow set 2 coordinatesstatic CoordinateSystemDisplayHSVCoordSysCoordinateSystem for DisplayHSVTuple, with reference DisplayRGBTuplestatic DisplayTupleTypeDisplayHSVTuplesystem intrinsic DisplayTupleType for HSV color coordinatesstatic DisplayRealType[]DisplayRealArrayarray of system intrinsic DisplayRealTypesstatic DisplayTupleTypeDisplayRGBTuplesystem intrinsic DisplayTupleType for RGB color coordinatesstatic DisplayTupleTypeDisplaySpatialCartesianTuplesystem intrinsic DisplayTupleType for 3D Cartesian spatial coordinatesstatic DisplayTupleTypeDisplaySpatialCylindricalTuplesystem intrinsic DisplayTupleType for 3D cylindrical spatial coordinatesstatic DisplayTupleTypeDisplaySpatialOffsetTuplesystem intrinsic DisplayTupleType for 3D Cartesian spatial offset coordinatesstatic DisplayTupleTypeDisplaySpatialSphericalTuplesystem intrinsic DisplayTupleType for 3D spherical spatial coordinatesstatic CoordinateSystemDisplaySphericalCoordSysCoordinateSystem for DisplaySpatialSphericalTuple, with reference DisplaySpatialCartesianTuplestatic DisplayRealTypeFlow1Azimuthdisplay flow set 1 spherical azimuth coordinatestatic DisplayRealTypeFlow1Elevationdisplay flow set 1 spherical elevation coordinatestatic DisplayRealTypeFlow1Radialdisplay flow set 1 spherical radial coordinatestatic DisplayRealTypeFlow1Xdisplay flow set 1 Cartesian X axis coordinatestatic DisplayRealTypeFlow1Ydisplay flow set 1 Cartesian Y axis coordinatestatic DisplayRealTypeFlow1Zdisplay flow set 1 Cartesian Z axis coordinatestatic DisplayRealTypeFlow2Azimuthdisplay flow set 2 spherical azimuth coordinatestatic DisplayRealTypeFlow2Elevationdisplay flow set 2 spherical elevation coordinatestatic DisplayRealTypeFlow2Radialdisplay flow set 2 spherical radial coordinatestatic DisplayRealTypeFlow2Xdisplay flow set 2 Cartesian X axis coordinatestatic DisplayRealTypeFlow2Ydisplay flow set 2 Cartesian Y axis coordinatestatic DisplayRealTypeFlow2Zdisplay flow set 2 Cartesian Z axis coordinatestatic DisplayRealTypeGreendisplay color green coordinate (in RGB)static DisplayRealTypeHSVdisplay color HSV lookup table indexstatic DisplayRealTypeHuedisplay color hue coordinate (in HSV)static DisplayRealTypeIsoContourdisplay iso-contourstatic DisplayRealTypeLatitudedisplay spatial spherical Latitude coordinatestatic DisplayRealTypeLineStyleline style - ConstantMap onlystatic DisplayRealTypeLineWidthline width - ConstantMap onlystatic DisplayRealTypeListlist display scalar (not used)static DisplayRealTypeLongitudedisplay spatial spherical Longitude coordinatestatic DisplayRealTypeMagentadisplay color magenta coordinate (in CMY)static DisplayRealTypeMergeGeometriescache appearances - ConstantMap onlystatic DisplayRealTypeMissingTransparentmissing transparent - ConstantMap onlystatic DisplayRealTypePointModepoint mode - ConstantMap onlystatic DisplayRealTypePointSizepoint size - ConstantMap onlystatic DisplayRealTypePolygonModepolygon mode - ConstantMap onlystatic DisplayRealTypePolygonOffsetPolygon offset - ConstantMap onlystatic DisplayRealTypePolygonOffsetFactorPolygon offset factor - ConstantMap onlystatic DisplayRealTypeRadiusdisplay spatial spherical Radius coordinatestatic DisplayRealTypeReddisplay color red coordinate (in RGB)static DisplayRealTypeRGBdisplay color RGB lookup table indexstatic DisplayRealTypeRGBAdisplay color RGBA lookup table indexstatic DisplayRealTypeSaturationdisplay color saturation coordinate (in HSV)static DisplayRealTypeSelectRangedisplay scalar for selecting by a range of valuesstatic DisplayRealTypeSelectValuedisplay scalar for selecting by a single valuestatic DisplayRealTypeShapeindex into a set of display shapesstatic DisplayRealTypeShapeScalescale for display shapesstatic DisplayRealTypeTextdisplay scalar for textstatic DisplayRealTypeTexture3DModetexture 3D mode - ConstantMap only, values must be > 0static DisplayRealTypeTextureEnabletexture enable - ConstantMap onlystatic DisplayRealTypeValuedisplay color value coordinate (in HSV)static DisplayRealTypeXAxisdisplay spatial Cartesian X axis coordinatestatic DisplayRealTypeXAxisOffsetdisplay spatial offset Cartesian X axis coordinatestatic DisplayRealTypeYAxisdisplay spatial Cartesian Y axis coordinatestatic DisplayRealTypeYAxisOffsetdisplay spatial offset Cartesian Y axis coordinatestatic DisplayRealTypeYellowdisplay color yellow coordinate (in CMY)static DisplayRealTypeZAxisdisplay spatial Cartesian Z axis coordinatestatic DisplayRealTypeZAxisOffsetdisplay spatial offset Cartesian Z axis coordinate
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidaddMap(ScalarMap map)link a ScalarMap (may be a ConstantMap) to this DisplayvoidaddReference(DataReference ref, ConstantMap[] constant_maps)create link to DataReference, with ConstantMaps; invokes ref.addThingChangedListener(ThingChangedListener l, long id)voidaddReferences(DataRenderer renderer, DataReference ref, ConstantMap[] constant_maps)create link to DataReference, with ConstantMaps and DataRenderer; invokes ref.addThingChangedListener(ThingChangedListener l, long id)voidaddSlave(RemoteSlaveDisplay display)link a slave display to this displayvoidclearMaps()remove all ScalarMaps (and ConstantMaps) from this Displayvoiddestroy()destroy this display: break all links, stop Threads and clear references for garbage collectionjava.util.VectorgetConstantMapVector()booleanhasSlaves()voidremoveAllSlaves()remove all slave displays from this displayvoidremoveMap(ScalarMap map)remove a ScalarMap (may be a ConstantMap) from this DisplayvoidremoveSlave(RemoteSlaveDisplay display)remove a slave display from this displayvoidsendMessage(MessageEvent msg)Send a message to all MessageListeners.-
Methods inherited from interface visad.Action
addReference, getName, removeAllReferences, removeReference
-
Methods inherited from interface visad.ThingChangedListener
thingChanged
-
-
-
-
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
-
List
static final DisplayRealType List
list display scalar (not used)
-
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
-
Alpha
static final DisplayRealType Alpha
display alpha (transparency)
-
Animation
static final DisplayRealType Animation
display animation
-
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
-
IsoContour
static final DisplayRealType IsoContour
display iso-contour
-
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
-
Text
static final DisplayRealType Text
display scalar for text
-
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 toconstant_maps- array of ConstantMaps applied to linked Data- Throws:
VisADException- a VisAD error occurredjava.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 Dataref- DataReference to link toconstant_maps- array of ConstantMaps applied to this Data- Throws:
VisADException- a VisAD error occurredjava.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 occurredjava.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 occurredjava.rmi.RemoteException- an RMI error occurred
-
clearMaps
void clearMaps() throws VisADException, java.rmi.RemoteExceptionremove all ScalarMaps (and ConstantMaps) from this Display- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
destroy
void destroy() throws VisADException, java.rmi.RemoteExceptiondestroy this display: break all links, stop Threads and clear references for garbage collection- Throws:
VisADExceptionjava.rmi.RemoteException
-
getConstantMapVector
java.util.Vector getConstantMapVector() throws VisADException, java.rmi.RemoteException- Returns:
- Vector of linked ConstantMaps
- Throws:
VisADExceptionjava.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 occurredjava.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 occurredjava.rmi.RemoteException- an RMI error occurred
-
removeAllSlaves
void removeAllSlaves() throws VisADException, java.rmi.RemoteExceptionremove all slave displays from this display- Throws:
VisADException- a VisAD error occurredjava.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 occurredjava.rmi.RemoteException- an RMI error occurred
-
-
DMelt 3.0 © DataMelt by jWork.ORG