[Paraview] error: 'class vtkFloatArray' has no member named 'setName'

庞庆源 pangqingyuan1991 at gmail.com
Fri Sep 13 20:54:57 EDT 2013


Why do I get such a strange error?I can find setName() function at
http://www.vtk.org/doc/nightly/html/classvtkFloatArray-members.html
My paraview version is 4.0.1.
the master code is as below:
******************************************
vtkFloatArray *pointScalars = vtkFloatArray::New();
pointScalars->setName("Velocity");

******************************************
I also find similar code in GMVReader plugin source,which is part of
paraview source,but without compile error.

-- 
庞庆源 <pangqingyuan1991 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130914/4ffe1297/attachment-0001.htm>


More information about the ParaView mailing list