Documentation of 'visad.cluster.UserRendererJ3D' Java class
UserRendererJ3D
visad.cluster

Class 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.
    • Constructor Detail

      • UserRendererJ3D

        public UserRendererJ3D()
    • Method Detail

      • 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 RealTypes and Animation sampling
        Overrides:
        prepareAction in 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
        java.rmi.RemoteException - an RMI error occurred
      • 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:
        setSpatialValues in class DataRenderer
        Parameters:
        spatial_values - float[3][number_of_points] of 3-D locations of depiction points
      • computeRanges

        public DataShadow computeRanges(Data data,
                                        ShadowType type,
                                        DataShadow shadow)
                                 throws VisADException,
                                        java.rmi.RemoteException
        Description copied from class: DataRenderer
        Compute ranges of values for each RealType in DisplayImpl.RealTypeVector.
        Overrides:
        computeRanges in 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
        java.rmi.RemoteException - an RMI error occurred
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class DefaultRendererJ3D
        Returns:
        a copy of this DataRenderer
      • main

        public static void main(java.lang.String[] args)
                         throws VisADException,
                                java.rmi.RemoteException
        Throws:
        VisADException
        java.rmi.RemoteException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.