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

Class DefaultDisplayRendererJ3D

    • Constructor Detail

      • DefaultDisplayRendererJ3D

        public DefaultDisplayRendererJ3D()
        This is the default DisplayRenderer used by the DisplayImplJ3D constructor. It draws a 3-D cube around the scene.

        The left mouse button controls the projection as follows:

        • mouse drag rotates in 3-D
        • mouse drag with Shift down zooms the scene
        • mouse drag with Ctrl translates the scene sideways
        The center mouse button activates and controls the 3-D cursor as follows:
        • mouse drag translates the cursor sideways
        • mouse drag with Shift translates the cursor in and out
        • mouse drag with Ctrl rotates scene in 3-D with cursor on
        The right mouse button is used for direct manipulation by clicking on the depiction of a Data object and dragging or re-drawing it.

        Cursor and direct manipulation locations are displayed in RealType values.

        BadMappingExceptions and UnimplementedExceptions are displayed

      • DefaultDisplayRendererJ3D

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

      • 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)
        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.