[Paraview] Error in Reader Example

James Furness pcxjf1 at nottingham.ac.uk
Thu Feb 19 11:27:08 EST 2015


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150219/a15b3de0/attachment.html>


More information about the ParaView mailing list