[vtkusers] Compute vorticity from imagedata

Stephen Hamilton stephenshamilton at gmail.com
Wed Jun 10 18:24:26 EDT 2015


I just figured out the missing line to make the vorticity work.  In order
for the arrays to appear on the filter, you have to define the input array
on the imagedata filter as a vector set, which makes sense.

I guess Murphy was waiting for me to send the previous message to the list
to reveal that solution...

Adding this line to the code made everything work:
image.GetPointData().SetActiveVectors("Data")


Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150610/649c4f35/attachment.html>


More information about the vtkusers mailing list