Package gov.nih.mipav.view
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 TypeMethodDescriptionvoidsetSlice(int slice) setSlice.voidsetTimeSlice(int tSlice) setTimeSlice.booleanThis methods calls the componentImage's REPAINT method to redraw the screen.booleanThis methods calls the componentImage's REPAINT method to redraw the screen.booleanupdateImages(boolean flag) This methods calls the componentImage's update method to redraw the screen.booleanupdateImages(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
This methods calls the componentImage's update method to redraw the screen.- Parameters:
LUTa- LUT used to update imageALUTb- LUT used to update imageBflag- forces show to re import image and calc. java imageinterpMode- image interpolation method (Nearest or Smooth)- Returns:
- boolean confirming a successful update
-