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

Bill Lorensen bill.lorensen at gmail.com
Sat Apr 3 08:23:02 EDT 2010


As soon as the constructor returns, the smart pointer is destroyed.

On Fri, Apr 2, 2010 at 12:42 PM, Darshan Pai <darshanpai at gmail.com> wrote:
> 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!
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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
>
>



More information about the vtkusers mailing list