[vtkusers] Is It Possible to Provide Only Data for A Part of Grid

Gonzalo Amadio gonzaloamadio at gmail.com
Mon Aug 13 08:12:31 EDT 2012

I did this with polydata, so I suppose is the same for unstructured grid.
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.


2012/8/10 tdexplorer <meilizhuti at gmail.com>

> I have a relatively large unstructured grid which VTK renders slowly.  So I
> decided to use vtkThreshold to extract a small portion of the grid and then
> render only this part.  To speedup my program, I would also hope to provide
> only cell attributte data to the extracted portion of the grid.  Is it
> possible to do so. Thanks.
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Is-It-Possible-to-Provide-Only-Data-for-A-Part-of-Grid-tp5715205.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

Gonzalo Amadio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120813/46e2b19d/attachment.htm>

More information about the vtkusers mailing list