[vtkusers] extracting cells

Tasnim hanene-jeder at hotmail.fr
Fri Oct 12 17:23:34 EDT 2012


Hi vtkUsers,
i tried to extract cells from my mesh, based on this example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractCellsUsingPoints
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractCellsUsingPoints>  
and i tried to select ids from 10 to 40 :
for(vtkIdType i = 10; i < 40; i++)
    {
    ids->InsertNextValue(i);
    }
then i create a ply file from this selection, but i found that the
extraction begins from the Id 0 not from 10!!!
Is it possible to realize my idee!! if yes, how can i correct my code??

Thanks



--
View this message in context: http://vtk.1045678.n5.nabble.com/extracting-cells-tp5716625.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list