Support for additional "tracking" mode
This commit is contained in:
1 parent
fae21bed9c
commit
d557acbb40
28 files changed
+1189
-22
No files matched your search
@@ -58,8 +58,10 @@
|
||||
"@ohif/extension-dicom-microscopy": "^0.50.6",
|
||||
"@ohif/extension-dicom-pdf": "^1.0.1",
|
||||
"@ohif/extension-lesion-tracker": "^0.2.0",
|
||||
"@ohif/extension-measurement-tracking": "^0.0.1",
|
||||
"@ohif/extension-vtk": "^1.5.6",
|
||||
"@ohif/i18n": "^0.52.8",
|
||||
"@ohif/mode-longitudinal": "^0.0.1",
|
||||
"@ohif/ui": "^1.4.4",
|
||||
"@tanem/react-nprogress": "^1.1.25",
|
||||
"@types/react": "^16.0.0",
|
||||
|
||||
@@ -19,6 +19,7 @@ import appInit from './appInit.js';
|
||||
|
||||
// TODO: Temporarily for testing
|
||||
import '@ohif/mode-example';
|
||||
import '@ohif/mode-longitudinal';
|
||||
|
||||
/**
|
||||
* ENV Variable to determine routing behavior
|
||||
|
||||
@@ -66,6 +66,7 @@ function appInit(appConfigOrFunc, defaultExtensions) {
|
||||
// TODO: Remove this
|
||||
if (!appConfig.modes.length) {
|
||||
appConfig.modes.push(window.exampleMode);
|
||||
appConfig.modes.push(window.longitudinalMode);
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -114,7 +114,7 @@ function ViewerViewportGrid(props) {
|
||||
};
|
||||
|
||||
// const ViewportPanes = React.useMemo(getViewportPanes, [
|
||||
// viewportComp'onents,
|
||||
// viewportComponents,
|
||||
// activeViewportIndex,
|
||||
// viewportGrid,
|
||||
// ]);
|
||||
|
||||
@@ -23,11 +23,16 @@ import ReactDOM from 'react-dom';
|
||||
*/
|
||||
import OHIFDefaultExtension from '@ohif/extension-default';
|
||||
import OHIFCornerstoneExtension from '@ohif/extension-cornerstone';
|
||||
import OHIFMeasurementTrackingExtension from '@ohif/extension-measurement-tracking';
|
||||
|
||||
/** Combine our appConfiguration and "baked-in" extensions */
|
||||
const appProps = {
|
||||
config: window ? window.config : {},
|
||||
defaultExtensions: [OHIFDefaultExtension, OHIFCornerstoneExtension],
|
||||
defaultExtensions: [
|
||||
OHIFDefaultExtension,
|
||||
OHIFCornerstoneExtension,
|
||||
OHIFMeasurementTrackingExtension,
|
||||
],
|
||||
};
|
||||
|
||||
/** Create App */
|
||||
|
||||
Reference in new issue
Block a user