<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>The method is SetName with a capitol 'S'. You have setName with a lowercase 's'. The C language is case sensitive.</div>
</div>
</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>庞庆源 <<a href="mailto:pangqingyuan1991@gmail.com">pangqingyuan1991@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Friday, September 13, 2013 6:54 PM<br>
<span style="font-weight:bold">To: </span>paraview <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] [Paraview] error: 'class vtkFloatArray' has no member named 'setName'<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">Why do I get such a strange error?I can find setName() function at <a href="http://www.vtk.org/doc/nightly/html/classvtkFloatArray-members.html">http://www.vtk.org/doc/nightly/html/classvtkFloatArray-members.html</a><br clear="all">
<div>My paraview version is 4.0.1.</div>
<div>the master code is as below:</div>
<div>******************************************</div>
<div>vtkFloatArray *pointScalars = vtkFloatArray::New();<br>
</div>
<div>pointScalars->setName("Velocity");</div>
<div><br>
</div>
<div>******************************************</div>
<div>I also find similar code in GMVReader plugin source,which is part of paraview source,but without compile error.</div>
<div><br>
</div>
-- <br>
<font face="arial,helvetica,sans-serif" size="6" color="#33ff33"><a href="mailto:pangqingyuan1991@gmail.com" target="_blank">庞庆源<span></span><span></span></a></font></div>
</div>
</div>
</blockquote>
</span>
</body>
</html>