[vtkusers] Getting the original cell id's from vtkExtractUnstructuredGrid
Bryn Lloyd
blloyd at vision.ee.ethz.ch
Wed Jul 23 03:14:44 EDT 2008
Hi Sarah,
A simple method is to use the vtkIdFilter before you extract a
region/surface/whatever.
http://www.vtk.org/doc/nightly/html/classvtkIdFilter.html
Cheers, Bryn
Sarah Macumber wrote:
> Hi all,
>
> Is there anyway to get the original cell & point ID's from vtkExtractUnstructuredGrid which returns a new vtkUnstructuredGrid? For example if you extract the cells using extents in the middle of your dataset how can you find out what those cell & point ID's are? They get re-ordered in the new grid. I am not doing extraction via graphical selection so I need to use global cordinates to do my extraction & then get back an ID list of the cells.
>
> Any help is appreciated, Sarah
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 27690
Fax: +41 44 63 21199
-------------------------------------------------
More information about the vtkusers
mailing list