[vtkusers] Delete Cells from VtkPolydata

prabhat246 prabhat246 at yahoo.com
Thu Jun 12 17:29:09 EDT 2008


Hi,
Thanks a lot for replying.
But it is now working. Even when I do mc->output->GetNumberOfCells(); it
shows same number then before deleting.

Regards,
Prabhat


Sebastien Valette wrote:
> 
> 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
>>
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Delete-Cells-from-VtkPolydata-tp17808023p17810106.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list