Documentation of 'visad.bom.SwellRendererJ3D' Java class
SwellRendererJ3D
visad.bom

Class SwellRendererJ3D

  • All Implemented Interfaces:
    java.lang.Cloneable, BarbRenderer


    public class SwellRendererJ3D
    extends DefaultRendererJ3D
    implements BarbRenderer
    SwellRendererJ3D is the VisAD class for rendering of wind barbs under Java3D - otherwise it behaves just like DefaultRendererJ3D
    • Constructor Detail

      • SwellRendererJ3D

        public SwellRendererJ3D()
        this DataRenderer supports direct manipulation for RealTuple representations of wind barbs; four of the RealTuple's Real components must be mapped to XAxis, YAxis, Flow1X and Flow1Y
    • Method Detail

      • makeShadowFunctionType

        public ShadowType makeShadowFunctionType(FunctionType type,
                                                 DataDisplayLink link,
                                                 ShadowType parent)
                                          throws VisADException,
                                                 java.rmi.RemoteException
        Description copied from class: DataRenderer
        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;
        Overrides:
        makeShadowFunctionType in class RendererJ3D
        Parameters:
        type - FunctionType that returned ShadowType will shadow
        link - DataDisplayLink linking Data to be depicted
        parent - parent in ShadowType tree structure
        Returns:
        constructed ShadowType
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • makeShadowRealTupleType

        public ShadowType makeShadowRealTupleType(RealTupleType type,
                                                  DataDisplayLink link,
                                                  ShadowType parent)
                                           throws VisADException,
                                                  java.rmi.RemoteException
        Description copied from class: DataRenderer
        factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealTupleType; 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:
        makeShadowRealTupleType in class RendererJ3D
        Parameters:
        type - FunctionType that returned ShadowType will shadow
        link - DataDisplayLink linking Data to be depicted
        parent - parent in ShadowType tree structure
        Returns:
        constructed ShadowType
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • makeShadowRealType

        public ShadowType makeShadowRealType(RealType type,
                                             DataDisplayLink link,
                                             ShadowType parent)
                                      throws VisADException,
                                             java.rmi.RemoteException
        Description copied from class: DataRenderer
        factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealType; 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:
        makeShadowRealType in class RendererJ3D
        Parameters:
        type - FunctionType that returned ShadowType will shadow
        link - DataDisplayLink linking Data to be depicted
        parent - parent in ShadowType tree structure
        Returns:
        constructed ShadowType
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • makeShadowSetType

        public ShadowType makeShadowSetType(SetType type,
                                            DataDisplayLink link,
                                            ShadowType parent)
                                     throws VisADException,
                                            java.rmi.RemoteException
        Description copied from class: DataRenderer
        factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowSetType; 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:
        makeShadowSetType in class RendererJ3D
        Parameters:
        type - FunctionType that returned ShadowType will shadow
        link - DataDisplayLink linking Data to be depicted
        parent - parent in ShadowType tree structure
        Returns:
        constructed ShadowType
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • makeShadowTupleType

        public ShadowType makeShadowTupleType(TupleType type,
                                              DataDisplayLink link,
                                              ShadowType parent)
                                       throws VisADException,
                                              java.rmi.RemoteException
        Description copied from class: DataRenderer
        factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowTupleType; 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:
        makeShadowTupleType in class RendererJ3D
        Parameters:
        type - FunctionType that returned ShadowType will shadow
        link - DataDisplayLink linking Data to be depicted
        parent - parent in ShadowType tree structure
        Returns:
        constructed ShadowType
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • makeVector

        public float[] makeVector(boolean south,
                                  float x,
                                  float y,
                                  float z,
                                  float scale,
                                  float pt_size,
                                  float f0,
                                  float f1,
                                  float[] vx,
                                  float[] vy,
                                  float[] vz,
                                  int[] numv,
                                  float[] tx,
                                  float[] ty,
                                  float[] tz,
                                  int[] numt)
        Specified by:
        makeVector in interface BarbRenderer
      • 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
        run 'java visad.bom.SwellRendererJ3D middle_latitude' to test with Cartesian winds run 'java visad.bom.SwellRendererJ3D middle_latitude x' to test with polar winds adjust middle_latitude for south or north barbs
        Throws:
        VisADException
        java.rmi.RemoteException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.