2019-06-16 23:11:43 -04:00
|
|
|
import OHIFVTKViewport from './OHIFVTKViewport.js';
|
|
|
|
|
import commandsModule from './commandsModule.js';
|
|
|
|
|
import toolbarModule from './toolbarModule.js';
|
2019-07-11 13:12:37 -04:00
|
|
|
// This feels weird
|
|
|
|
|
// import loadLocales from './loadLocales';
|
2019-06-07 15:35:54 -03:00
|
|
|
|
2019-07-11 13:12:37 -04:00
|
|
|
const vtkExtension = {
|
2019-06-16 23:11:43 -04:00
|
|
|
/**
|
|
|
|
|
* Only required property. Should be a unique value across all extensions.
|
|
|
|
|
*/
|
|
|
|
|
id: 'vtk',
|
2019-04-16 12:00:06 -04:00
|
|
|
|
2019-06-16 23:11:43 -04:00
|
|
|
getViewportModule() {
|
|
|
|
|
return OHIFVTKViewport;
|
|
|
|
|
},
|
|
|
|
|
getToolbarModule() {
|
|
|
|
|
return toolbarModule;
|
|
|
|
|
},
|
|
|
|
|
getCommandsModule() {
|
|
|
|
|
return commandsModule;
|
2019-06-20 23:17:07 -04:00
|
|
|
},
|
2019-06-16 23:11:43 -04:00
|
|
|
};
|
2019-06-07 15:35:54 -03:00
|
|
|
|
2019-07-11 13:12:37 -04:00
|
|
|
export default vtkExtension;
|
|
|
|
|
|
|
|
|
|
export { vtkExtension };
|
|
|
|
|
|
|
|
|
|
// loadLocales();
|