Hello.<div>I did this with polydata, so I suppose is the same for unstructured grid.<br>When you do the treshold put the result in a data set, in your case an unstructured grid. If the original UG had cell data, the result should have cell data to. If not ,  create an array of scalars of the same size and assign it to the tresholded data.<div>

<br></div><div>Best,</div><div>Gonzalo<br><br><div class="gmail_quote">2012/8/10 tdexplorer <span dir="ltr">&lt;<a href="mailto:meilizhuti@gmail.com" target="_blank">meilizhuti@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I have a relatively large unstructured grid which VTK renders slowly.  So I<br>
decided to use vtkThreshold to extract a small portion of the grid and then<br>
render only this part.  To speedup my program, I would also hope to provide<br>
only cell attributte data to the extracted portion of the grid.  Is it<br>
possible to do so. Thanks.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Is-It-Possible-to-Provide-Only-Data-for-A-Part-of-Grid-tp5715205.html" target="_blank">http://vtk.1045678.n5.nabble.com/Is-It-Possible-to-Provide-Only-Data-for-A-Part-of-Grid-tp5715205.html</a><br>


Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>--------<br>Gonzalo Amadio<br><br>
</div></div>