visad.cluster
Class UserRendererJ3D
java.lang.Object
visad.DataRenderer
visad.java3d.RendererJ3D
visad.java3d.DefaultRendererJ3D
visad.cluster.UserRendererJ3D
- All Implemented Interfaces:
- java.lang.Cloneable
public class UserRendererJ3D
- extends DefaultRendererJ3D
UserRendererJ3D is the VisAD DataRenderer for remote users
connecting to a cluster via a proxy on the client.
Methods inherited from class visad.java3d.RendererJ3D |
clearBranch, clearScene, doAction, flush, getBranch, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggle |
Methods inherited from class visad.DataRenderer |
addException, addPoint, checkAction, checkClose, checkDirect, clearAVControls, clearExceptions, 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, getRanges, getRealVectorTypes, getWhyNotDirect, isLegalTextureMap, isTransformControl, realCheckDirect, release_direct, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, spatialToEarth, spatialToEarth, stop_direct, suppressExceptions |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserRendererJ3D
public UserRendererJ3D()
UserRendererJ3D
public UserRendererJ3D(RemoteProxyAgent a)
UserRendererJ3D
public UserRendererJ3D(RemoteProxyAgent a,
long to)
setResolutions
public void setResolutions(int[] rs)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
prepareAction
public DataShadow prepareAction(boolean go,
boolean initialize,
DataShadow shadow)
throws VisADException,
java.rmi.RemoteException
- Description copied from class:
DataRenderer
- check if re-transform is needed; if initialize is true then
compute ranges for RealType-s and Animation sampling
- Overrides:
prepareAction
in class DataRenderer
- Throws:
VisADException
java.rmi.RemoteException
doTransform
public javax.media.j3d.BranchGroup doTransform()
throws VisADException,
java.rmi.RemoteException
- create a scene graph for Data in links[0]
- Overrides:
doTransform
in class DefaultRendererJ3D
- Throws:
VisADException
java.rmi.RemoteException
setSpatialValues
public void setSpatialValues(float[][] spatial_values)
- Description copied from class:
DataRenderer
- set spatialValues from ShadowType.doTransform
- Overrides:
setSpatialValues
in class DataRenderer
convertSceneGraph
public javax.media.j3d.Node convertSceneGraph(VisADSceneGraphObject scene)
throws VisADException
- Throws:
VisADException
computeRanges
public DataShadow computeRanges(Data data,
ShadowType type,
DataShadow shadow)
throws VisADException,
java.rmi.RemoteException
- Overrides:
computeRanges
in class DataRenderer
- Throws:
VisADException
java.rmi.RemoteException
clone
public java.lang.Object clone()
- Overrides:
clone
in class DefaultRendererJ3D
main
public static void main(java.lang.String[] args)
throws VisADException,
java.rmi.RemoteException
- Throws:
VisADException
java.rmi.RemoteException