<DIV>Hello vtk experts,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have a problem reading Scalar data from a vtk file. I am using the following steps.......Can you correct me if I am wrong....</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;vtkScalars *scalars = new vtkScalars;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkPolyDataReader *datareader = vtkPolyDataReader::New();</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datareader-&gt;SetFileName("argv[2]");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datareader-&gt;SetScalarsName("my_scalars_name");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datareader-&gt;Read(scalars);<BR></DIV>
<DIV>I am a starter in vtk....So please bear with me......</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Deepak</DIV>
<DIV>&nbsp;</DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail/taglines/*http://promotions.yahoo.com/new_mail/static/ease.html">Yahoo! Mail Address AutoComplete</a> - You start. We finish.