Documentation of 'visad.java3d.TwoDDisplayRendererJ3D' Java class
TwoDDisplayRendererJ3D
visad.java3d

Class TwoDDisplayRendererJ3D

    • Constructor Detail

      • TwoDDisplayRendererJ3D

        public TwoDDisplayRendererJ3D()
        This DisplayRenderer supports 2-D only rendering. It is easiest to describe in terms of differences from DefaultDisplayRendererJ3D. The cursor and box around the scene are 2-D, the scene cannot be rotated, the cursor cannot be translated in and out, and the scene can be translated sideways with the left mouse button with or without pressing the Ctrl key.

        No RealType may be mapped to ZAxis or Latitude.

      • TwoDDisplayRendererJ3D

        public TwoDDisplayRendererJ3D(java.lang.Class mbj3dClass)
        Parameters:
        mbj3dClass - - sub Class of MouseBehaviorJ3D
    • Method Detail

      • getMode2D

        public boolean getMode2D()
        Description copied from class: DisplayRenderer
        Return true if this is a 2-D DisplayRenderer.
        Overrides:
        getMode2D in class DisplayRenderer
        Returns:
        true if this is a 2-D renderer.
      • legalDisplayScalar

        public boolean legalDisplayScalar(DisplayRealType type)
        Description copied from class: DisplayRenderer
        Return true if type is legal for this DisplayRenderer; for example, 2-D DisplayRenderers use this to disallow mappings to ZAxis and Latitude.
        Overrides:
        legalDisplayScalar in class DisplayRenderer
        Parameters:
        type - The mapping type to check.
        Returns:
        true if type is legal.
      • createSceneGraph

        public javax.media.j3d.BranchGroup createSceneGraph(javax.media.j3d.View v,
                                                            javax.media.j3d.TransformGroup vpt,
                                                            VisADCanvasJ3D c)
        Create scene graph root, if none exists, with Transform and direct manipulation root; create 3-D box, lights and MouseBehaviorJ3D for embedded user interface.
        Specified by:
        createSceneGraph in class DisplayRendererJ3D
        Parameters:
        v -
        vpt -
        c -
        Returns:
        Scene graph root.
      • setBoxAspect

        public void setBoxAspect(double[] aspect)
        Description copied from class: DisplayRenderer
        set the aspect for the containing box aspect double[3] array used to scale x, y and z box sizes
        Specified by:
        setBoxAspect in class DisplayRenderer

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.