[vtkusers] Contour of 3D Exodus Data
Favre Jean
jfavre at cscs.ch
Tue Dec 1 02:50:45 EST 2015
There are a couple of issues with your example.
The Exodus reader creates a multi-block dataset, whose first block is itself a multi-block dataset (You can see that in ParaView's Information tab).
thus, your input should be:
contours.SetInputData(reader.GetOutput().GetBlock(0).GetBlock(0))
second, you need to tell contours which variable to use:
contours.SetInputArrayToProcess(0, 0, 0, 0, "u")
-----------------
Jean/CSCS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151201/842638a3/attachment.html>
More information about the vtkusers
mailing list