Well, <br><br>The data file is a file containing x, y and z data in UTM coordinates. here is the code to read the file.<br><br>std::string dataline;<br>std::fstream fs;<br>std::istringstream instream;<br><br>fs.open(fname, std::ios::in);<br><br>vtkDoubleArray *scatter_data = vtkDoubleArray::New();<br>scatter_data-&gt;SetNumberOfComponents(3);<br><br>for( long int i = 0; !fs.eof(); i++)<br>{<br>    double x, y, z;<br>    getline(fs, dataline);<br>    instream.clear();<br>    instream.str(dataline);<br>    if( !dataline.empty())<br>    {<br>       instream &gt;&gt; x &gt;&gt; y &gt;&gt; z;<br>       scatter_data-&gt;InsertNextTuple3(x, y, z);<br>    }<br>}<br><br>fs.close();<br><br><br>the following include files are being used:<br><br>#include &lt;vtkCamera.h&gt;<br>#include &lt;vtkRenderer.h&gt;<br>#include &lt;vtkPoints.h&gt;<br>
#include &lt;vtkPolyVertex.h&gt;<br>#include &lt;vtkUnstructuredGrid.h&gt;<br>
#include &lt;vtkActor.h&gt;<br>#include &lt;vtkDoubleArray.h&gt;<br>
#include &lt;vtkProperty.h&gt;<br>
#include &lt;vtkRenderWindow.h&gt;<br>

#include &lt;vtkDelaunay.h&gt;<br>
#include &lt;vtkPolyDataMapper.h&gt;<br>

#include &lt;wxVTKRenderWindowInteractor.h&gt;<br><br>Even after including update(), it didnt show any result.. what may be the problem..??<br><br>Thanks<br><font color="#000000"><br></font><br><br><div style="border-top:1px dashed #ccc; border-bottom:1px dashed #ccc; padding:5px;"><a href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font:13px arial; color:#1E56A1; text-decoration:none;">Dear <b>vtkusers !</b> Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>