ohif-viewer/extensions/vtk
Rodrigo Antinarelli 686d12da5c
fix: Set VTK viewport as active by interaction (#1139)
* fix: Set VTK viewport as active by interaction

* feat: listen for vtkscrollevent in wrapper component

* fix: definitions can skip empty storeContexts key

* hoc to set/pass in commandsManager

* Bump minimum react-vtkjs-viewport version to leverage new event

* Simplify to use onScroll event instead of passing down commandsManager to base component

* fix: make sure we include @JamesAPetts bug fix

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-01-30 13:26:06 -05:00
..
.webpack fix: Add some code splitting for PWA build (#937) 2019-09-26 11:35:13 +02:00
src fix: Set VTK viewport as active by interaction (#1139) 2020-01-30 13:26:06 -05:00
CHANGELOG.md chore(release): publish [skip ci] 2020-01-30 03:42:31 +00:00
LICENSE Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00
package.json fix: Set VTK viewport as active by interaction (#1139) 2020-01-30 13:26:06 -05:00
README.md Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00

@ohif/extension-vtk

npm (scoped)

Index

Extension Id: vtk

Commands Module

Command Name Description Store Contexts
axial viewports
coronal viewports
sagittal viewports
enableRotateTool viewports
enableCrosshairsTool viewports
enableLevelTool viewports
mpr2d viewports

Toolbar Module

Our toolbar module contains definitions for:

  • Crosshairs
  • WWWC
  • Rotate

All use the ACTIVE_VIEWPORT::VTK context.

Viewport Module

Our Viewport wraps OHIF/react-vtkjs-viewport and is connected the redux store. This module is the most prone to change as we hammer out our Viewport interface.

Resources

Repositories