[vtkusers] Converting code to a vtk filter

Jeff Baumes jeff.baumes at kitware.com
Tue Aug 11 10:47:33 EDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090811/be6c5bed/attachment.htm>


More information about the vtkusers mailing list