[vtkusers] unable to read multiple parts with vtkEnSightReader and derivative classes - VTK 4.4.2 on Linux
Amy Henderson
amy.henderson at kitware.com
Mon Nov 1 09:08:01 EST 2004
Hi Ken,
Once the EnSight reader has been Update()'d, you can call
GetNumberOfOutputs() on it to determine how many parts the file contains.
You can then call GetOutput(idx) (where idx is an integer between 0 and
number_of_outputs-1) to get a particular part.
- Amy
At 05:14 PM 10/31/2004, Kenneth Gage wrote:
>Hello -
>
>I am having much trouble reading multiple parts from an EnSight6 file
>output from FLUENT. When I use CastToConcrete and GeometryFilter as
>shown in the examples, I can only view the first part in my file.
>Despite reading through both the VTK manual and textbook, I haven't
>been able to figure out how to gain access to the other parts in the
>file; Is there a way to request the number of geometric parts and read
>a specific part for processing?
>
>Apologies in advance if I am missing something obvious; I'm stuck at
>square one and have been for some time.
>
>Thanks!
>Ken
>
>--
>Kenneth Gage
>MD-PhD Student
>McGowan Institute for Regenerative Medicine
>University of Pittsburgh
>Pittsburgh, PA 15203-2155
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list