Hi,
I am attempting to write a reader and have been following the example at:
http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader for reference. However
it seems not to work. I have copy-pasted the contents into the various files
and run ccmake in the directory to produce a make file. Attempting to build
this does not compile and fails with the following error:
MyReader.cxx:43:45: error: no member
named 'GetProducerPort' in 'vtkPolyData'
glyphFilter->SetInputConnection(polydata->GetProducerPort());
Looking at the vtk class help pages
(http://www.vtk.org/doc/nightly/html/classvtkPolyData.html) it seems there is
not method ‘GetProducerPort()’ in the class vtkPolyData.
Have things changed since the example was written? How should I proceed with
this?
And are there any better guides for writing a custom reader. The documentation
is sparse and quite unclear.
Many thanks,
James
This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.
This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview