[IDC-2098] Update RVTKJSV (#2107)
* Update RVTKJSV * Update react-vtkjs-viewport * Fix WWWC tool with new rvtkjsv version
This commit is contained in:
1 parent
c6629bda75
commit
3c05920705
3 files changed
+15
-8
No files matched your search
@@ -50,7 +50,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.5.5",
|
||||
"lodash.throttle": "^4.1.1",
|
||||
"react-vtkjs-viewport": "^0.13.1"
|
||||
"react-vtkjs-viewport": "^0.14.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ohif/core": "^2.10.7",
|
||||
|
||||
@@ -270,7 +270,10 @@ const commandsModule = ({ commandsManager, UINotificationService }) => {
|
||||
apis.forEach((api, apiIndex) => {
|
||||
const istyle = vtkInteractorStyleMPRRotate.newInstance();
|
||||
|
||||
api.setInteractorStyle({ istyle, configuration: { apis, apiIndex } });
|
||||
api.setInteractorStyle({
|
||||
istyle,
|
||||
configuration: { apis, apiIndex, uid: api.uid },
|
||||
});
|
||||
});
|
||||
},
|
||||
enableCrosshairsTool: () => {
|
||||
@@ -318,10 +321,14 @@ const commandsModule = ({ commandsManager, UINotificationService }) => {
|
||||
},
|
||||
};
|
||||
|
||||
apis.forEach(api => {
|
||||
apis.forEach((api, apiIndex) => {
|
||||
const istyle = vtkInteractorStyleMPRWindowLevel.newInstance();
|
||||
|
||||
api.setInteractorStyle({ istyle, callbacks });
|
||||
api.setInteractorStyle({
|
||||
istyle,
|
||||
callbacks,
|
||||
configuration: { apis, apiIndex, uid: api.uid },
|
||||
});
|
||||
});
|
||||
},
|
||||
setSlabThickness: ({ slabThickness }) => {
|
||||
|
||||
Reference in new issue
Block a user