[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
@@ -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