* fix: 🐛 Make Plugin switch part of ToolbarModule Closes: #1241 * Move setCornerstoneViewport command into cornerstone extension * Exposing extensionManager into extension's get modules functions * Remove Plugin switch * Updating set cornerstonelayout to work on VIEWER context * Creating a customComponent for 2D MPR button * Use extensionManager to show or not buttons Adding isHidden option into toolbarModules * Make buttons hidden depending on extension registration * Fix unit test after changes on extensionManager * Remove workaround for extensionManager * Use studyMeatadataManager and remove TODO's * Remove storeContext not needed * Moving Exit 2D MPR into cornerstone extension with VTK context * Remove PluginSwitch files * Fix E2E tests * Adding cypress screenshots into gitignore * Remove extensionManager from getModuleFn functions and moving CustomComponent for VTK button to VTK extension Co-authored-by: Danny Brown <danny.ri.brown@gmail.com> |
||
|---|---|---|
| .. | ||
| .webpack | ||
| src | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@ohif/extension-vtk
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:
CrosshairsWWWCRotate
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.