Interface ViewImageUpdateInterface

All Known Implementing Classes:
DialogDTIColorDisplay, DTIColorDisplay, FlythruRender, JDialogMaximumIntensityProjection, JFrameHistogram, JPanelBrainSurfaceFlattener, JPanelBrainSurfaceFlattener_WM, JPanelHistoLUT, JPanelSurfaceTexture, JPanelSurfaceTexture_WM, MjCorticalAnalysis, RenderViewBase, SurfacePlotter, SurfaceRender, SurfaceView, ViewJFrameAnimate, ViewJFrameAnimateClip, ViewJFrameBase, ViewJFrameColocalizationEM, ViewJFrameColocalizationRegression, ViewJFrameFastMarching2, ViewJFrameFastMarching3, ViewJFrameHistoLUT, ViewJFrameHistoRGB, ViewJFrameImage, ViewJFrameLightBox, ViewJFrameMultimodalitySingleViewer, ViewJFrameMultimodalityViewer, ViewJFramePaintVasculature, ViewJFramePlotterView, ViewJFrameRegistration, ViewJFrameRegistrationTool, ViewJFrameRenderCamera, ViewJFrameTriImage, ViewJFrameVolumeView, VolumeRenderer, VolumeRendererRayCast, VolumeRendererShearWarp, VolumeTriPlanarInterface, VolumeTriPlanarInterfaceDTI

public interface ViewImageUpdateInterface
Interface to update display of an image.
Version:
1.0 March 11, 1999
Author:
Matthew J. McAuliffe, Ph.D.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setSlice(int slice)
    setSlice.
    void
    setTimeSlice(int tSlice)
    setTimeSlice.
    boolean
    This methods calls the componentImage's REPAINT method to redraw the screen.
    boolean
    This methods calls the componentImage's REPAINT method to redraw the screen.
    boolean
    updateImages(boolean flag)
    This methods calls the componentImage's update method to redraw the screen.
    boolean
    updateImages(ModelLUT LUTa, ModelLUT LUTb, boolean flag, int interpMode)
    This methods calls the componentImage's update method to redraw the screen.
  • Method Details

    • setSlice

      void setSlice(int slice)
      setSlice.
      Parameters:
      slice - Current slice
    • setTimeSlice

      void setTimeSlice(int tSlice)
      setTimeSlice.
      Parameters:
      tSlice - Current time volume
    • updateImageExtents

      boolean updateImageExtents()
      This methods calls the componentImage's REPAINT method to redraw the screen. The extents on this image have changed, so the extents need to be read in again and menus, panes and slide bars adjusted accordingly.
      Returns:
      boolean confirming successful update
    • updateImages

      boolean updateImages()
      This methods calls the componentImage's REPAINT method to redraw the screen. Without LUT changes or image changes
      Returns:
      boolean confirming successful update
    • updateImages

      boolean updateImages(boolean flag)
      This methods calls the componentImage's update method to redraw the screen. Without LUT changes.
      Parameters:
      flag - forces show to re import image and calc. java image
      Returns:
      boolean confirming successful update
    • updateImages

      boolean updateImages(ModelLUT LUTa, ModelLUT LUTb, boolean flag, int interpMode)
      This methods calls the componentImage's update method to redraw the screen.
      Parameters:
      LUTa - LUT used to update imageA
      LUTb - LUT used to update imageB
      flag - forces show to re import image and calc. java image
      interpMode - image interpolation method (Nearest or Smooth)
      Returns:
      boolean confirming a successful update