Re-add dicom microspy extension
This commit is contained in:
1 parent
a1bbc4e87a
commit
d1f7431af6
4 files changed
+10
-19
No files matched your search
@@ -1,19 +1,16 @@
|
||||
import DicomMicroscopySopClassHandler from './DicomMicroscopySopClassHandler.js';
|
||||
import DicomMicroscopyViewport from './DicomMicroscopyViewport.js';
|
||||
|
||||
export default class OHIFDicomMicroscopyExtension {
|
||||
export default {
|
||||
/**
|
||||
* Extension ID is a unique id, might be used for namespacing extension specific redux actions/reducers (?)
|
||||
* Only required property. Should be a unique value across all extensions.
|
||||
*/
|
||||
getExtensionId() {
|
||||
return 'microscopy';
|
||||
}
|
||||
id: 'microscopy',
|
||||
|
||||
getViewportModule() {
|
||||
return DicomMicroscopyViewport;
|
||||
}
|
||||
|
||||
},
|
||||
getSopClassHandlerModule() {
|
||||
return DicomMicroscopySopClassHandler;
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -12,7 +12,6 @@ const definitions = [
|
||||
type: TOOLBAR_BUTTON_TYPES.SET_TOOL_ACTIVE,
|
||||
commandName: 'enableCrosshairsTool',
|
||||
commandOptions: {}
|
||||
// window.commandsManager.runCommand('enableCrosshairsTool', {}, 'vtk');
|
||||
},
|
||||
{
|
||||
id: 'WWWC',
|
||||
@@ -22,7 +21,6 @@ const definitions = [
|
||||
type: TOOLBAR_BUTTON_TYPES.SET_TOOL_ACTIVE,
|
||||
commandName: 'enableLevelTool',
|
||||
commandOptions: {}
|
||||
// window.commandsManager.runCommand('enableLevelTool', {}, 'vtk');
|
||||
},
|
||||
{
|
||||
id: 'Rotate',
|
||||
@@ -32,7 +30,6 @@ const definitions = [
|
||||
type: TOOLBAR_BUTTON_TYPES.SET_TOOL_ACTIVE,
|
||||
commandName: 'enableRotateTool',
|
||||
commandOptions: {}
|
||||
// window.commandsManager.runCommand('enableRotateTool', {}, 'vtk');
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user