<div dir="ltr">Rahul,<div><br></div><div>It looks like you may be building against an older version of VTK.  SetInputData was not added until VTK 6, so if you are using VTK 5 (or accidentally using the wrong header files), that is why you are getting the message.  If you just want to modify the code, you could change it to SetInput instead (the VTK 5 and previous method used for the same purpose).  The methods are slightly different (see <a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput">http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput</a>), but for the purposes of this example they are the same.</div>
<div><br></div><div style>HTH,</div><div style><br></div><div style>Shawn</div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 8:58 AM, rahul indoria <span dir="ltr">&lt;<a href="mailto:rahulindoria5@gmail.com" target="_blank">rahulindoria5@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Hi,</span><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">
    when i am running this code, this example( <a href="http://vtk.org/gitweb?p=VTK.git;a=blob_plain;f=Examples/DataManipulation/Cxx/Arrays.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob_plain;f=Examples/DataManipulation/Cxx/Arrays.cxx</a> ) <b>showing an error :  &#39;SetInputData&#39;</b> : is not a member of &#39;vtkPolyDataMapper&#39;, but when i am checking this class, this class has this member function, could you please tell me, why i am getting this  example?</div>

<div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Looking forward your reply.<br></div><div class="gmail_extra">

rahul indoria</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><br></div></div></div></blockquote>
</div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Shawn Waldon<div>Graduate Student</div><div style>Department of Computer Science</div><div>University of North Carolina at Chapel Hill</div><div><a href="mailto:swaldon@cs.unc.edu" target="_blank">swaldon@cs.unc.edu</a></div>
</div>
</div></div></div>