visad.cluster
Class ClientRendererJ3D
java.lang.Object
   visad.DataRenderer
visad.DataRenderer
       visad.java3d.RendererJ3D
visad.java3d.RendererJ3D
           visad.java3d.DefaultRendererJ3D
visad.java3d.DefaultRendererJ3D
               visad.cluster.ClientRendererJ3D
visad.cluster.ClientRendererJ3D
- All Implemented Interfaces: 
- Cloneable
- public class ClientRendererJ3D 
- extends DefaultRendererJ3D
ClientRendererJ3D is the VisAD DataRenderer for cluster clients
 
 
 
 
 
| 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, 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, 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 | 
 
 
ClientRendererJ3D
public ClientRendererJ3D()
ClientRendererJ3D
public ClientRendererJ3D(long to)
setResolutions
public void setResolutions(int[] rs)
- 
 
prepareAction
public DataShadow prepareAction(boolean go,
                                boolean initialize,
                                DataShadow shadow)
                         throws VisADException,
                                RemoteException
- Description copied from class: DataRenderer
- check if re-transform is needed; if initialize is true then
 compute ranges for RealTypes and Animation sampling
 
- 
- Overrides:
- prepareActionin class- DataRenderer
 
- 
- Parameters:
- go- flag indicating that re-transform is required for
           at least one DataRenderer linked to DisplayImpl
- initialize- flag indicating that initialization (i.e.,
                   auto-scaling) is required
- shadow- DataShadow shared by prepareAction() method of
               all DataRenderers linked to DisplayImpl
- Returns:
- DataShadow containing ranges and animation sampling
         Set (return null if no need for initialization)
- Throws:
- VisADException- a VisAD error occurred
- RemoteException- an RMI error occurred
 
doTransform
public BranchGroup doTransform()
                        throws VisADException,
                               RemoteException
- create a scene graph for Data in links[0]
 
- 
- Overrides:
- doTransformin class- DefaultRendererJ3D
 
- 
- Throws:
- VisADException
- RemoteException
 
setSpatialValues
public void setSpatialValues(float[][] spatial_values)
- Description copied from class: DataRenderer
- set spatial values for Data depiction; used to detect when
 direct manipulation mouse selects a point of a Data depiction
 
- 
- Overrides:
- setSpatialValuesin class- DataRenderer
 
- 
- Parameters:
- spatial_values- float[3][number_of_points] of 3-D locations
                       of depiction points
 
convertSceneGraph
public Node convertSceneGraph(VisADSceneGraphObject scene)
                       throws VisADException
- 
- Throws:
- VisADException
 
computeRanges
public DataShadow computeRanges(Data data,
                                ShadowType type,
                                DataShadow shadow)
                         throws VisADException,
                                RemoteException
- Description copied from class: DataRenderer
- Compute ranges of values for each RealType in
 DisplayImpl.RealTypeVector.
 
- 
- Overrides:
- computeRangesin class- DataRenderer
 
- 
- Parameters:
- data- Data object in which to compute ranges of RealType values
- type- ShadowType generated for MathType of data
- shadow- DataShadow instance whose contained double[][]
               array and animation sampling Set are modified
               according to RealType values in data, and used
               as return value
- Returns:
- DataShadow instance containing double[][] array
         of RealType ranges, and an animation sampling Set
- Throws:
- VisADException- a VisAD error occurred
- RemoteException- an RMI error occurred
 
clone
public Object clone()
- 
- Overrides:
- clonein class- DefaultRendererJ3D
 
- 
- Returns:
- a copy of this DataRenderer
 
main
public static void main(String[] args)
                 throws VisADException,
                        RemoteException
- 
- Throws:
- VisADException
- RemoteException