<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I am attempting to write a reader and have been following the example at: <a href="http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader" class="">http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader</a> 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:</div><div class=""><br class=""></div><div class="">MyReader.cxx:43:45: error: no member<br class=""> named 'GetProducerPort' in 'vtkPolyData'<br class=""> glyphFilter->SetInputConnection(polydata->GetProducerPort());<br class=""><br class="">Looking at the vtk class help pages (<a href="http://www.vtk.org/doc/nightly/html/classvtkPolyData.html" class="">http://www.vtk.org/doc/nightly/html/classvtkPolyData.html</a>) it seems there is not method ‘GetProducerPort()’ in the class vtkPolyData.</div><div class=""><br class=""></div><div class="">Have things changed since the example was written? How should I proceed with this?</div><div class=""><br class=""></div><div class="">And are there any better guides for writing a custom reader. The documentation is sparse and quite unclear.</div><div class=""><br class=""></div><div class="">Many thanks,</div><div class="">James</div><PRE>
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.
</PRE></body></html>