To follow up, here is my attempts:
-
ProgrammingFilter reads the 3d data, decide where to place the slice, and make a plane, as PolyData of one polygon. I was hoping that I can use ResampleWithDataset tool to color this plane ( I thought this would apply here How to slice with Cone surface or Revolution shape). But i may be seeing the value only at four corner of polygon not as mesh of points. So this plane is not very useful at this point
-
I was thinking of creating custom filter which laps Slice filter. it takes second input and let the location/orientation of the slicing plane. The Programmable Filter in approach 1 can be rewrote to provide necessary parameters for plane. The new filter takes the original data array as first input, and this auxilliray input from the Programmable Filter, and the slicer changes position/orientation as time passes. But I even couldn’t get “Create Custom Filter” dialog to behave what I said above: It didnt like the Programmable Filter as second input telling it cannot tell what it is … something like that?
-
Now i found this Time dependent clipping this post, I am thinking i should use the Slice filter itself, and let animator to update the position/orientation of slicer. My plan is to write a preprocessor to determine where the plane should be for each time step, save it as CSV file. Then paraview somehow read that, and populate AnimationView to update “Slice Type(1) Normal”, etc. But, it isn’t immediately clear if I could even import such data to animator.
I am also wondering if there is way to show this slice like 2d plot (should be another topic if there is no simple answer that i over looked)… I experimented with Slice View and Orthogonal Slice view, but my understanding is that the slicer’s orientation cannot be customized. So currently I am thinking I should use RenderView with right camera orientation. Then, i have issue of moving camera to follow where the plume goes… Similar tasks as in approach 3 above.
I am thinking, I rather rotate the entire data for this Slice view at each time step, and then always looking at the same position, let data to rotate instead…?
Hope that i am explaining my problem clear enough. I’d appreciate any suggestion too. Thanks