• Stars
    star
    1,233
  • Rank 38,074 (Top 0.8 %)
  • Language
    JavaScript
  • License
    BSD 3-Clause "New...
  • Created over 8 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visualization Toolkit for the Web

VTK.js - The Visualization Toolkit for JavaScript

Build Status Build Status Dependency Status semantic-release npm-download npm-version-requirement node-version-requirement DOI

Introduction

VTK is an open-source software system for image processing, 3D graphics, volume rendering and visualization. VTK includes many advanced algorithms (e.g., surface reconstruction, implicit modelling, decimation) and rendering techniques (e.g., hardware-accelerated volume rendering, LOD control). The JavaScript implementation remains a subset of the actual C++ library but efforts will be made to easily port or compile native VTK code into WebAssembly to better blend both worlds. vtk.js is a true rewrite of VTK in plain JavaScript (ES6). Therefore not everything has been rewritten.

The origin of VTK is with the textbook "The Visualization Toolkit, an Object-Oriented Approach to 3D Graphics" originally published by Prentice Hall and now published by Kitware, Inc. (Third Edition ISBN 1-930934-07-6). VTK has grown (since its initial release in 1994) to a world-wide user base in the commercial, academic, and research communities.

vtk.js aims to be a subset of VTK and provide 3D rendering using WebGL (+WebGPU) for both geometry and volume rendering.

What is the difference with VTK/C++?

VTK.js is a complete rewrite of VTK/C++ using plain JavaScript (ES6). The focus of the rewrite, so far, has been the rendering pipeline for ImageData and PolyData, the pipeline infrastructure, and frequently used readers (obj, stl, vtp, vti). Some filters are also provided as demonstrations. We are not aiming for vtk.js to provide the same set of filters that is available in VTK/C++, but vtk.js does provide the infrastructure needed to define pipelines and filters.

We have also started to explore a path where you can compile some bits of VTK/C++ into WebAssembly and to enable them to interact with vtk.js. With such interaction, you can pick and choose what you need to extract from VTK and enable it inside your web application. VTK/C++ WebAssembly can even be used for rendering, and examples can be found in VTK repository. Additionally itk.js (which is ITK via WebAssembly) also provides proven implementations for several image filters and data readers. There are, however, some additional costs in terms of the size of the WebAssembly file that will have to be downloaded when visiting a VTK or ITK WebAssembly webpage; and we still have some work to do to streamline the vtk.js + VTK WebAssembly integrations.

In general if you want to stay in the pure JavaScript land, then vtk.js is perhaps the ideal solution for you. We welcome your feedback, including your contributions for new visualization filters, bug fixes, and examples.

On top of the rendering capabilities of vtk.js, the library provides helper classes to connect to a remote VTK/ParaView server to enable remote-rendering and/or synchronized C++/RenderWindow content with a local vtk.js RenderWindow by pushing the geometry from the server to the client and only involve rendering on the client side.

Using vtk.js

Requirements

In general VTK tries to be as portable as possible; the specific configurations below are known to work and tested.

vtk.js supports the following development environments:

  • Node 14+
  • NPM 7+

and we use @babel/preset-env with the defaults set of browsers target. But when built from source this could be adjusted to support any browser as long they provide WebGL.

Documentation

Feature requests and Bug reports

Submit an issue to report bugs or missing features in vtk.js.

Help and Support

  • VTK/Web discourse forum is here to help you find existing questions or ask your own.
  • Kitware offers advanced software R&D solutions and services. Find out how we can help with your next project.

License

VTK is distributed under the OSI-approved BSD 3-clause License. See Copyright.txt for details.

Contributing

See CONTRIBUTING.md for instructions on how to contribute.

More Repositories

1

CMake

Mirror of CMake upstream repository
C
5,967
star
2

VTK

Mirror of Visualization Toolkit repository
C++
2,250
star
3

ParaView

VTK-based Data Analysis and Visualization Application
C++
1,051
star
4

TeleSculptor

TeleSculptor: Aerial Photogrammetry Application powered by KWIVER
C++
605
star
5

trame

Trame lets you weave various components and technologies into a Web Application solely written in Python.
Python
419
star
6

pyLiDAR-SLAM

Python
306
star
7

VeloView

VeloView performs real-time visualization and easy processing of live captured 3D LiDAR data from Velodyne sensors (Alpha Primeβ„’, Puckβ„’, Ultra Puckβ„’, Puck Hi-Resβ„’, Alpha Puckβ„’, Puck LITEβ„’, HDL-32, HDL-64E). Runs on Windows, Linux and MacOS. This repository is a mirror of https://gitlab.kitware.com/LidarView/VeloView-Velodyne.
C++
304
star
8

LidarView

