[vtkusers] Re-using smart pointers as both input and output

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed May 17 12:41:43 EDT 2017


>
>
> Is it okay to reassign a smart pointer like that after using it as the
> input
> to an algorithm?
>

Yes. Except you can't do `delaunay->SetInputConnection(input)`, you'll need
to use `delaunay->SetInputDataObject(input);`.

Utkarsh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170517/7ae0e6c9/attachment.html>


More information about the vtkusers mailing list