Livia, With VTK 6, there's no need create a shallow copy of the input.
BTW, the ParaView Guide (http://www.paraview.org/paraview-guide/) is indeed the latest irrespective of the page count :). Utkarsh On Tue, Apr 7, 2015 at 3:47 AM, <[email protected]> wrote: > Hi, > > I have a question about the use of vtk filter. At page 91 of the paraview > manual included in the binaries download, it is suggested to make a copy of > the input ( > > input_copy = inputs[0].NewInstance() > > input_copy.UnRegister(None) > > input_copy.ShallowCopy(inputs[0].VTKObject) ) , but the reference is to the > previous version of VTK. Does this still hold for VTK 6? > > In the paraview guide available for download under “documentation”, this > issue is not mentioned (but the guide is also shorter). I have been using > the filter without making copy of the input and I haven’t the impression of > memory leaks in my code > > Livia > > > > > > Livia Barazzetti > Ph.D. Student - Medical Image Analysis > Institute for Surgical Technology and Biomechanics > University of Bern > Stauffacherstrasse 78 > CH-3014 Bern > Tel +41 31 631 59 48 > http://www.istb.unibe.ch > > > > > _______________________________________________ > 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