LidarView performs real-time reception, recording, visualization and processing of 3D LiDAR data. This repository is a mirror of https://gitlab.kitware.com/LidarView/lidarview.
C++
258
star
9

glance

Kitware Glance is an open-source web application developed at Kitware for visualizing volumetric images, molecular structures, geometric objects, and point clouds. It is part of the ParaView platform and can serve as a foundation for building custom web-based visualization applications involving ITK.js and VTK.js.
JavaScript
247
star
10

vtk-examples

This is the gh-pages branch of the VTK Examples Web Site and is set up to host web pages. ⚠️ DO NOT SUBMIT MERGE REQUESTS HERE. ⚠️ Merge requests must be submitted here: https://gitlab.kitware.com/vtk/vtk-examples
HTML
226
star
11

itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
JavaScript
210
star
12

CDash

An open source, web-based software testing server
PHP
206
star
13

kwiver

Pulls Together Computer Vision Algorithms into Highly-Modular Run-Time Configurable Systems
C++
189
star
14

tangelo

A simple, quick, powerful web framework
JavaScript
185
star
15

VolView

Kitware VolView: an all-in-one radiological viewer!
TypeScript
184
star
16

paraviewweb

Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data
JavaScript
160
star
17

Danesfield

Kitware's system for 3D building reconstruction for the IARPA CORE3D program
Python
157
star
18

candela

Visualization components for the web
JavaScript
116
star
19

visualizer

The ParaViewWeb Visualizer application which can be used standalone or as a component within another web context.
JavaScript
106
star
20

ipyvtklink

πŸ”— minimalist ipywidget to interface with any Python vtkRenderWindow
Python
93
star
21

wslink

Python/JavaScript library for communicating over WebSocket
Python
83
star
22

dive

Media annotation and analysis tools for web and desktop. Get started at https://viame.kitware.com
Vue
81
star
23

SMQTK

Python toolkit for pluggable algorithms and data structures for multimedia-based machine learning.
Terra
75
star
24

react-vtk-js

Declarative library exposing vtk.js visualization pipeline as React components
TypeScript
73
star
25

fletch

Computer Vision Software Development Environment
C++
62
star
26

SlicerSALT

An open-source, free comprehensive software that will allow biomedical scientists to precisely locate shape changes in their imaging studies. This software called Slicer Shape AnaLysis Toolbox (SlicerSALT), will enhance the intuitiveness and ease of use for such studies, as well as allow researchers to find shape changes with higher statistical power. Altogether this constitutes a crucial resource for the imaging field that will enable many and important new findings in biomedical imaging studies.
Python
54
star
27

KWStyle

Kitware Style Checker
C++
52
star
28

COAT

Official Code for CVPR 2022 paper Cascade Transformers for End-to-End Person Search
Python
49
star
29

HPCCloud

A Cloud/Web-Based Simulation Environment
JavaScript
49
star
30

SMTK

Simulation Modeling Tool Kit
C++
44
star
31

vue-vtk-js

Vue.js based components for vtk.js
JavaScript
36
star
32

minerva

Minerva: client/server/services for analysis and visualization
Python
36
star
33

MEVID

Official Code for WACV 2023 paper MEVID: Multi-view Extended Videos with Identities for Video Person Re-Identification
Python
34
star
34

Danesfield-App

Web application for the Danesfield System
Python
32
star
35

paraview-visualizer

Web frontend to ParaView based on trame
Python
31
star
36

arctic-viewer

Standalone application useful to load and explore cool data products.
JavaScript
31
star
37

MetaIO

MetaImage is the text-based tagged file format for medical images that resulted. We have now extended that file format to support a variety of objects that occur in medicine such a tubes (for vessels, needles, etc.), blobs (for arbitrary shaped objects), cubes, spheres, etc. The complete library is known at MetaIO.
C
31
star
38

VTK-m

Mirror of https://gitlab.kitware.com/vtk/vtk-m
C++
29
star
39

paraview-lite

Lite Client to a ParaView server which rely on Web technologies
JavaScript
29
star
40

ParaViewTangoRecorder

An app for the Project Tango development kit to enable recording data for ParaView
Java
28
star
41

cumulus

A REST API for creating and using cloud clusters
Python
27
star
42

web-project-templates

This repository try to gather various web project templates based on vue, vtk.js, paraviewweb...
JavaScript
26
star
43

DaxToolkit

Data Analysis at Extreme
C++
24
star
44

qtextensions

An open source collection of utility classes and tools for Qt.
C++
24
star
45

iMSTK

Mirror of https://gitlab.kitware.com/iMSTK/iMSTK
C++
24
star
46

py-web-vue

Build a 3D Web application using VTK or ParaView while only writing a Python script. This project aims to streamline the existing ParaViewWeb infrastructure into something that is simpler to use by lowering the entry point complexity.
JavaScript
24
star
47

