# Question about ImageReslice Class in WebGPU

**URL:** <https://discourse.vtk.org/t/question-about-imagereslice-class-in-webgpu/15660>\
**Category:** Development\
**Created:** [May 22, 2025, 9:11am UTC](https://discourse.vtk.org/t/question-about-imagereslice-class-in-webgpu/15660 "2025-05-22T09:11:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeje](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/c68b51/32.png) [@jeje](https://discourse.vtk.org/u/jeje)\
**Post date:** [May 22, 2025, 9:11am UTC](https://discourse.vtk.org/t/question-about-imagereslice-class-in-webgpu/15660/1 "2025-05-22T09:11:10Z")

</div>

Hello everyone,

I have a question regarding the use of VTK with WebGPU. I’d like to know why the `ImageReslice` class isn’t imported into WebGPU. Could someone help shed some light on this?

Additionally, I’m encountering the following error during the compilation of my project:

```auto
In file included from C:/git/MedicalDemo3_WASM/Include/src/SliderCallback.cpp:1:C:/git/MedicalDemo3_WASM/Include/h\SliderCallback.h:4:10: fatal error: 'vtkCommand.h' file not found 4 | #include <vtkCommand.h> | ^ ~~~~~~~~~~~~~ 1 error generated.

```

I’ve successfully run other examples like `ConeMultiBackend`, `MultiCone`, and `Cone` without any issues. I want to be able to run my project in a web browser while using Dawn.

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![Louis\_Gombert](https://discourse.vtk.org/user_avatar/discourse.vtk.org/louis_gombert/32/7766_2.png) [@Louis\_Gombert](https://discourse.vtk.org/u/Louis_Gombert)\
**Post date:** [May 26, 2025, 7:16am UTC](https://discourse.vtk.org/t/question-about-imagereslice-class-in-webgpu/15660/2 "2025-05-26T07:16:19Z")

</div>

@jaswantp @lgivord

---

<div class="post-metadata">

**Author:** ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Post date:** [May 26, 2025, 2:56pm UTC](https://discourse.vtk.org/t/question-about-imagereslice-class-in-webgpu/15660/3 "2025-05-26T14:56:16Z")

</div>

Hello @jeje

Glad to hear you successfully ran the other examples! `vtkImageSliceMapper` is not yet implemented for webgpu. It is on our roadmap to implement imaging and volume mappers for webgpu in 2025. Please keep an eye out for the announcement.

fyi, @sankhesh

---

<div class="post-metadata">

**Author:** ![jeje](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/c68b51/32.png) [@jeje](https://discourse.vtk.org/u/jeje)\
**Post date:** [May 27, 2025, 1:00pm UTC](https://discourse.vtk.org/t/question-about-imagereslice-class-in-webgpu/15660/4 "2025-05-27T13:00:12Z")

</div>

Hello @sankheshok,

Thank you for your message and for the information regarding vtkImageSliceMapper. I’m glad to hear that the implementation of imaging and volume mappers for webgpu is planned for 2025. I’ll keep an eye out for the announcement and continue exploring other examples in the meantime.

Thanks again for your help
