ohif-viewer/extensions/vtk
Igor Octaviano 63594d36b0 feat: 🎸 Configuration so viewer tools can nix handles (#1304)
* feat: 🎸 Configuration so viewer tools can nix handles

Adds a key to cornerstone configuration that allows to toggle on/off
handle rendering

Closes: #1223

* Update extension docs

* Update doc

* docs: include hideHandles configuration in our configuration docs

* chore: default to hiding handles for annotations

* chore: switch to drawHandlesOnHover to mimic legacy viewer functionality

* Flip logic for drawHandlesOnHover; reverse of hideHandles

* Don't hide the handles of ellipse or rectangle roi

* invert check

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2019-12-20 12:15:40 -05:00
..
.webpack fix: Add some code splitting for PWA build (#937) 2019-09-26 11:35:13 +02:00
src feat!: Ability to configure cornerstone tools via extension configuration (#1229) 2019-12-09 12:47:23 -05:00
CHANGELOG.md chore(release): publish [skip ci] 2019-12-19 15:15:49 +00:00
LICENSE Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00
package.json feat: 🎸 Configuration so viewer tools can nix handles (#1304) 2019-12-20 12:15:40 -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