ohif-viewer/extensions/vtk
Igor Octaviano f396b30166 refactor: Viewports state (#1218)
* Organize viewports reducers

* Organize viewports actions

* Add local state to store dom node and remove hack

* Comment usage of dom in vtk

* Fix set of enabledElements

* Fix warning in html viewport

* Update docs for state

* Add commandsmanager to commandsmodule
2019-12-02 11:29:04 -05:00
..
.webpack fix: Add some code splitting for PWA build (#937) 2019-09-26 11:35:13 +02:00
src refactor: Viewports state (#1218) 2019-12-02 11:29:04 -05:00
CHANGELOG.md chore(release): publish [skip ci] 2019-11-28 05:50:21 +00:00
LICENSE Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00
package.json chore(release): publish [skip ci] 2019-11-28 05:50:21 +00: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