[vtkusers] interactively and really deleting cells

Tasnim hanene-jeder at hotmail.fr
Tue Sep 4 16:46:07 EDT 2012


Hi  vtkUsers,
I have a mesh, when i pick in the mesh, i will retrieve some CellId. Now, i
want to delete , really those cells from my mesh, i tried by using this:


polydata= reader->GetOutput();
for (vtkIdType i=0, i<10; i++)
{
polydata->RemoveCellReference(j);
			polydata->DeleteCell(j);
			polydata->Modified();
			polydata->Update();
			polydata->RemoveDeletedCells();
			polydata->Update();
}
But nothing is happening. Any Help pleaaase,
regards,
Tasnim



--
View this message in context: http://vtk.1045678.n5.nabble.com/interactively-and-really-deleting-cells-tp5715853.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list