WIP
This commit is contained in:
1 parent
83497795ca
commit
c8b3e130d0
7 files changed
+366
-204
No files matched your search
@@ -34,13 +34,15 @@ export default {
|
||||
* @param {object} [configuration={}]
|
||||
* @param {object|array} [configuration.csToolsConfig] - Passed directly to `initCornerstoneTools`
|
||||
*/
|
||||
getViewportModule({ commandsManager }) {
|
||||
getViewportModule({ servicesManager }) {
|
||||
const ExtendedOHIFCornerstoneSRViewport = props => {
|
||||
const onNewImageHandler = jumpData => {
|
||||
commandsManager.runCommand('jumpToImage', jumpData);
|
||||
};
|
||||
const { DisplaySetService } = servicesManager.services;
|
||||
|
||||
return (
|
||||
<OHIFCornerstoneSRViewport {...props} onNewImage={onNewImageHandler} />
|
||||
<OHIFCornerstoneSRViewport
|
||||
DisplaySetService={DisplaySetService}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user