Kitware/pan3d

Code cleanup and feature migration

Opened this issue · 2 comments

Current Builder/Viewer

Features

  • display option:
    • warp
    • globe view
    • transparency
  • Local / Remote rendering (PyVista toolbar)
  • Interactive preview (cube view)
  • #132
    • esgf
    • pangeo
  • Axis assignment (data transpose)

Limitation

  • depend on PyVista + GeoVista
  • actor scaling is using integer
  • cropping is missing stepping
    • stepping is available in a different panel
  • import/export not working 100% of the time
  • generate a dataset with only 1 array at a time
  • jumping scalarbar when dataset update (not using pipeline)

New Builder/Viewer

Features

  • Pure vtk9.4/python xarray integration
    • Fully support pipeline
    • simpler and more powerful api (real dataset builder)
    • support derived computed fields
    • many fields available on generated mesh
  • Remote rendering
  • Consistent and compact UI
    • 3D view tools
    • XArray control
  • Import/Export compatible with the dataset builder and catalogue data fetching
  • Interactive time, colorBy, scalarbar
  • Reusable set of components with built-in logic
    • 3D view + toolbar
    • ScalarBar
    • SummaryBar (time + colorBy)
    • ControlPanel
      • Data Origin
      • Data Information
      • Rendering Settings
  • CLI
    • State loading
    • XArray file loader

Limitation

  • No local rendering (we could use WASM)
  • No catalogue search
  • No axis re-assignment that trigger a transpose
  • No cube navigation
  • Require VTK 9.4
  • Missing documentation and usage examples

Code for new dataset builder/viewer available here