Interface HistoLUTParent

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void dragPoint​(java.awt.event.MouseEvent mouseEvent)
      Handle the dragging of a transfer function point.
      boolean isImageUpdate()
      Indicates if real-time update of the image should take place.
      void setAllOff()
      Accessor to disable the all RGB color channels button if one of the lines has moved.
      void setLUT​(ModelLUT newLUT)
      Replaces the LUT and builds a new LUT component.
      void setRangeText​(float x, float y, int _index)
      Set the range value of the text field.
      void updateComponentLUT()
      Redraw the componentLUT.
      void updateFrames​(boolean flag)
      Update all of the image frames that display the image this histo lut is for.
      void updateLUTPositionString​(java.lang.String str)
      Sets the position string in the LUT text field.
      void updateThresholdFields​(float lower, float upper)
      Method to update the threshold text fields when the lower or upper threshold changes.
    • Method Detail

      • dragPoint

        void dragPoint​(java.awt.event.MouseEvent mouseEvent)
        Handle the dragging of a transfer function point.
        Parameters:
        mouseEvent - the point dragging event
      • isImageUpdate

        boolean isImageUpdate()
        Indicates if real-time update of the image should take place.
        Returns:
        true if real time update should take place
      • setAllOff

        void setAllOff()
        Accessor to disable the all RGB color channels button if one of the lines has moved.
      • setLUT

        void setLUT​(ModelLUT newLUT)
        Replaces the LUT and builds a new LUT component.
        Parameters:
        newLUT - New LUT
      • setRangeText

        void setRangeText​(float x,
                          float y,
                          int _index)
        Set the range value of the text field.
        Parameters:
        x - the x threshold range value
        y - the y threshold range value
        _index - the cursor index
      • updateComponentLUT

        void updateComponentLUT()
        Redraw the componentLUT.
      • updateFrames

        void updateFrames​(boolean flag)
        Update all of the image frames that display the image this histo lut is for.
        Parameters:
        flag - this boolean indicates if the frame that displays the image should re-export the image and apply new LUT
        See Also:
        ModelImage.notifyImageDisplayListeners()
      • updateLUTPositionString

        void updateLUTPositionString​(java.lang.String str)
        Sets the position string in the LUT text field.
        Parameters:
        str - the position string
      • updateThresholdFields

        void updateThresholdFields​(float lower,
                                   float upper)
        Method to update the threshold text fields when the lower or upper threshold changes.
        Parameters:
        lower - the lower threshold value
        upper - the upper threshold value