[vtkusers] Converting code to a vtk filter

David Doria daviddoria+vtk at gmail.com
Tue Aug 11 10:55:35 EDT 2009


On Tue, Aug 11, 2009 at 10:47 AM, Jeff Baumes <jeff.baumes at kitware.com>wrote:

> On Tue, Aug 11, 2009 at 10:29 AM, David Doria <daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> > wrote:
>
>>     output = this->GetOutputPolyData();
>>
>
> You need to modify the output object itself. Here you are just setting a
> pointer and leaving the true output object unchanged. You should pass the
> output object pointer to GetOutputPolyData(), and fill that poly data
> instead of creating a new one.
> Jeff
>
>
Ah I see, it's working now, thanks.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090811/dd4e0b07/attachment.htm>


More information about the vtkusers mailing list