[vtkusers] Delete Cells from VtkPolydata

Sebastien.Valette at creatis.insa-lyon.fr Sebastien.Valette at creatis.insa-lyon.fr
Thu Jun 12 17:13:17 EDT 2008


Hi,

maybe you should try:

mc->output->Modified();

before the call to Render()


>
> Hi,
>
> This time what I am trying to do is following.
>
> I have a polydata(output of MarchingCubes) and I have rendered it
> successfully.
> Now I want to delete certain cells from vtkpolydata and then I want to
> update the renderer window.
>
> for deletion of cell I am using
>
> mc->output->RemoveCellReference(cellId);
> mc->output->DeleteCell(cellId);
>
> how can I update the polydata throughout the pipeline?? so that it could
> be
> reflected on the renWin??
>
> Thanks a lot.
>
> Regards,
> Prabhat
>
> --
> View this message in context:
> http://www.nabble.com/Delete-Cells-from-VtkPolydata-tp17808023p17808023.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list