Class ClassificationWidgetState

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClassificationWidgetState
    extends java.lang.Object
    implements java.io.Serializable
    This class stores the information needed for calculating how the multi-histogram is applied to the volume to create the rendered image. It encapsulates all the parameters that can be set for the widget and is used to pass those parameters to the GLSL shader program that renders the volume. Each widget used in the multi-histogram tool contains it's own ClassificationWidgetState which is passed to the GLSL shader program. The number of widgets is limited to VolumeImageMultiDimensionalTransfer.MAX_WIDGETS.
    See Also:
    Serialized Form
    • Field Detail

      • Circle

        public static int Circle
        Current three types of widget:
      • Square

        public static int Square
      • Triangle

        public static int Triangle
      • m_iTextureID

        public static int m_iTextureID
      • Color

        public float[] Color
        Default color for the color transfer function is white:
      • Center

        public float[] Center
        Widget Center:
      • MidLine

        public float[] MidLine
        Transfer function mid-line:
      • LeftLine

        public float[] LeftLine
        Transfer function left line:
      • RightLine

        public float[] RightLine
        Transfer function right line:
      • Shift

        public float[] Shift
        Transfer function shift:
      • XRatio

        public float[] XRatio
        Transfer function y-ratios:
      • YRatio

        public float[] YRatio
        Transfer function y-ratios:
      • Radius

        public float[] Radius
        Transfer function radius:
      • BoundaryEmphasis

        public float[] BoundaryEmphasis
        contribution of the boundary emphasis slider and therefor the contribution of the 2nd derivative of the data.
      • UseWidget

        public float[] UseWidget
        turns the widget on/off in the GLSL shader code.
      • UseColorMap

        public float[] UseColorMap
        turns the widget color map on/off in the GLSL shader code.
      • InvertLUT

        public boolean InvertLUT
      • Type

        public int Type
    • Constructor Detail

      • ClassificationWidgetState

        public ClassificationWidgetState()
        Default Constructor:
    • Method Detail

      • Copy

        public void Copy​(ClassificationWidgetState kIn)
        Copies the input ClassificationWidgetState:
        Parameters:
        kIn - ClassificationWidgetState to copy.
      • dispose

        public void dispose()
        Dispose local memory.