|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame gov.nih.mipav.view.ViewJFrameBase gov.nih.mipav.view.renderer.J3D.surfaceview.plotterview.ViewJFramePlotterView
public class ViewJFramePlotterView
Title: ViewJFramePlotterView
Description: The plotter render view frame. The plotter render views images based on each slice intensity values. Component surface created from a 2D image. The intensity values are mapped like a relief map, with higher intensities making peaks and lower intensities forming valleys. A quad mesh is used to create the three-dimensional map. The same LUT from the image is used to colors the vertices of the quad mesh.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected GraphicsConfiguration |
config
Configuration param, which will pass down to each render's constructor. |
protected Font |
serif12
Fonts, same as MipavUtil.font12 and MipavUtil.font12B. |
protected Font |
serif12B
Fonts, same as MipavUtil.font12 and MipavUtil.font12B. |
Fields inherited from class gov.nih.mipav.view.ViewJFrameBase |
---|
absoluteLabel, absoluteLabelVals, absolutePanel, alphaBlend, displayMode, IMAGE_A, IMAGE_A_B, IMAGE_B, imageA, imageB, linkedScrolling, linkFrame, linkTriFrame, LUTa, LUTb, progressBar, scannerLabel, scannerLabelVals, scannerPanel, userInterface, zoomMode |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ViewJFramePlotterView(ModelImage _imageA,
ModelLUT _LUTa,
int slice)
The frame the rendering the plotter view of images. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent event)
Calls various methods depending on the action. |
protected JMenuBar |
buildMenu()
Builds menu. |
protected void |
configureFrame()
Constructs main frame structures for 3 images. |
void |
disposeLocal(boolean flag)
Dispose memory. |
protected void |
finalize()
Cleans up memory from gc. |
ViewControlsImage |
getControls()
DOCUMENT ME! |
ModelImage |
getImageA()
DOCUMENT ME! |
ModelImage |
getImageB()
DOCUMENT ME! |
protected void |
init()
Initialize the the frame layout. |
void |
insertTab(String _name,
JPanel _panel)
Insert the new tab into the current visible tab list. |
void |
removeControls()
DOCUMENT ME! |
void |
setActiveImage(int active)
DOCUMENT ME! |
void |
setAlphaBlend(int value)
DOCUMENT ME! |
void |
setControls()
DOCUMENT ME! |
void |
setEnabled(boolean flag)
DOCUMENT ME! |
void |
setImageB(ModelImage imageB)
DOCUMENT ME! |
void |
setLUTa(ModelLUT LUT)
Accessor that sets the LUT. |
void |
setPaintBitmapSwitch(boolean flag)
DOCUMENT ME! |
void |
setRGBTA(ModelRGB RGBT)
Sets the RGB table for ARGB image A. |
void |
setRGBTB(ModelRGB RGBT)
DOCUMENT ME! |
void |
setSlice(int slice)
Funcions do nothing, but extends ViewJFrameBase. |
void |
setTimeSlice(int slice)
DOCUMENT ME! |
void |
setTitle()
DOCUMENT ME! |
boolean |
updateImageExtents()
DOCUMENT ME! |
boolean |
updateImages()
Update images in surface render, raycast render and shearwarp render. |
boolean |
updateImages(boolean forceShow)
This methods calls corresponding render to update images without LUT changes. |
boolean |
updateImages(ModelLUT LUTa,
ModelLUT LUTb,
boolean forceShow,
int interpMode)
This methods calls corresponding render to update images with LUT changes. |
void |
windowClosing(WindowEvent event)
Closes window and disposes of frame and component. |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
protected GraphicsConfiguration config
protected Font serif12
MipavUtil.font12
and MipavUtil.font12B.
protected Font serif12B
MipavUtil.font12
and MipavUtil.font12B.
Constructor Detail |
---|
public ViewJFramePlotterView(ModelImage _imageA, ModelLUT _LUTa, int slice)
_imageA
- ModelImage source model images_LUTa
- ModelLUT image LUT tableslice
- int slice numberMethod Detail |
---|
public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
actionPerformed
in class ViewJFrameBase
event
- Event that triggered function.public void disposeLocal(boolean flag)
flag
- DOCUMENT ME!public ViewControlsImage getControls()
getControls
in class ViewJFrameBase
public ModelImage getImageA()
getImageA
in class ViewJFrameBase
public ModelImage getImageB()
getImageB
in class ViewJFrameBase
public void insertTab(String _name, JPanel _panel)
_name
- String Tab name._panel
- JPanel Control panel.public void removeControls()
removeControls
in class ViewJFrameBase
public void setActiveImage(int active)
setActiveImage
in class ViewJFrameBase
active
- DOCUMENT ME!public void setAlphaBlend(int value)
setAlphaBlend
in class ViewJFrameBase
value
- DOCUMENT ME!public void setControls()
setControls
in class ViewJFrameBase
public void setEnabled(boolean flag)
setEnabled
in class ViewJFrameBase
flag
- DOCUMENT ME!public void setImageB(ModelImage imageB)
setImageB
in class ViewJFrameBase
imageB
- DOCUMENT ME!public void setLUTa(ModelLUT LUT)
setLUTa
in class ViewJFrameBase
LUT
- the LUTpublic void setPaintBitmapSwitch(boolean flag)
setPaintBitmapSwitch
in class ViewJFrameBase
flag
- DOCUMENT ME!public void setRGBTA(ModelRGB RGBT)
setRGBTA
in class ViewJFrameBase
RGBT
- DOCUMENT ME!public void setRGBTB(ModelRGB RGBT)
setRGBTB
in class ViewJFrameBase
RGBT
- DOCUMENT ME!public void setSlice(int slice)
slice
- DOCUMENT ME!public void setTimeSlice(int slice)
slice
- DOCUMENT ME!public void setTitle()
setTitle
in class ViewJFrameBase
public boolean updateImageExtents()
updateImageExtents
in interface ViewImageUpdateInterface
updateImageExtents
in class ViewJFrameBase
ViewImageUpdateInterface
public boolean updateImages()
public boolean updateImages(boolean forceShow)
forceShow
- forces show to reimport image and calc. java image
public boolean updateImages(ModelLUT LUTa, ModelLUT LUTb, boolean forceShow, int interpMode)
LUTa
- LUT used to update imageALUTb
- LUT used to update imageBforceShow
- forces show to reimport image and calc. java imageinterpMode
- image interpolation method (Nearest or Smooth)
public void windowClosing(WindowEvent event)
windowClosing
in interface WindowListener
windowClosing
in class ViewJFrameBase
event
- Event that triggered functionprotected JMenuBar buildMenu()
protected void configureFrame()
protected void finalize() throws Throwable
finalize
in class ViewJFrameBase
Throwable
- DOCUMENT ME!protected void init()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |