utils.ui_helper_utils ===================== .. py:module:: utils.ui_helper_utils Classes ------- .. autoapisummary:: utils.ui_helper_utils.UIHelperMixin Module Contents --------------- .. py:class:: UIHelperMixin Mixin class for setting up the UI for the RANO module. .. py:method:: setup_test_cases() Set up the test cases for the RANO module. .. py:method:: setup_add_data_box() Set up the add data box for the RANO module. .. py:method:: setup_input_box() Set up the input box for the RANO module. .. py:method:: update_ui_input_channel_selectors(modalities_path, timepoint) Update the input channel selectors based on the modalities.json file. .. py:method:: setup_autosegmentation_box() Set up the auto-segmentation box for the RANO module. .. py:method:: setup_auto_2D_measurements() Set up the auto 2D measurements box for the RANO module. .. py:method:: setup_manual_2D_measurements() Set up the manual 2D measurements box for the RANO module. .. py:method:: setup_layout() Set up the layout for the RANO module. .. py:method:: setup_lesion_based_response_status_box() Set up the lesion based response status box for the RANO module. .. py:method:: setup_overall_response_status_box() Set up the overall response status box for the RANO module. .. py:method:: setBackgroundVolumes(node, timepoint, rotateSliceToLowestVolumeAxes=False) :staticmethod: Set the background volumes for the slice views. :param node: The selected node. :type node: vtkMRMLNode :param timepoint: The timepoint for which to set the background volume. :type timepoint: str :param rotateSliceToLowestVolumeAxes: Whether to rotate the slice views to align with the image acquisition :type rotateSliceToLowestVolumeAxes: bool :param planes: .. py:method:: setLabelVolumes(node, timepoint) :staticmethod: Set the label volumes for the slice views. :param node: The selected node. :type node: vtkMRMLNode :param timepoint: The timepoint for which to set the label volume. :type timepoint: str .. py:method:: onNodeSelected(node, timepoint) Called when a node is selected in the input selector. Sets the node as the background volume for the slice views. :param node: The selected node. :type node: vtkMRMLNode :param timepoint: The timepoint for which to set the background volume. :type timepoint: str .. py:method:: onShowChannelButton(checked, timepoint, inputSelector) Called when the show channel button is clicked. Sets the selected node as the background volume for the slice views and makes sure that the views are aligned with the acquisition plane of the volume. :param checked: Whether the button is checked or not. :type checked: bool :param timepoint: The timepoint for which to show the channel. :type timepoint: str :param inputSelector: The input selector for the channel. :type inputSelector: qt.QComboBox