kwcoco

Python
21
star
48

ParaViewCatalystExampleCode-MOVED-

Example problems and snippets of code to demonstrate ParaView's Catalyst.
C++
20
star
49

flow

Full data science workflows on the web
Python
20
star
50

seaborn_altair

Seaborn-compatible API for interactive Vega-Lite plots via Altair
Jupyter Notebook
20
star
51

vtk-book

Markdown version of the Visualization Toolkit Book - An object Oriented Approach to 3D Graphics
Python
20
star
52

light-viz

Scientific Visualization application for tailored post-processing relying on a ParaViewWeb backend.
JavaScript
20
star
53

vtk-js-datasets

Sample dataset for vtk.js examples
HTML
19
star
54

DIVA

DIVA project repository
C++
18
star
55

sprokit

Stream Processing ToolKit
C++
18
star
56

HPCCloud-deploy

VM Deploy for HPC-Cloud
Python
17
star
57

trame-vtk

VTK/ParaView widgets for trame
Python
17
star
58

simput

Input generator for simulation which can be used as a standalone application or as a component within another web context.
JavaScript
17
star
59

VisCL

Computer Vision GPU acceleration with OpenCL
C++
16
star
60

trame-vtklocal

VTK Local Rendering using VTK/WASM to match server side rendering pipeline on the client side.
JavaScript
16
star
61

vtk-wasm-demos

A collection of VTK.wasm demo applications
C++
16
star
62

IGSTK

Image Guided Surgery Software Toolkit
C++
15
star
63

cdash-docker

Shell
15
star
64

LookingGlassVTKModule

C++
15
star
65

trame-cookiecutter

Cookie Cutter template for creating trame application/module
Python
14
star
66

PCLPlugin

A plugin to enable PCL functionality in ParaView
C++
14
star
67

vivia

C++
14
star
68

generated-image-detection

Python
13
star
69

trame-tutorial

Tutorial material for trame.
Python
13
star
70

VERACore

Python
12
star
71

Visomics

Visomics is an open-source tool for the exploration of biological omics data with a focus on genomics, proteomics, transcriptomics, and metabolomics.
C++
12
star
72

keypointgui

Provides a wxPython GUI to select image-point correspondences between images and fits a homography.
Python
12
star
73

paraviewweb-demo

Website and launcher for ParaViewWeb container demo
HTML
11
star
74

kwant

KWANT is an open source C++ toolkit for computing scores and other metrics for object tracking systems.
C++
11
star
75

pan3d

Python
11
star
76

cinema

ParaView Cinema
JavaScript
11
star
77

peacock

Trame based UI for INL peacock project.
Python
11
star
78

openview

C++
10
star
79

clique

Graph editor library/application
JavaScript
10
star
80

romanesco

Romanesco is now named Girder Worker
10
star
81

trame-jupyter-extension

Jupyter extension for trame client/server communication
TypeScript
10
star
82

Remus

Remus is a remote mesh/model service framework.
C++
9
star
83

resonantgeo

Geospatial Vue components for Resonant
JavaScript
9
star
84

nrtk

The Natural Robustness Toolkit (NRTK) is an open source toolkit for generating operationally-realistic perturbations to evaluate the natural robustness of computer vision algorithms.
Python
9
star
85

conceptual-modeler

Conceptual Modeler based on GemPy and trame
Python
9
star
86

trame-server

Internal server side implementation of trame
Python
9
star
87

covid-19-vis

A visualization of some COVID-19 data
JavaScript
9
star
88

trame-vuetify

trame-vuetify brings Vuetify UI Material Components into trame
Python
9
star
89

QtTesting

This is a mirror of the Gitlab repository. Please use Gitlab for PRs and Issues.
C++
9
star
90

divvy

Divide your data analysis across tools and visualization for a better data insight
Python
9
star
91

trame-vtk3d

Wrapper to the WASM bundle of VTK from dicehub
JavaScript
9
star
92

BoneTextureExtension

Slicer extensions for computing feature maps of N-Dimensional images using well-known texture analysis methods.
Python
9
star
93

torch_liberator

Python
8
star
94

vaui

Python
8
star
95

trame-app-cone

Single file trame app show casing how to deploy to CapRover.
Python
8
star
96

super3d

C++
8
star
97

burn-out

A computer vision toolkit designed to generate pixel-level object classifications, and additionally perform other types of video filtering. Originally created to remove on-screen displays from video.
C++
8
star
98

UPennContrast

UPenn ?
Vue
8
star
99

vtk-web-solutions

Sample code showcasing VTK usage with Web
JavaScript
8
star
100

trame-simput

Simput implementation for trame
JavaScript
8
star