Surface
vmm3d.surface

Class Surface

    • Field Detail

      • uPatchCount

        public IntegerParam uPatchCount
        The U resolution, that is, the number of patches in the u direction. By convention, the number of points along the u-direction of the surface is 1 plus 6 times the value of uPatchCount, since there are 6 "subpatches" along each side of a patch. (However, the number of subpatches per patch is actually selected by a subclass when it creates the data for the surface.)
      • vPatchCount

        public IntegerParam vPatchCount
        The U resolution, that is, the number of patches in the u direction. By convention, the number of points along the u-direction of the surface is 1 plus 6 times the value of vPatchCount.
    • Method Detail

      • getDefaultOrientation

        public int getDefaultOrientation()
        Returns the default orientation setting for this surface. This property determines which side of the surface, if any, is front-facing.
        See Also:
        setDefaultOrientation(int)
      • setDefaultOrientation

        public void setDefaultOrientation(int defaultOrientation)
        Set the default orientation setting for this surface. This property determines which side of the surface, if any, is front-facing. The possible settings are: View3DLit.NORMAL_ORIENTATION, View3DLit.REVERSE_ORIENTATION, and View3DLit.NO_ORIENTATION. Other values of the parameter are ignored. If it is not changed by calling this method, the default orientation is View3DLit.NORMAL_ORIENTATION.

        Note that the default orientation is used only when a View is created by the getDefaultView() method.

        See Also:
        View3DLit.setOrientation(int)
      • getDefaultView

        public View getDefaultView()
        Returns a default view of this exhibit, a View of type SurfaceView. (Note: If a Surface is displayed in a plain View3D, it will always appear as a wireframe.)
        Overrides:
        getDefaultView in class Exhibit3D
      • getGrid3D

        public Grid3D getGrid3D()
        Returns grid 3D.
      • getBuildAnimation

        public Animation getBuildAnimation(View view)
        Returns a surface build animation, which shows patches being drawn bit-by-bit in back to front order.
        Overrides:
        getBuildAnimation in class Exhibit
        Parameters:
        view - The view into which the build animation will be installed.
        Returns:
        The return value in this top-level Exhibit class is null.

SCaVis 2.0 © jWork.ORG