Don't use DeepCopy() unless you intend to change the values of the output
arrays. Use ShallowCopy() instead. You don't need CopyStructure() by the
way. Alternatively, you can use PassData(). Something like this:

output.GetPointData().PassData(inputs[0].GetPointData())
output.GeCellData().PassData(inputs[0].GetCellData())


Best,
-berk

On Tue, Nov 10, 2015 at 1:49 PM, Dennis Conklin <[email protected]
> wrote:

> Jean-Michel,
>
>
>
> I normally just add the following two statements within my Filter:
>
>
>
> output.CopyStructure(inputs[0].VTKObject)
>
> output.DeepCopy(inputs[0].VTKObject)
>
>
>
> Dennis
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to