I don’t know how to get the rest of a pipeline to update in response to a Live Programmable Source changing its output. For example, let’s say I add such a source that outputs a vtkTable with a simple script:
from numpy.random import randn
output.RowData.append(randn(50), 'noise')
and make it always update with CheckNeedsUpdate script set to:
self.SetNeedsUpdate(True)
If any of this up to here is not how I’m meant to use the Live Programmable Source, please do let me know, but this part more or less works as I want it to, other than the fact that I can’t seem to change the update interval.
Now, let’s say I add a filter to it, like Extract Selection, and plot it. The filter will only update when I move my mouse across the plot rather than when the source data changes. Is there some way to do this? What if I have something more flexible like a programmable filter?
If the answer to the above questions is ‘no’, is there something I can enter into the Python Shell to force an update on demand?
Thanks in advance for any help!