ohif-viewer/extensions/vtk/src/index.js

25 lines
518 B
JavaScript
Raw Normal View History

2019-06-17 05:11:43 +02:00
import OHIFVTKViewport from './OHIFVTKViewport.js';
import commandsModule from './commandsModule.js';
// This feels weird
import loadLocales from './loadLocales';
2019-06-17 05:11:43 +02:00
import toolbarModule from './toolbarModule.js';
2019-06-17 05:11:43 +02:00
export default {
/**
* Only required property. Should be a unique value across all extensions.
*/
id: 'vtk',
2019-04-16 18:00:06 +02:00
2019-06-17 05:11:43 +02:00
getViewportModule() {
return OHIFVTKViewport;
},
getToolbarModule() {
return toolbarModule;
},
getCommandsModule() {
return commandsModule;
2019-06-21 05:17:07 +02:00
},
2019-06-17 05:11:43 +02:00
};
2019-06-17 05:11:43 +02:00
loadLocales();