public class NodeRendererJ3D extends DefaultRendererJ3D
enabled, pickCrawlToCursor
Constructor and Description |
---|
NodeRendererJ3D()
this constructor is need for NodeDisplayRendererJ3D.makeDefaultRenderer()
but it should never be called
|
NodeRendererJ3D(NodeAgent a)
this DataRenderer transforms data into VisADSceneGraphObjects,
but does not render, on cluster nodes;
send scene graphs back via NodeAgent
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
doAction()
re-transform if needed;
return false if not done
|
void |
enableTransform() |
boolean |
fakeTransform()
create a VisADGroup scene graph for Data in links[0];
a substitute for doTransform() without and Java3D classes
in its signature
|
int |
getResolution() |
static void |
main(String[] args) |
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 |
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;
|
DataShadow |
prepareAction(boolean go,
boolean initialize,
DataShadow shadow)
check if re-transform is needed; if initialize is true then
compute ranges for RealTypes and Animation sampling
|
void |
setResolution(int r) |
addSwitch, clearScene, doTransform, getLink, setLinks
clearBranch, flush, getBranch, makeShadowTextType, setBranchEarly, toggle
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, 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
public NodeRendererJ3D()
public NodeRendererJ3D(NodeAgent a)
public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderer
makeShadowFunctionType
in class RendererJ3D
type
- 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
DataRenderer
makeShadowRealTupleType
in class RendererJ3D
type
- 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
DataRenderer
makeShadowRealType
in class RendererJ3D
type
- 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
DataRenderer
makeShadowSetType
in class RendererJ3D
type
- 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
DataRenderer
makeShadowTupleType
in class RendererJ3D
type
- 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 void setResolution(int r)
public int getResolution()
public void enableTransform()
public DataShadow prepareAction(boolean go, boolean initialize, DataShadow shadow) throws VisADException, RemoteException
DataRenderer
prepareAction
in class DataRenderer
go
- flag indicating that re-transform is required for
at least one DataRenderer linked to DisplayImplinitialize
- flag indicating that initialization (i.e.,
auto-scaling) is requiredshadow
- DataShadow shared by prepareAction() method of
all DataRenderers linked to DisplayImplVisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic boolean doAction() throws VisADException, RemoteException
doAction
in class RendererJ3D
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic boolean fakeTransform() throws VisADException, RemoteException
VisADException
RemoteException
public Object clone() throws CloneNotSupportedException
clone
in class DefaultRendererJ3D
CloneNotSupportedException
public static void main(String[] args) throws VisADException, RemoteException
VisADException
RemoteException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.