https://github.com/kitware/react-vtk-js
Declarative library exposing vtk.js visualization pipeline as React components
https://github.com/kitware/react-vtk-js
Last synced: 10 months ago
JSON representation
Declarative library exposing vtk.js visualization pipeline as React components
- Host: GitHub
- URL: https://github.com/kitware/react-vtk-js
- Owner: Kitware
- Created: 2021-01-12T22:51:08.000Z (about 5 years ago)
- Default Branch: beta
- Last Pushed: 2024-11-21T02:15:30.000Z (about 1 year ago)
- Last Synced: 2024-12-30T11:44:10.589Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://kitware.github.io/react-vtk-js/
- Size: 5.02 MB
- Stars: 77
- Watchers: 9
- Forks: 24
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# react-vtk-js
React based declarative vtk.js visualization pipeline.
In other words this project allow you to leverage vtk.js using React/XML syntax to describe your 3D scene. Kind of like X3dom with the X3D format except that here we leverage React components that could be extended to build your own tools.
## Usage
Simple example of a geometric dataset render into a view.
```
```
## Building library
`npm run build:debug` for development package or `npm run build` for optimized bundle.
## Using library inside your React application
```
import { View, GeometryRepresentation, Reader } from 'react-vtk-js';
function ObjViewer(props) {
return (
);
}
```