Question about ImageReslice Class in WebGPU

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:

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!

@jaswantp @lgivord

1 Like

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

1 Like

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