visad.java3d
Class DefaultRendererJ3D
- java.lang.Object
-
- visad.DataRenderer
-
- visad.java3d.RendererJ3D
-
- visad.java3d.DefaultRendererJ3D
-
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- AnimationRendererJ3D, BarbRendererJ3D, ClientRendererJ3D, ImageRendererJ3D, NodeRendererJ3D, ScreenLockedRendererJ3D, SwellRendererJ3D, TextureFillRendererJ3D, UserRendererJ3D
public class DefaultRendererJ3D extends RendererJ3D
DefaultRendererJ3D is the VisAD class for the default graphics rendering algorithm under Java3D.
-
-
Constructor Summary
Constructors Constructor and Description DefaultRendererJ3D()this is the default DataRenderer used by the addReference method for DisplayImplJ3D
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddSwitch(DisplayRendererJ3D displayRenderer, javax.media.j3d.BranchGroup branch)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]DataDisplayLinkgetLink()used by ShadowFunctionOrSetType for transform time-out hackstatic voidmain(java.lang.String[] args)voidsetLinks(DataDisplayLink[] links, DisplayImpl d)set DataDisplayLinks for linked Data, and set associated DisplayImpl-
Methods inherited from class visad.java3d.RendererJ3D
clearBranch, doAction, flush, getBranch, makeShadowFunctionType, 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
-
-
-
-
Constructor Detail
-
DefaultRendererJ3D
public DefaultRendererJ3D()
this is the default DataRenderer used by the addReference method for DisplayImplJ3D
-
-
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 classRendererJ3D- Parameters:
links- array of DataDisplayLinks to setd- associated DisplayImpl to set- Throws:
VisADException- a VisAD error occurred
-
doTransform
public javax.media.j3d.BranchGroup doTransform() throws VisADException, java.rmi.RemoteExceptioncreate a BranchGroup scene graph for Data in links[0]- Specified by:
doTransformin classRendererJ3D- Throws:
VisADExceptionjava.rmi.RemoteException
-
addSwitch
public void addSwitch(DisplayRendererJ3D displayRenderer, javax.media.j3d.BranchGroup branch)
-
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)
-
clearScene
public void clearScene()
Description copied from class:DataRendererclear any scene graph created by this DataRenderer, and clear all instance variables- Overrides:
clearScenein classRendererJ3D
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Specified by:
clonein classDataRenderer- Returns:
- a copy of this DataRenderer
- Throws:
java.lang.CloneNotSupportedException
-
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