Export Volume Rendering as stack of PNG's. NOT stl's

You should be able to create a clipping scenario like the one shown in the image below. I’ve done it through the GUI here, but the same thing in python via the model display nodes, clip model node, and slice nodes using code like what’s pasted below. This would need to be scripted and integrated with the corresponding slab generation for the volume rendering.

Cheers,
Steve

m = getNode('tissue')
dn = m.GetDisplayNode()
dn.SetClipping(0)
dn.SetClipping(1)
c = getNode('*ClipModel*')
c.SetClipType(1)
c.SetClipType(0)
c.SetClipType(1)
c.SetYellowSliceClipState(1)
c.SetYellowSliceClipState(0)
c.SetYellowSliceClipState(1)

1 Like