[vtkusers] vtkCell

David Doria daviddoria at gmail.com
Mon Jun 8 11:35:29 EDT 2009


2009/6/8 Murat Aydın <murat.aydin at netcad.com.tr>

>  When i do clipping, number of cells increase. For instance, the cell with
> ID=1 is divided into 5 cells. I want to know which divided cells belong to
> the cell with ID = 1.
>
> Kind Regards
>
> murat
>

I can't think of a case where a clip filter would increase the number of
cells? For each cell, shouldn't it just either be removed or reduced in
size? It looks like the clip filter passes along these additional arrays for
the cases I've described  - ie. you can manually add an "OriginalID" array
that contains the cell ids and then the reduced size/remaining cells will
still contain that information. I don't think you can access them directly
by the value of that array, but you could manually reorder them or write
some kind of "find" function.

If I'm still missing your question then I'll be quiet and let someone else
answer :)

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090608/36dcfa9b/attachment.htm>


More information about the vtkusers mailing list