gov.nih.mipav.view
Interface ViewImageUpdateInterface

All Known Implementing Classes:
AlgorithmDWI2DTI, DialogDTIColorDisplay, FlythruRender, JPanelBrainSurfaceFlattener, JPanelBrainSurfaceFlattener_WM, JPanelHistoLUT, JPanelSurfaceTexture, JPanelSurfaceTexture_WM, MjCorticalAnalysis, RenderViewBase, SurfacePlotter, SurfaceRender, SurfaceView, ViewJFrameAnimate, ViewJFrameAnimateClip, ViewJFrameBase, ViewJFrameCardiology, ViewJFrameColocalizationEM, ViewJFrameColocalizationRegression, ViewJFrameFastMarching2, ViewJFrameFastMarching3, ViewJFrameHistoLUT, ViewJFrameHistoRGB, ViewJFrameImage, ViewJFrameLightBox, ViewJFrameMultiple, 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
 void setSlice(int slice)
          setSlice.
 void setTimeSlice(int tSlice)
          setTimeSlice.
 boolean updateImageExtents()
          This methods calls the componentImage's REPAINT method to redraw the screen.
 boolean updateImages()
          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 Detail

setSlice

void setSlice(int slice)
setSlice.

Parameters:
slice - DOCUMENT ME!

setTimeSlice

void setTimeSlice(int tSlice)
setTimeSlice.

Parameters:
tSlice - DOCUMENT ME!

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:
DOCUMENT ME!

updateImages

boolean updateImages()
This methods calls the componentImage's REPAINT method to redraw the screen. Without LUT changes or image changes

Returns:
DOCUMENT ME!

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