Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @ohif/extension-vtk with all npm packages installed. Try it out:

require("cornerstone-wado-image-loader/package.json"); // cornerstone-wado-image-loader is a peer dependency. require("i18next/package.json"); // i18next is a peer dependency. require("react-redux/package.json"); // react-redux is a peer dependency. require("@ohif/ui/package.json"); // @ohif/ui is a peer dependency. require("i18next-browser-languagedetector/package.json"); // i18next-browser-languagedetector is a peer dependency. require("prop-types/package.json"); // prop-types is a peer dependency. require("dicom-parser/package.json"); // dicom-parser is a peer dependency. require("react-resize-detector/package.json"); // react-resize-detector is a peer dependency. require("redux/package.json"); // redux is a peer dependency. require("react-dom/package.json"); // react-dom is a peer dependency. require("react-i18next/package.json"); // react-i18next is a peer dependency. require("dcmjs/package.json"); // dcmjs is a peer dependency. require("@ohif/i18n/package.json"); // @ohif/i18n is a peer dependency. require("@ohif/core/package.json"); // @ohif/core is a peer dependency. require("cornerstone-core/package.json"); // cornerstone-core is a peer dependency. require("cornerstone-tools/package.json"); // cornerstone-tools is a peer dependency. require("react/package.json"); // react is a peer dependency. var extensionVtk = require("@ohif/extension-vtk")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@ohif/extension-vtk v1.5.6

OHIF extension for VTK.js


npm (scoped)


Extension Id: vtk

Commands Module

Command NameDescriptionStore Contexts

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][react-viewport] and is connected the redux store. This module is the most prone to change as we hammer out our Viewport interface.



  • [OHIF/react-vtkjs-viewport][react-viewport]


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free