import React from 'react'; import { PanelPetSUV, PanelROIThresholdExport } from './Panels'; import { Toolbox } from '@ohif/ui'; // TODO: // - No loading UI exists yet // - cancel promises when component is destroyed // - show errors in UI for thumbnails if promise fails function getPanelModule({ commandsManager, extensionManager, servicesManager }) { const wrappedPanelPetSuv = () => { return ( ); }; const wrappedROIThresholdToolbox = () => { return ( <> ); }; const wrappedROIThresholdExport = () => { return ( <> ); }; return [ { name: 'petSUV', iconName: 'tab-patient-info', iconLabel: 'Patient Info', label: 'Patient Info', component: wrappedPanelPetSuv, }, { name: 'tmtvBox', iconName: 'tab-segmentation', iconLabel: 'Segmentation', label: 'Segmentation Toolbox', component: wrappedROIThresholdToolbox, }, { name: 'tmtvExport', iconName: 'tab-segmentation', iconLabel: 'Segmentation', label: 'Segmentation Export', component: wrappedROIThresholdExport, }, ]; } export default getPanelModule;