def __init__(self, app: App): super().__init__(app) self.main_window = app.enable_plugin( 'bsmu.vision.plugins.windows.main.MainWindowPlugin').main_window mdi = app.enable_plugin( 'bsmu.vision.plugins.doc_interfaces.mdi.MdiPlugin').mdi self.color_contrast = ColorContrast(mdi)
def __init__(self, app: App): super().__init__(app) self.main_window = app.enable_plugin( 'bsmu.vision.plugins.windows.main.MainWindowPlugin').main_window mdi = app.enable_plugin( 'bsmu.vision.plugins.doc_interfaces.mdi.MdiPlugin').mdi self.mdi_layer_controller = MdiImageViewerLayerController(mdi)
def __init__(self, app: App): super().__init__(app) self.main_window = app.enable_plugin( 'bsmu.vision.plugins.windows.main.MainWindowPlugin').main_window self.table_visualizer = app.enable_plugin( 'bsmu.vision.plugins.bone_age.table_visualizer.BoneAgeTableVisualizerPlugin' ).table_visualizer self.journal_exporter = PatientBoneAgeJournalExporter( self.table_visualizer, self.main_window)
def __init__(self, app: App): super().__init__(app) self.main_window = app.enable_plugin( 'bsmu.vision.plugins.windows.main.MainWindowPlugin').main_window self.data_visualization_manager = app.enable_plugin( 'bsmu.vision.plugins.visualizers.manager.DataVisualizationManagerPlugin' ).data_visualization_manager mdi = app.enable_plugin( 'bsmu.vision.plugins.doc_interfaces.mdi.MdiPlugin').mdi self.table_visualizer = BoneAgeTableVisualizer( self.data_visualization_manager, mdi)
def __init__(self, app: App): super().__init__(app) self.data_visualization_manager = app.enable_plugin( 'bsmu.vision.plugins.visualizers.manager.DataVisualizationManagerPlugin' ).data_visualization_manager file_loading_manager_plugin = app.enable_plugin( 'bsmu.vision.plugins.loaders.manager.FileLoadingManagerPlugin') self.overlayer = ImageViewerPathOverlayer( self.data_visualization_manager, file_loading_manager_plugin.file_loading_manager, self.old_config().data)
def __init__(self, app: App): super().__init__(app) self.main_window = app.enable_plugin( 'bsmu.vision.plugins.windows.main.MainWindowPlugin').main_window self.simple_image_file_loader = app.enable_plugin( 'bsmu.vision.plugins.loaders.image.simple.SimpleImageFileLoaderPlugin' ).file_loader_cls() self.post_load_conversion_manager = app.enable_plugin( 'bsmu.vision.plugins.post_load_converters.manager.PostLoadConversionManagerPlugin' ).post_load_conversion_manager self.data_visualization_manager = app.enable_plugin( 'bsmu.vision.plugins.visualizers.manager.DataVisualizationManagerPlugin' ).data_visualization_manager
def run_app(child_config_paths: tuple = ()): print('Run, Vision! Run!') app = App(sys.argv, child_config_paths) app.run()