[vtkusers] vtkCell
Murat Aydın
murat.aydin at netcad.com.tr
Mon Jun 8 10:42:37 EDT 2009
I am associating each cell with an object (in my case with a borehole, so each cell represents a borehole). in your example, when i delete a triangle, i want to access them by their original IDs. The IDs change when i apply some vtk filters (e.g: clipping).
murat aydin
----- Original Message -----
From: David Doria
Cc: vtkusers at vtk.org
Sent: Monday, June 08, 2009 5:23 PM
Subject: Re: [vtkusers] vtkCell
2009/6/8 Murat Aydın <murat.aydin at netcad.com.tr>
Hi,
How can i store data related to a vtkCell in a vtkCell? When ID of a vtkCell changes, i still want to identify that cell. Thanks in advance.
murat aydin
Can you give an example? What kind of data do you want to associate with the cell? When would the ID of the cell change? I'm assuming something like:
You have 3 triangles. You want to store the color of each triangle. So initially you have "red", "green", "blue". Then you delete the first triangle. You then want to have only "green", "blue". But do you want to access them by their original IDs (1 and 2) or their new ids (0 and 1)?
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090608/ebd2a9ec/attachment.htm>
More information about the vtkusers
mailing list