Class ViewJComponentPedsAtlasIconImage

    • Field Detail

      • selectedOrientation

        private java.lang.String selectedOrientation
        selected orientation
      • thisOrientation

        private java.lang.String thisOrientation
      • iconWidth

        private int iconWidth
      • iconHeight

        private int iconHeight
      • linePosition

        private int linePosition
    • Constructor Detail

      • ViewJComponentPedsAtlasIconImage

        public ViewJComponentPedsAtlasIconImage​(ViewJFrameBase _frame,
                                                ModelImage _imageA,
                                                ModelLUT _LUTa,
                                                float[] imgBufferA,
                                                int[] pixelBuffer,
                                                float zoom,
                                                int[] extents,
                                                boolean logMagDisplay,
                                                int _orientation,
                                                java.lang.String thisOrientation)
    • Method Detail

      • show

        public boolean show​(int tSlice,
                            int zSlice,
                            ModelLUT _LUTa,
                            ModelLUT _LUTb,
                            boolean forceShow,
                            int linePosition,
                            java.lang.String selectedOrientation)
        Shows the image and the VOI(s).
        Parameters:
        tSlice - t (time) slice to show
        zSlice - z slice to show
        _LUTa - LUTa - to change to new LUT for imageA else null
        _LUTb - LUTb - to change to new LUT for imageB else null
        forceShow - forces this method to import image and recalculate java image
        interpMode - image interpolation method (Nearest or Smooth)
        Returns:
        boolean to indicate if the show was successful
      • show

        public boolean show​(int tSlice,
                            int zSlice,
                            ModelLUT _LUTa,
                            ModelLUT _LUTb,
                            boolean forceShow,
                            int interpMode)
        Shows the image and the VOI(s).
        Overrides:
        show in class ViewJComponentEditImage
        Parameters:
        tSlice - t (time) slice to show
        zSlice - z slice to show
        _LUTa - LUTa - to change to new LUT for imageA else null
        _LUTb - LUTb - to change to new LUT for imageB else null
        forceShow - forces this method to import image and recalculate java image
        interpMode - image interpolation method (Nearest or Smooth)
        Returns:
        boolean to indicate if the show was successful
      • mouseClicked

        public void mouseClicked​(java.awt.event.MouseEvent mouseEvent)
        mouse clicked
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
        Overrides:
        mouseClicked in class ViewJComponentEditImage
        Parameters:
        mouseEvent - event that triggers function; contains click count
      • mouseDragged

        public void mouseDragged​(java.awt.event.MouseEvent mouseEvent)
        mouse dragged
        Specified by:
        mouseDragged in interface java.awt.event.MouseMotionListener
        Overrides:
        mouseDragged in class ViewJComponentEditImage
        Parameters:
        mouseEvent - event that triggered function
      • mouseEntered

        public void mouseEntered​(java.awt.event.MouseEvent mouseEvent)
        mouse entered
        Specified by:
        mouseEntered in interface java.awt.event.MouseListener
        Overrides:
        mouseEntered in class ViewJComponentEditImage
        Parameters:
        mouseEvent - event
      • mouseExited

        public void mouseExited​(java.awt.event.MouseEvent mouseEvent)
        mouse exited
        Specified by:
        mouseExited in interface java.awt.event.MouseListener
        Overrides:
        mouseExited in class ViewJComponentEditImage
        Parameters:
        mouseEvent - event that triggered function
      • mouseMoved

        public void mouseMoved​(java.awt.event.MouseEvent mouseEvent)
        mouse moved
        Specified by:
        mouseMoved in interface java.awt.event.MouseMotionListener
        Overrides:
        mouseMoved in class ViewJComponentEditImage
        Parameters:
        mouseEvent - event that triggered the function
      • mousePressed

        public void mousePressed​(java.awt.event.MouseEvent mouseEvent)
        mouse pressed
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
        Overrides:
        mousePressed in class ViewJComponentEditImage
        Parameters:
        mouseEvent - event that triggered function
      • mousePressedPaint

        protected void mousePressedPaint​(java.awt.event.MouseEvent mouseEvent)
        mouse pressed paint
        Overrides:
        mousePressedPaint in class ViewJComponentEditImage
        Parameters:
        mouseEvent - the mouseEvent that triggered this function call.
      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent mouseEvent)
        mouse released
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
        Overrides:
        mouseReleased in class ViewJComponentEditImage
        Parameters:
        mouseEvent - event that triggered function
      • mouseWheelMoved

        public void mouseWheelMoved​(java.awt.event.MouseWheelEvent mouseWheelEvent)
        mouse wheel moved
        Specified by:
        mouseWheelMoved in interface java.awt.event.MouseWheelListener
        Overrides:
        mouseWheelMoved in class ViewJComponentEditImage
        Parameters:
        mouseWheelEvent - DOCUMENT ME!