<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>I am associating each cell with an object (in my 
case with a borehole, so each cell represents a borehole).&nbsp;in your example, 
when&nbsp;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).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>murat aydin</FONT>&nbsp;</DIV></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=daviddoria@gmail.com href="mailto:daviddoria@gmail.com">David 
  Doria</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=vtkusers@vtk.org 
  href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 08, 2009 5:23 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [vtkusers] vtkCell</DIV>
  <DIV><BR></DIV>
  <DIV class=gmail_quote>2009/6/8 Murat Aydın <SPAN dir=ltr>&lt;<A 
  href="mailto:murat.aydin@netcad.com.tr">murat.aydin@netcad.com.tr</A>&gt;</SPAN><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>How can i&nbsp;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.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>murat aydin</FONT></DIV></DIV><BR 
  clear=all></BLOCKQUOTE></DIV><BR>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:<BR><BR>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)?<BR><BR>Thanks,<BR><BR>David<BR><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Powered by 
  www.kitware.com<BR><BR>Visit other Kitware open-source projects at 
  http://www.kitware.com/opensource/opensource.html<BR><BR>Please keep messages 
  on-topic and check the VTK FAQ at: 
  http://www.vtk.org/Wiki/VTK_FAQ<BR><BR>Follow this link to 
  subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE></BODY></HTML>