Skip to content

Commit 5a9b829

Browse files
authored
add ImageVolumeGraphic (#791)
* add volume graphic, basic stuff works * remove a useless file I accidentally added * black * add volume movie * linear interpolation is better * cmap shown for volume image in hlut tooL * volume render modes work * example works * some updates to ImageGraphic for sharing buffesr * update volume and add examples * update example * update add_graphics mixin * bah * separate TextureArrayVolume for volumes, fix indexing for tiling volumes * remove dim kwarg * update interpolation * tests for TextureArrayVolume WIP * remove print * fix example * add example * modify lfs pointer see if this works * better alpha handling * add example to tests * correct docs * add zarr multi channel example * remove debug stuf * volume graphic tests * fixes * volume image graphci features * allow setting only vmin or vmax for images * black * update example * update graphic methods mixin * fix * upate example * better way to detect images * texture array for volume image is 3D * fix test * rename to figure so pygfx gallery scraper picks it up * allow longer time for actions, I guess volumes take a while * rename * update screenshots * for some reason using black via python gives different results than black on commandline * add ImageVolume api docs * replace image_widget_grid yet again... * forgot to commit event tables diff * hlut tool can manage multiple ImageGraphics or ImageVolumeGraphics * remove property that's no longer part of the API * docs * docstring fix * better text on hlut * black * update api docs * update CI timeouts because of new downloaded volume image * update screenshots because hlut line is more gray
1 parent 0e75f6c commit 5a9b829

File tree

93 files changed

+2776
-184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2776
-184
lines changed

.github/workflows/ci-pygfx-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
test-build-full:
1818
name: Tests - pygfx release
19-
timeout-minutes: 25
19+
timeout-minutes: 20
2020
if: ${{ !github.event.pull_request.draft }}
2121
strategy:
2222
fail-fast: false

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
test-build-full:
1818
name: Tests
19-
timeout-minutes: 25
19+
timeout-minutes: 20
2020
if: ${{ !github.event.pull_request.draft }}
2121
strategy:
2222
fail-fast: false

.github/workflows/screenshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
screenshots:
1515
name: Regenerate
1616
runs-on: ubuntu-latest
17-
timeout-minutes: 10
17+
timeout-minutes: 20
1818
if: ${{ !github.event.pull_request.draft }}
1919
strategy:
2020
fail-fast: false

docs/source/api/graphic_features/TextureArray.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Properties
2323
TextureArray.buffer
2424
TextureArray.col_indices
2525
TextureArray.row_indices
26-
TextureArray.shared
2726
TextureArray.value
2827

2928
Methods
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.. _api.TextureArrayVolume:
2+
3+
TextureArrayVolume
4+
******************
5+
6+
==================
7+
TextureArrayVolume
8+
==================
9+
.. currentmodule:: fastplotlib.graphics.features
10+
11+
Constructor
12+
~~~~~~~~~~~
13+
.. autosummary::
14+
:toctree: TextureArrayVolume_api
15+
16+
TextureArrayVolume
17+
18+
Properties
19+
~~~~~~~~~~
20+
.. autosummary::
21+
:toctree: TextureArrayVolume_api
22+
23+
TextureArrayVolume.buffer
24+
TextureArrayVolume.col_indices
25+
TextureArrayVolume.row_indices
26+
TextureArrayVolume.value
27+
TextureArrayVolume.zdim_indices
28+
29+
Methods
30+
~~~~~~~
31+
.. autosummary::
32+
:toctree: TextureArrayVolume_api
33+
34+
TextureArrayVolume.add_event_handler
35+
TextureArrayVolume.block_events
36+
TextureArrayVolume.clear_event_handlers
37+
TextureArrayVolume.remove_event_handler
38+
TextureArrayVolume.set_value
39+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.. _api.VolumeIsoEmissive:
2+
3+
VolumeIsoEmissive
4+
*****************
5+
6+
=================
7+
VolumeIsoEmissive
8+
=================
9+
.. currentmodule:: fastplotlib.graphics.features
10+
11+
Constructor
12+
~~~~~~~~~~~
13+
.. autosummary::
14+
:toctree: VolumeIsoEmissive_api
15+
16+
VolumeIsoEmissive
17+
18+
Properties
19+
~~~~~~~~~~
20+
.. autosummary::
21+
:toctree: VolumeIsoEmissive_api
22+
23+
VolumeIsoEmissive.value
24+
25+
Methods
26+
~~~~~~~
27+
.. autosummary::
28+
:toctree: VolumeIsoEmissive_api
29+
30+
VolumeIsoEmissive.add_event_handler
31+
VolumeIsoEmissive.block_events
32+
VolumeIsoEmissive.clear_event_handlers
33+
VolumeIsoEmissive.remove_event_handler
34+
VolumeIsoEmissive.set_value
35+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.. _api.VolumeIsoShininess:
2+
3+
VolumeIsoShininess
4+
******************
5+
6+
==================
7+
VolumeIsoShininess
8+
==================
9+
.. currentmodule:: fastplotlib.graphics.features
10+
11+
Constructor
12+
~~~~~~~~~~~
13+
.. autosummary::
14+
:toctree: VolumeIsoShininess_api
15+
16+
VolumeIsoShininess
17+
18+
Properties
19+
~~~~~~~~~~
20+
.. autosummary::
21+
:toctree: VolumeIsoShininess_api
22+
23+
VolumeIsoShininess.value
24+
25+
Methods
26+
~~~~~~~
27+
.. autosummary::
28+
:toctree: VolumeIsoShininess_api
29+
30+
VolumeIsoShininess.add_event_handler
31+
VolumeIsoShininess.block_events
32+
VolumeIsoShininess.clear_event_handlers
33+
VolumeIsoShininess.remove_event_handler
34+
VolumeIsoShininess.set_value
35+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.. _api.VolumeIsoStepSize:
2+
3+
VolumeIsoStepSize
4+
*****************
5+
6+
=================
7+
VolumeIsoStepSize
8+
=================
9+
.. currentmodule:: fastplotlib.graphics.features
10+
11+
Constructor
12+
~~~~~~~~~~~
13+
.. autosummary::
14+
:toctree: VolumeIsoStepSize_api
15+
16+
VolumeIsoStepSize
17+
18+
Properties
19+
~~~~~~~~~~
20+
.. autosummary::
21+
:toctree: VolumeIsoStepSize_api
22+
23+
VolumeIsoStepSize.value
24+
25+
Methods
26+
~~~~~~~
27+
.. autosummary::
28+
:toctree: VolumeIsoStepSize_api
29+
30+
VolumeIsoStepSize.add_event_handler
31+
VolumeIsoStepSize.block_events
32+
VolumeIsoStepSize.clear_event_handlers
33+
VolumeIsoStepSize.remove_event_handler
34+
VolumeIsoStepSize.set_value
35+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.. _api.VolumeIsoSubStepSize:
2+
3+
VolumeIsoSubStepSize
4+
********************
5+
6+
====================
7+
VolumeIsoSubStepSize
8+
====================
9+
.. currentmodule:: fastplotlib.graphics.features
10+
11+
Constructor
12+
~~~~~~~~~~~
13+
.. autosummary::
14+
:toctree: VolumeIsoSubStepSize_api
15+
16+
VolumeIsoSubStepSize
17+
18+
Properties
19+
~~~~~~~~~~
20+
.. autosummary::
21+
:toctree: VolumeIsoSubStepSize_api
22+
23+
VolumeIsoSubStepSize.value
24+
25+
Methods
26+
~~~~~~~
27+
.. autosummary::
28+
:toctree: VolumeIsoSubStepSize_api
29+
30+
VolumeIsoSubStepSize.add_event_handler
31+
VolumeIsoSubStepSize.block_events
32+
VolumeIsoSubStepSize.clear_event_handlers
33+
VolumeIsoSubStepSize.remove_event_handler
34+
VolumeIsoSubStepSize.set_value
35+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.. _api.VolumeIsoThreshold:
2+
3+
VolumeIsoThreshold
4+
******************
5+
6+
==================
7+
VolumeIsoThreshold
8+
==================
9+
.. currentmodule:: fastplotlib.graphics.features
10+
11+
Constructor
12+
~~~~~~~~~~~
13+
.. autosummary::
14+
:toctree: VolumeIsoThreshold_api
15+
16+
VolumeIsoThreshold
17+
18+
Properties
19+
~~~~~~~~~~
20+
.. autosummary::
21+
:toctree: VolumeIsoThreshold_api
22+
23+
VolumeIsoThreshold.value
24+
25+
Methods
26+
~~~~~~~
27+
.. autosummary::
28+
:toctree: VolumeIsoThreshold_api
29+
30+
VolumeIsoThreshold.add_event_handler
31+
VolumeIsoThreshold.block_events
32+
VolumeIsoThreshold.clear_event_handlers
33+
VolumeIsoThreshold.remove_event_handler
34+
VolumeIsoThreshold.set_value
35+

0 commit comments

Comments
 (0)