visad.java3d
Class AnimationRendererJ3D
- java.lang.Object
-
- visad.DataRenderer
-
- visad.java3d.RendererJ3D
-
- visad.java3d.DefaultRendererJ3D
-
- visad.java3d.AnimationRendererJ3D
-
- All Implemented Interfaces:
- java.lang.Cloneable
public class AnimationRendererJ3D extends DefaultRendererJ3D
-
-
Constructor Summary
Constructors Constructor and Description AnimationRendererJ3D()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclearScene()clear any scene graph created by this DataRenderer, and clear all instance variablesjava.lang.Objectclone()javax.media.j3d.BranchGroupdoTransform()create a BranchGroup scene graph for Data in links[0]booleangetReUseFrames()booleangetSetSetOnReUseFrames()static voidmain(java.lang.String[] args)ShadowTypemakeShadowFunctionType(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;voidsetReUseFrames()voidsetReUseFrames(boolean reuse)voidsetSetSetOnReUseFrames(boolean ss)-
Methods inherited from class visad.java3d.DefaultRendererJ3D
addSwitch, getLink, setLinks
-
Methods inherited from class visad.java3d.RendererJ3D
clearBranch, doAction, flush, getBranch, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, setBranchEarly, 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
-
-
-
-
Method Detail
-
makeShadowFunctionType
public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
Description copied from class:DataRendererfactory 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;- Overrides:
makeShadowFunctionTypein classRendererJ3D- Parameters:
type- FunctionType that returned ShadowType will shadowlink- DataDisplayLink linking Data to be depictedparent- parent in ShadowType tree structure- Returns:
- constructed ShadowType
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
setReUseFrames
public void setReUseFrames(boolean reuse)
-
setReUseFrames
public void setReUseFrames()
-
getReUseFrames
public boolean getReUseFrames()
-
setSetSetOnReUseFrames
public void setSetSetOnReUseFrames(boolean ss)
-
getSetSetOnReUseFrames
public boolean getSetSetOnReUseFrames()
-
clearScene
public void clearScene()
Description copied from class:DataRendererclear any scene graph created by this DataRenderer, and clear all instance variables- Overrides:
clearScenein classDefaultRendererJ3D
-
doTransform
public javax.media.j3d.BranchGroup doTransform() throws VisADException, java.rmi.RemoteExceptionDescription copied from class:DefaultRendererJ3Dcreate a BranchGroup scene graph for Data in links[0]- Overrides:
doTransformin classDefaultRendererJ3D- Throws:
VisADExceptionjava.rmi.RemoteException
-
clone
public java.lang.Object clone()
- Overrides:
clonein classDefaultRendererJ3D- Returns:
- a copy of this DataRenderer
-
main
public static void main(java.lang.String[] args) throws VisADException, java.rmi.RemoteException, java.io.IOException- Throws:
VisADExceptionjava.rmi.RemoteExceptionjava.io.IOException
-
-
DMelt 3.0 © DataMelt by jWork.ORG