Reading multiple parts from file
Igor Fridman
pnin22 at yahoo.com
Wed Feb 23 22:18:41 EST 2000
Hello, I am trying to find an efficient way of
extracting PolyDatas from a file which has multiple
parts in it. In doing so, I discovered the following
problem:
First I tried creating 1 reader object which reads the
whole file. I set the part number to 1 and extract
the PolyData (via GetOutput). Then I set the part
number to 2 and extract the PolyData. It turns out,
however, this gives me thesame dataset as for part 1,
and I must Update the reader after setting a new part
number. This, however, causes the reader to read the
file again. This is quite cumbersome when the file
exceeds 10 parts and 5MB, as I it must read the whole
file 10 times!
I tried creating as many readers as there are parts
but still each reader reads and stores the whole file,
not just the part that I need.
Any suggestions?
Thanks in advance!
(sorry if this is a repeat, not sure if original
message got through)
=====
==================================================
Igor Fridman
Naval Research Laboratory
Vacuum Electronics Branch Code 6841
4555 Overlook Ave. S.W., Washington, DC 20375, USA
==================================================
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list