SurfaceView
vmm3d.surface

Class SurfaceView

    • Constructor Detail

      • SurfaceView

        public SurfaceView()
    • Method Detail

      • setGridSpacing

        public void setGridSpacing(int gridSpacing)
        Determines how many grid lines are actually drawn. A grid line is drawn every gridSpacing subpatches in each direction of the grid, except that the final grid line is always drawn. If the value of gridSpacing is set to 0, then no grid lines are drawn along the surface; an exception is that when the surface is drawn in wireframe and gridSpacing is 0, grid lines are drawn.
      • getGridSpacing

        public int getGridSpacing()
        Set the spacing between grid lines that are drawn.
        See Also:
        setGridSpacing(int)
      • getShowUGridLines

        public boolean getShowUGridLines()
        Tells whether grid lines are drawn in the U direction.
        See Also:
        setShowUGridLines(boolean)
      • setShowUGridLines

        public void setShowUGridLines(boolean showUGridLines)
        Set whether grid lines are drawn in the U direction. If the value is set to false, no U grid lines are drawn. If it is set to true, grid lines are drawn, with the spacing between grid lines depending on the value set by setGridSpacing(int). (Wireframe mode is a special case in that some grid lines are drawn in wireframe mode, even if grid lines are turned off in both directions.)
      • getShowVGridLines

        public boolean getShowVGridLines()
        Tells whether grid lines are drawn in the V direction.
        See Also:
        setShowVGridLines(boolean)
      • setShowVGridLines

        public void setShowVGridLines(boolean showVGridLines)
        Set whether grid lines are drawn in the V direction. If the value is set to false, no V grid lines are drawn. If it is set to true, grid lines are drawn, with the spacing between grid lines depending on the value set by setGridSpacing(int). (Wireframe mode is a special case in that some grid lines are drawn in wireframe mode, even if grid lines are turned off in both directions.)
      • getActions

        public ActionList getActions()
        Description copied from class: View
        Generates a list of "Action commands" that can be applied to this View. The commands must implement the ActionItem interface and will generally belong to one of the classes AbstractActionVMM, ToggleAction, ActionRadioGroup, or ActionList. Null items represent separators. The idea is that the list items will be added to a menu or otherwise presented to the user so that the user can invoke the commands (with ActionList items representing submenus). Null values can occur in the list; they are meant to become separaters in the menu.

        Subclasses that override this method should generally call super.getActionss() and add their commands to the list retured by that method. This top-level View class does not define any Action commands; the return value is an empty non-null ArrayList.

        Overrides:
        getActions in class View
      • setExhibit

        public void setExhibit(Exhibit exhibit)
        This method is overridden to set the orientation of a Surface exhibit from the defaultOrientation property of the Surface.
        Overrides:
        setExhibit in class View3D
        Parameters:
        exhibit - The exhibit to be installed in this View. The value can be null. In that case, no Exhibit will be associated with the View after the method executes. If exhibit is already installed in this View, then no changes are made.
        See Also:
        Surface.setDefaultOrientation(int)

SCaVis 2.0 © jWork.ORG