You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to add a feature to have some keyboard shortcut to change image slices.
I added the keyboard shortcut in config.ts and constant.ts, but I have an issue when I need to put some code in actions.ts.
To change the slice, I need to update the slice config, and to do so, I need the viewID and imageID. imageID I can get with useCurrentImage but the problem is I don't know how I could access the viewID because it's specific to each SliceViewer.
In earlier version of VolView, this code was in VtkTwoView. Should I put it in SliceViewer or VtkSliceViewer, and put a placeholder in action.ts (just to have the description in the Keyboard Shortcut panel) ?
The text was updated successfully, but these errors were encountered:
Hello,
I would like to add a feature to have some keyboard shortcut to change image slices.
I added the keyboard shortcut in
config.ts
andconstant.ts
, but I have an issue when I need to put some code inactions.ts
.To change the slice, I need to update the slice config, and to do so, I need the
viewID
andimageID
.imageID
I can get withuseCurrentImage
but the problem is I don't know how I could access theviewID
because it's specific to eachSliceViewer
.In earlier version of VolView, this code was in
VtkTwoView
. Should I put it inSliceViewer
orVtkSliceViewer
, and put a placeholder inaction.ts
(just to have the description in the Keyboard Shortcut panel) ?The text was updated successfully, but these errors were encountered: