[vtkusers] vtkXMLPImageDataReader + vtkXMLPImageDataWriter

Paul McGuinness mcguinpg at maths.tcd.ie
Thu Jul 24 13:26:09 EDT 2003


Hi All,

I am creating an vtkImageData object and using vtkXMLPImageDataWriter to
write it to a file(*.pvti). Using a data parallel program (similar to
ParallelIso.cxx) to read in the using vtkXMLPImageDataReader and visual it
but I am I getting errors like:

Hi from Processor 2
ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
297
vtkXMLPImageDataReader (0x847d0a0): File for piece 1 cannot be read.

ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
297
vtkXMLPImageDataReader (0x847d0a0): File for piece 2 cannot be read.

Hi from Processor 3
ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
297
vtkXMLPImageDataReader (0x847d0a0): File for piece 1 cannot be read.

ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
297
vtkXMLPImageDataReader (0x847d0a0): File for piece 3 cannot be read.

I am not sure that I am using these classes correctly I am wondering if it
is possible that someone could email me an example of using both
vtkXMLPImageDataWriter and vtkXMLPImageDataReader.

Thanks,
Paul.





More information about the vtkusers mailing list