|
|||||||||
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 javax.swing.JComponent javax.swing.JPanel gov.nih.mipav.view.renderer.WildMagic.brainflattenerview_WM.JPanelBrainSurfaceFlattener_WM
public class JPanelBrainSurfaceFlattener_WM
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
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 JButton |
cancelButton
Cancel button is used on most dialogs. |
protected JPanel |
mainPanel
The main control. |
protected JButton |
OKButton
OK button is used on most dialogs. |
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 javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JPanelBrainSurfaceFlattener_WM(CorticalAnalysisRender kView,
VolumeTriPlanarInterface kParent)
Create the control-panel for the brainsurfaceFlattener interface: |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent event)
|
protected JButton |
buildOKButton()
Builds the OK button. |
static TitledBorder |
buildTitledBorder(String title)
Builds a titled border with the given title, an etched border, and the proper font and color. |
WildMagic.LibGraphics.SceneGraph.Node |
displayCorticalAnalysis(WildMagic.LibGraphics.SceneGraph.TriMesh kMesh,
WildMagic.LibFoundation.Mathematics.Vector3f kCenter)
|
void |
disposeLocal()
Memory cleanup. |
protected void |
finalize()
|
ModelImage |
getImageA()
Return ModelImage A. |
ModelImage |
getImageB()
Return ModelImage B. |
JPanel |
getMainPanel()
Return the main control panel. |
void |
resizePanel(int panelWidth,
int frameHeight)
Resizing the control panel. |
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. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected JPanel mainPanel
protected Font serif12
MipavUtil.font12
and
MipavUtil.font12B.
protected Font serif12B
MipavUtil.font12
and
MipavUtil.font12B.
protected JButton OKButton
protected JButton cancelButton
Constructor Detail |
---|
public JPanelBrainSurfaceFlattener_WM(CorticalAnalysisRender kView, VolumeTriPlanarInterface kParent)
kView
- the engine behind the brainsurfaceFlattener and one of the
parent frames affected by the interfacekParentFrame
- the parent frame for the panel, contains the
surfaceRenderer, where the brain model is displayedMethod Detail |
---|
public static TitledBorder buildTitledBorder(String title)
title
- Title of the border
public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
public WildMagic.LibGraphics.SceneGraph.Node displayCorticalAnalysis(WildMagic.LibGraphics.SceneGraph.TriMesh kMesh, WildMagic.LibFoundation.Mathematics.Vector3f kCenter)
kMesh
-
public void disposeLocal()
public ModelImage getImageA()
public ModelImage getImageB()
public JPanel getMainPanel()
public void resizePanel(int panelWidth, int frameHeight)
panelWidth
- int widthframeHeight
- int heightpublic void setSlice(int slice)
ViewImageUpdateInterface
setSlice
in interface ViewImageUpdateInterface
slice
- DOCUMENT ME!public void setTimeSlice(int tSlice)
ViewImageUpdateInterface
setTimeSlice
in interface ViewImageUpdateInterface
tSlice
- DOCUMENT ME!public boolean updateImageExtents()
ViewImageUpdateInterface
updateImageExtents
in interface ViewImageUpdateInterface
public boolean updateImages()
ViewImageUpdateInterface
updateImages
in interface ViewImageUpdateInterface
public boolean updateImages(boolean flag)
ViewImageUpdateInterface
updateImages
in interface ViewImageUpdateInterface
flag
- forces show to re import image and calc. java image
public boolean updateImages(ModelLUT LUTa, ModelLUT LUTb, boolean flag, int interpMode)
ViewImageUpdateInterface
updateImages
in interface ViewImageUpdateInterface
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)
protected JButton buildOKButton()
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |