[vtkusers] Reading XDR data

Andrew Porter Andrew.R.Porter at man.ac.uk
Thu Oct 17 09:10:25 EDT 2002


Hi all,

Has anyone investigated/implemented an XDR reader for vtk?  I've been
looking into it but am hitting difficulties since vtk uses ifstreams and
the XDR library wants a FILE*. One solution would be to replace the array
data in the vtk file with the filename of an associated XDR file. This
would only be apparent to a 'vtkReadXDRData' routine (in analogy with
vtkReadBinaryData).  However, it does of course break the normal vtk
approach of including the header information and data in a single file.

Any thoughts or suggestions gratefully received.

Andrew.


--
Andrew Porter

Software engineer, RealityGrid      Tel. :  +44 (0)161 2757184
Manchester Computing                Fax. :  +44 (0)161 2756040
University of Manchester            Email:  Andrew.Porter at man.ac.uk
Oxford Road                         Web  :  www.realitygrid.org
Manchester, M13 9PL                      :  www.csar.cfs.ac.uk/staff/porter/






More information about the vtkusers mailing list