Refactor vtk extension; re-add to app

This commit is contained in:
dannyrb committed 2019-06-16 23:11:43 -04:00
1 parent f90578f567
commit d5b4cb7b07
6 files changed
+64 -156

No files matched your search

+3 -3
View File
@@ -19,7 +19,7 @@ import OHIFCornerstoneExtension from '@ohif/extension-cornerstone';
// import OHIFDicomMicroscopyExtension from '@ohif/extension-dicom-microscopy';
// import OHIFDicomPDFExtension from 'ohif-dicom-pdf-extension';
import OHIFStandaloneViewer from './OHIFStandaloneViewer';
// import OHIFVTKExtension from '@ohif/extension-vtk';
import OHIFVTKExtension from '@ohif/extension-vtk';
import { OidcProvider } from 'redux-oidc';
import PropTypes from 'prop-types';
import { Provider } from 'react-redux';
@@ -70,9 +70,9 @@ setupTools(store);
/** TODO: extensions should be passed in as prop as soon as we have the extensions as separate packages and then registered by ExtensionsManager */
extensionManager.registerExtensions([
OHIFCornerstoneExtension,
// new OHIFCornerstoneExtension({ children }),
// new OHIFVTKExtension(), // { commandsManager }
OHIFCornerstoneExtension,
OHIFVTKExtension,
// new OHIFDicomPDFExtension(),
// new OHIFDicomHtmlExtension(),
// new OHIFDicomMicroscopyExtension(),