Hello there<br><br>After debugging for a long time, i found out that data exists till this part of code<br><br><br>   vtkPoints *pts = vtkPoints::New();<br>   pts-&gt;SetData(scatter_data); // scatter_data is an instance of vtkDoubleArray with three components<br><br>   unsigned int num_ids = scatter_data-&gt;GetNumberOfTuples();<br><br>   vtkPolyVertex *poly = vtkPolyVertex::New();<br>   poly-&gt;GetPointIds()-&gt;SetNumberOfIds(num_ids);<br><br>   for ( unsigned int i = 0; i &lt; num_ids; i++ )<br>        poly-&gt;GetPointIds()-&gt;SetId(i,i);<br><br>   vtkUnstructuredGrid *ugrid = vtkUnstructuredGrid::New();<br>   ugrid-&gt;Allocate(1);<br>   ugrid-&gt;InsertNextCell (poly-&gt;GetCellType(), poly-&gt;GetP ointIds());<br>   ugrid-&gt;SetPoints(pts);<br><br>   vtkDelaunay2D *del = vtkDelaunay2D::New();<br>   del-&gt;SetInput(ugrid);<br>   del-&gt;SetTolerance(0.001);<br><br>Once i execute, the following code,<br><br>vtkContourFilter *cf = vtkContourFilter::New();<br>   cf-&g
 t;SetInputConnection(del-&gt;GetOutputPort());<br>   cf-&gt;GenerateValues(10, -5, 20);<br>cf-&gt;Update();<br><br>all data vanishes.. <br><br>I mean to say that, initially, the grid had, 22,000 points.. After traingulating, i got 20000 of cells.. <br><br>But  after executing the contour filter class, i get 0 cells and 0 points as output.. Where the data disappears all of a sudden, i'm not able to understand.. Please i need a guidance from the most experienced and senior person.. My mind is totally blank..<br><br>Thanks in advance<br><br><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>