Class SoHighlightRenderAction

Direct Known Subclasses:
SoBoxHighlightRenderAction, SoColorHighlightRenderAction, SoHaloHighlightRenderAction, SoLineHighlightRenderAction

public class SoHighlightRenderAction extends SoGLRenderAction
Abstract base class for Highlight Render Actions. To implement a new Highlight Render Action, the method apply() should be re-implemented.

See Also:
  • Method Details

    • setVisible

      public void setVisible(boolean b)
      This provides a convenient mechanism for turning highlights off or on. When false is passed, subsequent calls to apply() render the scene graph without rendering highlights. The application is responsible for forcing a redraw of the scene after changing this state. The default visibility is on.
    • enableElement

      public static void enableElement(Class<? extends Inventor> t, int stkIndex)
    • isVisible

      public boolean isVisible()
      Returns whether highlights will be rendered or not.