Skip to main content

scivianna-vtk

Interactive VTK/PyVista visualization with vtk.js for Panel.

Installation

pip install scivianna-vtk

Usage

import param
import numpy as np
import panel_material_ui as pmui
from scivianna_vtk import VTKPlotter, polydata_to_dict
import pyvista as pv

# Create a simple sphere
sphere = pv.Sphere(theta_resolution=30, phi_resolution=30)

# Convert to vtk.js format
vtk_data = polydata_to_dict(sphere)

# Create plotter
plotter = VTKPlotter()
plotter.update_polydata(sphere)

# Show with Panel
plotter.show()

Features

  • Interactive 3D visualization using vtk.js
  • Support for PolyData, UnstructuredGrid, StructuredGrid
  • Cell hover information display
  • Clip plane visualization and control
  • Binary data transfer for efficient performance

Dependencies

  • panel >= 1.4.0
  • param >= 2.0.0
  • numpy >= 1.24.0
  • pyvista >= 0.43.0
  • vtk >= 9.0.0

License

MIT

Metadata

Release files for scivianna-vtk 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scivianna-vtk 0.1.5
File Size Uploaded
scivianna_vtk-0.1.5.tar.gz 245.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scivianna-vtk 0.1.5
File Interpreter ABI Platform
scivianna_vtk-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 492.3 kB

Release files / scivianna_vtk-0.1.5.tar.gz

Download URL scivianna_vtk-0.1.5.tar.gz
Size 245.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f373ed315693a9fb8defc771fc84a8d1b2dd011be0d1e8246faec0ad2c2f364f
BLAKE2b-256 checksum
How to use checksums
8873f717c7f96f251ace8c51923dcee09504f52d34591bc00296410201d5a392
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / scivianna_vtk-0.1.5-py3-none-any.whl

Download URL scivianna_vtk-0.1.5-py3-none-any.whl
Size 246.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1766e1eea76b671bd5d530f13fe6ef695500b1c9c04908acfc60b490202fd25
BLAKE2b-256 checksum
How to use checksums
4f1dbe409c043957ecce9e5d005f56b143c9cb05de8449e92a4def9c7b5f7f3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page