Package gov.nih.mipav.view.dialogs
Class JDialogRegistrationBSpline.Controls
java.lang.Object
gov.nih.mipav.view.dialogs.JDialogRegistrationBSpline.Controls
- Enclosing class:
JDialogRegistrationBSpline
Private class which holds dialog controls associated with the values in the AlgorithmRegBSpline.Options class for
a "pass" of registration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal JCheckBoxDOCUMENT ME!final JComboBoxDOCUMENT ME!final JTextFieldDOCUMENT ME!final JTextFieldDOCUMENT ME!final JTextFieldDOCUMENT ME!final JTextFieldDOCUMENT ME!final JTextFieldDOCUMENT ME!private static final int[]DOCUMENT ME! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValues(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.voidsetValues(AlgorithmRegBSpline.Options kOptions) Set the state of the controls based on the specified values.voidsetVisible(boolean bEnable) Makes the controls visible or invisible.
-
Field Details
-
ms_aiBSplineDegreeOptions
private static final int[] ms_aiBSplineDegreeOptionsDOCUMENT ME! -
kCheckSubsample
DOCUMENT ME! -
kComboBoxBSplineDegree
DOCUMENT ME! -
kTextBSplineNumControlPoints
DOCUMENT ME! -
kTextConvergenceLimit
DOCUMENT ME! -
kTextGradientDescentMinimizeMaxSteps
DOCUMENT ME! -
kTextGradientDescentMinimizeStepSize
DOCUMENT ME! -
kTextMaxIterations
DOCUMENT ME!
-
-
Constructor Details
-
Controls
Constructor which creates the controls.- Parameters:
kDialog- JDialogBase Dialog class from which the controls inherit certain properties (e.g., font).
-
-
Method Details
-
getValues
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
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.
-