[vtkusers] vtkCell

Murat Aydın murat.aydin at netcad.com.tr
Mon Jun 8 11:19:50 EDT 2009


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 
  ----- Original Message ----- 
  From: David Doria 
  Cc: vtkusers at vtk.org 
  Sent: Monday, June 08, 2009 5:56 PM
  Subject: Re: [vtkusers] vtkCell


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

    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 



  Murat,

  Please reply to the list only, not also to individuals, because then we get the message twice!

  This should do what you're looking for:
  http://www.vtk.org/Wiki/Add_Miscellaneous_Data_to_Cells_in_a_Polydata

  Let us know if it doesn't.

  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/33ab1bf4/attachment.htm>


More information about the vtkusers mailing list