Paraview with C++

Dear community members.

I have a question, and I hope will find the answer here.

So, I have a VTK file which is a 3D microstructure.

Is it possible to use the ParaView C++ API to slice the microstructure in all directions and save the output as an image? I mean, without using the ParaView GUI. Is that possible? If yes, Can you point me to the documentation?

The whole idea to automate my slicing using C++

Best regards,
Hesham Salama

In this case you probably want to use python scripting and pvpython.

1 Like

Thank you for the kind reply. I will try that.