pyvista / pyvista-xarray

xarray DataArray accessors for PyVista
Apache License 2.0
98 stars 6 forks source link

Add Level of Detail VTK source loader #36

Closed banesullivan closed 2 years ago

banesullivan commented 2 years ago

Run the example:

python examples/level_of_detail.py

or

python examples/level_of_detail_geovista.py

Note: this requires a development branch in PyVista: https://github.com/pyvista/pyvista/pull/3318 as well as trame

https://user-images.githubusercontent.com/22067021/191333612-011cab35-b4e1-4a28-ac52-654a589a04ec.mov

codecov-commenter commented 2 years ago

Codecov Report

Merging #36 (9a1ffd6) into main (e19eab1) will decrease coverage by 2.39%. The diff coverage is 82.05%.

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   90.73%   88.33%   -2.40%     
==========================================
  Files           8        9       +1     
  Lines         205      283      +78     
==========================================
+ Hits          186      250      +64     
- Misses         19       33      +14     
Impacted Files Coverage Δ
pvxarray/vtk_source.py 81.81% <81.81%> (ø)
pvxarray/__init__.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.