Slicer is event driven, so rendering only happens when all events have been processed. So you can either call processEvents, like in ScreenCapture, or you can set up a timer to make your changes like in Rock mode for the viewer.
Thank you for your response, it kind of worked for me.
Is there any option in Slicer for dynamic update? My project needs some heavy computations which might need some time for the processing, is there any way that my module keeps on processing meanwhile user can interact in the rendering window?
a = testVariables()
for i in range(0,100):
var1 = 0
This program will just print 0 to 100 numbers. it worked fine.
Now I want to give my DWI node as an input to my cli module for further processing.
Can you guide me with it?