[vtk-developers] writing own filter to delete a cell

Rakesh Patil rakeshthp at in.com
Wed Apr 14 04:54:16 EDT 2010


 Hello users,Here are the two files which i have written. The filters to remove points and cells from an unstructured grid. It accepts an unstructured grid as an input and returns new unstructured grid as an output..When i check the number of points and number of cells of the output grid, it shows correctly.. But when i render the output grid, it gives error..Can anyone find out the mistake?? should ids be in sequence while rendering..?? The logic is based on the example belowhttp://www.vtk.org/Wiki/VTK/Examples/DeletePointHelp, guidance from any of the seniors wil be appreciatedThanksRegardsRakesh Patil 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100414/4021793c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyRemoveFilter.h
Type: text/x-c
Size: 720 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100414/4021793c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyRemoveFilter.cpp
Type: text/x-c
Size: 2021 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100414/4021793c/attachment-0003.bin>


More information about the vtk-developers mailing list