https://github.com/ohif/react-vtkjs-viewport
VTK.js image viewport component in React
https://github.com/ohif/react-vtkjs-viewport
component-library nci-itcr nci-qin react
Last synced: 2 months ago
JSON representation
VTK.js image viewport component in React
- Host: GitHub
- URL: https://github.com/ohif/react-vtkjs-viewport
- Owner: OHIF
- License: mit
- Created: 2019-01-18T08:55:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-22T12:03:22.000Z (over 1 year ago)
- Last Synced: 2025-03-29T04:09:20.186Z (2 months ago)
- Topics: component-library, nci-itcr, nci-qin, react
- Language: JavaScript
- Homepage: https://react-vtkjs-viewport.netlify.com/
- Size: 70.9 MB
- Stars: 145
- Watchers: 22
- Forks: 83
- Open Issues: 51
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 🔔🔔🔔🔔 Attention: Cornerstone.js has evolved! We're excited to introduce [Cornerstone3D](https://github.com/cornerstonejs/cornerstone3D) 🚀. Expect advanced rendering, stellar performance, and a modern toolset. 🌐 Navigate to the new repository for the latest updates and improvements.
# react-vtkjs-viewport
> VTK.js image viewport component for React
[](https://www.npmjs.com/package/react-vtkjs-viewport)
[](https://app.fossa.io/projects/git%2Bgithub.com%2FOHIF%2Freact-vtkjs-viewport?ref=badge_shield)## Install
This project consumes `vtk.js` as an ES6 dependency. [If you're unsure of how to consume `vtk.js` as an ES6 dependency, please check out Kitware's guide.](https://kitware.github.io/vtk-js/docs/intro_vtk_as_es6_dependency.html#Webpack-config)
```bash
# With NPM
npm install --save react-vtkjs-viewport vtk.js# With Yarn
yarn add react-vtkjs-viewport vtk.js
```## Development
Local development uses `/examples` as a test application. You can import
the VTK Viewport using a WebPack alias like so:`import VtkViewport from '@vtk-viewport'`
Any updates to the example files or the VtkViewport's source will cause WebPack
to rebuild.```bash
# Restore Dependencies
yarn install# Start Local Dev Server
yarn run dev
```## License
MIT © [OHIF](https://github.com/OHIF)
[](https://app.fossa.io/projects/git%2Bgithub.com%2FOHIF%2Freact-vtkjs-viewport?ref=badge_large)