[Paraview] vtkDataSetReader missing?

Chris Cameron heyitschriscameron at gmail.com
Thu Apr 3 09:52:39 EDT 2008


Hello,

I was given a code example that makes use of vtkDataSetReader to open and
read a .vtk file.
When I try to run the code example it errors out saying that the vtk module
does not include a vtkDataSetReader.
The import at the beginning of the python is:

    from paraview import vtk

and the reader is referenced as:

    reader = vtk.vtkDataSetReader()

It has been suggested that I may have to replace use of vtkDataSetReader
with paraview.sources.LegacyVTKFileReader.

Question:
Should I make this replacement or is vtkDataSetReader missing from
paraview.vtk?

We are using the latest developent HEAD of paraview as downloaded approx.
two days ago.

Thank You,

Chris Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080403/6a829b18/attachment.htm>


More information about the ParaView mailing list