visad.java2d
Class DefaultRendererJ2D
- java.lang.Object
-
- visad.DataRenderer
-
- visad.java2d.RendererJ2D
-
- visad.java2d.DefaultRendererJ2D
-
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- BarbRendererJ2D
public class DefaultRendererJ2D extends RendererJ2D
DefaultRendererJ2D is the VisAD class for the default graphics rendering algorithm under Java2D.
-
-
Constructor Summary
Constructors Constructor and Description DefaultRendererJ2D()this is the default DataRenderer used by the addReference method for DisplayImplJ2D
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()VisADGroupdoTransform()create a VisADGroup scene graph for Data in links[0]DataDisplayLinkgetLink()used by ShadowFunctionOrSetType for transform time-out hackvoidsetLinks(DataDisplayLink[] links, DisplayImpl d)set DataDisplayLinks for linked Data, and set associated DisplayImpl-
Methods inherited from class visad.java2d.RendererJ2D
clearBranch, clearScene, doAction, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, toggle
-
Methods inherited from class visad.DataRenderer
addException, addPoint, checkAction, checkClose, checkDirect, clearAVControls, clearExceptions, computeRanges, constrainDragPoint, drag_direct, earthToSpatial, earthToSpatial, findRayManifoldIntersection, get_all_feasible, get_any_changed, get_any_transform_control, getBadScale, getDisplay, getDisplayCoordinateSystem, getDisplayRenderer, getEarthDimension, getEarthUnits, getEnabled, getExceptionVector, getIsDirectManipulation, getLastMouseModifiers, getLatLonIndices, getLatLonRange, getLinks, getPickCrawlToCursor, getPolygonOffset, getPolygonOffsetFactor, getProjectionControlListeners, getRanges, getRealVectorTypes, getWhyNotDirect, hasPolygonOffset, isLegalTextureMap, isTransformControl, prepareAction, realCheckDirect, release_direct, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setHasPolygonOffset, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, setPolygonOffset, setPolygonOffsetFactor, setSpatialValues, spatialToEarth, spatialToEarth, stop_direct, suppressExceptions
-
-
-
-
Constructor Detail
-
DefaultRendererJ2D
public DefaultRendererJ2D()
this is the default DataRenderer used by the addReference method for DisplayImplJ2D
-
-
Method Detail
-
setLinks
public void setLinks(DataDisplayLink[] links, DisplayImpl d) throws VisADException
Description copied from class:DataRendererset DataDisplayLinks for linked Data, and set associated DisplayImpl- Overrides:
setLinksin classRendererJ2D- Parameters:
links- array of DataDisplayLinks to setd- associated DisplayImpl to set- Throws:
VisADException- a VisAD error occurred
-
doTransform
public VisADGroup doTransform() throws VisADException, java.rmi.RemoteException
create a VisADGroup scene graph for Data in links[0]- Specified by:
doTransformin classRendererJ2D- Throws:
VisADExceptionjava.rmi.RemoteException
-
getLink
public DataDisplayLink getLink()
Description copied from class:DataRendererused by ShadowFunctionOrSetType for transform time-out hack- Overrides:
getLinkin classDataRenderer- Returns:
- single DataDisplayLink (over-ridden by sub-classes)
-
clone
public java.lang.Object clone()
- Specified by:
clonein classDataRenderer- Returns:
- a copy of this DataRenderer
-
-
DMelt 3.0 © DataMelt by jWork.ORG