[vtkusers] Filter to delete a cell/point doest show any change in render window

Darshan Pai darshanpai at gmail.com
Fri Apr 2 12:42:10 EDT 2010


Rakesh,

I did not run the program but I think your problem is the initialization of
the _newPoints . I think you should initialize your _newPoints in the
Update() function rather than in the constructor. Or do not define it as a
smartpointer.

Regards
Darshan

On Fri, Apr 2, 2010 at 5:21 AM, Rakesh Patil <rakeshthp at in.com> wrote:

> 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 below
>
> http://www.vtk.org/Wiki/VTK/Examples/DeletePoint
>
> Help, guidance from any of the seniors wil be appreciated
>
> Thanks
>
> Regards
> Rakesh Patil
>
>
> Dear *vtkusers !* Get Yourself a cool, short *@in.com* Email ID now!<http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100402/aae0ff9b/attachment.htm>


More information about the vtkusers mailing list