[vtkusers] vtkCell
Murat Aydin
murat.aydin at netcad.com.tr
Tue Jun 9 01:46:12 EDT 2009
In addition to clipping, there is another filter that increase resolution by
dividing each triangle into 4 triangles,thus increase number of cells (i
couldnt remember its name, i am new to VTK).
I have noticed that after the increase in number of cells, the "OriginalID"
array preserves the IDs.The children cells have the same value with the
parent. Thank you for your help and patience.
Kind Regards
murat
----- Original Message -----
From: "Marcel Weiss" <mweiss at cbs.mpg.de>
To: <vtkusers at vtk.org>
Sent: Monday, June 08, 2009 6:53 PM
Subject: Re: [vtkusers] vtkCell
>
>> I can't think of a case where a clip filter would increase the number of
>> cells?
> this happens for example when clipping streamlines
>
> introducing own IDs as attributed scalars is a good way to solve this
> problem
>
> Marcel Weiss
> PhD student
> Department of Neurophysics
> Max Planck Institute for Human Cognitive and Brain Sciences
>
>
> 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
>
> _______________________________________________
> 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
> _______________________________________________
> 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
More information about the vtkusers
mailing list