Package gov.nih.mipav.view.dialogs
Class JDialogRegistrationBSpline.Controls
- java.lang.Object
-
- gov.nih.mipav.view.dialogs.JDialogRegistrationBSpline.Controls
-
- Enclosing class:
- JDialogRegistrationBSpline
public static class JDialogRegistrationBSpline.Controls extends java.lang.Object
Private class which holds dialog controls associated with the values in the AlgorithmRegBSpline.Options class for a "pass" of registration.
-
-
Field Summary
Fields Modifier and Type Field Description javax.swing.JCheckBox
kCheckSubsample
DOCUMENT ME!javax.swing.JComboBox
kComboBoxBSplineDegree
DOCUMENT ME!javax.swing.JTextField
kTextBSplineNumControlPoints
DOCUMENT ME!javax.swing.JTextField
kTextConvergenceLimit
DOCUMENT ME!javax.swing.JTextField
kTextGradientDescentMinimizeMaxSteps
DOCUMENT ME!javax.swing.JTextField
kTextGradientDescentMinimizeStepSize
DOCUMENT ME!javax.swing.JTextField
kTextMaxIterations
DOCUMENT ME!private static int[]
ms_aiBSplineDegreeOptions
DOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description Controls(JDialogBase kDialog)
Constructor which creates the controls.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getValues(AlgorithmRegBSpline.Options kOptions, int[] aiExtentsReg)
Extract the values from the specified set of controls and store them into the options structure used by the algorithm.void
setValues(AlgorithmRegBSpline.Options kOptions)
Set the state of the controls based on the specified values.void
setVisible(boolean bEnable)
Makes the controls visible or invisible.
-
-
-
Field Detail
-
ms_aiBSplineDegreeOptions
private static final int[] ms_aiBSplineDegreeOptions
DOCUMENT ME!
-
kCheckSubsample
public final javax.swing.JCheckBox kCheckSubsample
DOCUMENT ME!
-
kComboBoxBSplineDegree
public final javax.swing.JComboBox kComboBoxBSplineDegree
DOCUMENT ME!
-
kTextBSplineNumControlPoints
public final javax.swing.JTextField kTextBSplineNumControlPoints
DOCUMENT ME!
-
kTextConvergenceLimit
public final javax.swing.JTextField kTextConvergenceLimit
DOCUMENT ME!
-
kTextGradientDescentMinimizeMaxSteps
public final javax.swing.JTextField kTextGradientDescentMinimizeMaxSteps
DOCUMENT ME!
-
kTextGradientDescentMinimizeStepSize
public final javax.swing.JTextField kTextGradientDescentMinimizeStepSize
DOCUMENT ME!
-
kTextMaxIterations
public final javax.swing.JTextField kTextMaxIterations
DOCUMENT ME!
-
-
Constructor Detail
-
Controls
public Controls(JDialogBase kDialog)
Constructor which creates the controls.- Parameters:
kDialog
- JDialogBase Dialog class from which the controls inherit certain properties (e.g., font).
-
-
Method Detail
-
getValues
public boolean getValues(AlgorithmRegBSpline.Options kOptions, int[] aiExtentsReg)
Extract the values from the specified set of controls and store them into the options structure used by the algorithm.- Parameters:
kOptions
- AlgorithmRegBSpline.Options Structure for storing the values extracted from those controls.aiExtentsReg
- int[] Dimensions of the reference image to be used for registration which is used to compute certain limits on the input values.- Returns:
- boolean True if the input values in the controls are acceptable.
-
setValues
public void setValues(AlgorithmRegBSpline.Options kOptions)
Set the state of the controls based on the specified values.- Parameters:
kOptions
- Options Structure which contains the values to use to set the state of the controls.
-
setVisible
public void setVisible(boolean bEnable)
Makes the controls visible or invisible.- Parameters:
bEnable
- boolean True to make the controls visible.
-
-