Class JoGLClippingManager

  • All Implemented Interfaces:
    ClippingManager

    public class JoGLClippingManager
    extends java.lang.Object
    implements ClippingManager
    Author:
    Pierre Lando
    • Constructor Detail

      • JoGLClippingManager

        public JoGLClippingManager​(JoGLDrawingTools drawingTools)
        Default constructor.
        Parameters:
        drawingTools - used drawing tools.
    • Method Detail

      • getClippingPlaneNumber

        public int getClippingPlaneNumber()
        Description copied from interface: ClippingManager
        Return the number of available clipping plane. At least 6 clipping plane are supported.
        Specified by:
        getClippingPlaneNumber in interface ClippingManager
        Returns:
        the number of available clipping plane.
      • getClippingPlane

        public JoGLClippingPlane getClippingPlane​(int i)
        Description copied from interface: ClippingManager
        Return the i-th clipping plane. null is returned if i is not a valid index.
        Specified by:
        getClippingPlane in interface ClippingManager
        Parameters:
        i - the given index.
        Returns:
        the i-th clipping plane.
      • reload

        public void reload()