Creating animation with a set of meshes deforming over time overlapped to ct-scan

Hi All,

I have a set of meshes (vtk) that represent the same geometry deforming over time. Each time refers to a different time step. I could upload this set of meshes in Paraview and generate an animation with the moving object. I’d like to do the same in Slicer while keeping in the background the corresponding CT-scan. Is it possible to do that in Slicer? Could anyone provide guidance?

Many thanks,
Marco

You should be able to do ths with sequences: Sequences — 3D Slicer documentation

Thank you very much for your contribution.

I tried to work with Sequences, but I haven’t found any method to switch from one vtk (time step) to the following seemlessly and while recording. Perhaps scripting is required?

Thanks,
Marco

Scripting usually helps if you are trying to do something sophisticated and want to be reproducible. But if your goal is to load a set of vtk poly data objects and iterate through displaying them you should be able to just load them all as models, put them in a sequence and animate them.

That said, I don’t use the Sequences module much and maybe someone who does can give you step by step instructions (or explain any gaps in the documentation so it can be improved).

Yes my goal is exactly to load a set of vtk polydata and iterate through displaying them. I loaded them as models and put in a sequence, but didn’t find how to animate them.