The method is SetName with a capitol 'S'. You have setName with a lowercase 's'. The C language is case sensitive.
-Ken From: 庞庆源 <[email protected]<mailto:[email protected]>> Date: Friday, September 13, 2013 6:54 PM To: paraview <[email protected]<mailto:[email protected]>> Subject: [EXTERNAL] [Paraview] error: 'class vtkFloatArray' has no member named 'setName' 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. -- 庞庆源<mailto:[email protected]>
_______________________________________________ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
