public abstract class RendererJ2D extends DataRenderer
RendererJ2D is not Serializable and should not be copied between JVMs.
enabled, pickCrawlToCursor| Constructor and Description |
|---|
RendererJ2D() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBranch()
clear part of Display scene graph generated by this DataRenderer
|
void |
clearScene()
clear any scene graph created by this DataRenderer, and
clear all instance variables
|
boolean |
doAction()
re-transform if needed;
return false if not done
|
abstract VisADGroup |
doTransform()
create a VisADGroup scene graph for Data in links;
this can put Behavior objects in the scene graph for
DataRenderer classes that implement direct manipulation widgets;
may reduce work by only changing scene graph for Data and
Controls that have changed:
1.
|
ShadowType |
makeShadowFunctionType(FunctionType type,
DataDisplayLink link,
ShadowType parent)
factory method for constructing a subclass of ShadowType appropriate
for the graphics API, that also adapts ShadowFunctionType;
ShadowType trees are constructed that 'shadow' the MathType trees of
Data to be depicted, via recursive calls to buildShadowType() methods
of MathType sub-classes, to DataRenderer.makeShadow*Type() methods,
to Shadow*Type constructors, then back to buildShadowType() methods;
the recursive call chain is initiated by DataDisplayLink.prepareData()
calls to buildShadowType() methods of MathType sub-classes;
|
ShadowType |
makeShadowRealTupleType(RealTupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate
for the graphics API, that also adapts ShadowRealTupleType;
ShadowType trees are constructed that 'shadow' the MathType trees of
Data to be depicted, via recursive calls to buildShadowType() methods
of MathType sub-classes, to DataRenderer.makeShadow*Type() methods,
to Shadow*Type constructors, then back to buildShadowType() methods;
the recursive call chain is initiated by DataDisplayLink.prepareData()
calls to buildShadowType() methods of MathType sub-classes;
|
ShadowType |
makeShadowRealType(RealType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate
for the graphics API, that also adapts ShadowRealType;
ShadowType trees are constructed that 'shadow' the MathType trees of
Data to be depicted, via recursive calls to buildShadowType() methods
of MathType sub-classes, to DataRenderer.makeShadow*Type() methods,
to Shadow*Type constructors, then back to buildShadowType() methods;
the recursive call chain is initiated by DataDisplayLink.prepareData()
calls to buildShadowType() methods of MathType sub-classes;
|
ShadowType |
makeShadowSetType(SetType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate
for the graphics API, that also adapts ShadowSetType;
ShadowType trees are constructed that 'shadow' the MathType trees of
Data to be depicted, via recursive calls to buildShadowType() methods
of MathType sub-classes, to DataRenderer.makeShadow*Type() methods,
to Shadow*Type constructors, then back to buildShadowType() methods;
the recursive call chain is initiated by DataDisplayLink.prepareData()
calls to buildShadowType() methods of MathType sub-classes;
|
ShadowType |
makeShadowTextType(TextType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate
for the graphics API, that also adapts ShadowTextType;
ShadowType trees are constructed that 'shadow' the MathType trees of
Data to be depicted, via recursive calls to buildShadowType() methods
of MathType sub-classes, to DataRenderer.makeShadow*Type() methods,
to Shadow*Type constructors, then back to buildShadowType() methods;
the recursive call chain is initiated by DataDisplayLink.prepareData()
calls to buildShadowType() methods of MathType sub-classes;
|
ShadowType |
makeShadowTupleType(TupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate
for the graphics API, that also adapts ShadowTupleType;
ShadowType trees are constructed that 'shadow' the MathType trees of
Data to be depicted, via recursive calls to buildShadowType() methods
of MathType sub-classes, to DataRenderer.makeShadow*Type() methods,
to Shadow*Type constructors, then back to buildShadowType() methods;
the recursive call chain is initiated by DataDisplayLink.prepareData()
calls to buildShadowType() methods of MathType sub-classes;
|
void |
setLinks(DataDisplayLink[] links,
DisplayImpl d)
set DataDisplayLinks for linked Data, and set associated DisplayImpl
|
void |
toggle(boolean on)
Sets the visibility of the data being rendered by this instance.
|
addException, addPoint, checkAction, checkClose, checkDirect, clearAVControls, clearExceptions, clone, 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, getLink, 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, suppressExceptionspublic void setLinks(DataDisplayLink[] links, DisplayImpl d) throws VisADException
DataRenderersetLinks in class DataRendererlinks - array of DataDisplayLinks to setd - associated DisplayImpl to setVisADException - a VisAD error occurredpublic void toggle(boolean on)
DataRenderertoggle in class DataRendereron - Whether or not to render the data.public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderermakeShadowFunctionType in class DataRenderertype - FunctionType that returned ShadowType will shadowlink - DataDisplayLink linking Data to be depictedparent - parent in ShadowType tree structureVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic ShadowType makeShadowRealTupleType(RealTupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderermakeShadowRealTupleType in class DataRenderertype - FunctionType that returned ShadowType will shadowlink - DataDisplayLink linking Data to be depictedparent - parent in ShadowType tree structureVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic ShadowType makeShadowRealType(RealType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderermakeShadowRealType in class DataRenderertype - FunctionType that returned ShadowType will shadowlink - DataDisplayLink linking Data to be depictedparent - parent in ShadowType tree structureVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderermakeShadowSetType in class DataRenderertype - FunctionType that returned ShadowType will shadowlink - DataDisplayLink linking Data to be depictedparent - parent in ShadowType tree structureVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic ShadowType makeShadowTextType(TextType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderermakeShadowTextType in class DataRenderertype - FunctionType that returned ShadowType will shadowlink - DataDisplayLink linking Data to be depictedparent - parent in ShadowType tree structureVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic ShadowType makeShadowTupleType(TupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderermakeShadowTupleType in class DataRenderertype - FunctionType that returned ShadowType will shadowlink - DataDisplayLink linking Data to be depictedparent - parent in ShadowType tree structureVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic boolean doAction()
throws VisADException,
RemoteException
doAction in class DataRendererVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void clearBranch()
DataRendererclearBranch in class DataRendererpublic void clearScene()
DataRendererclearScene in class DataRendererpublic abstract VisADGroup doTransform() throws VisADException, RemoteException
VisADExceptionRemoteExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.