[vtk-developers] passing data unchanged through a filter

John Platt jcplatt at dsl.pipex.com
Wed Feb 15 15:35:30 EST 2006


Hi all,

 

Is there a preferred method of passing a dataset through a filter with
no changes? I have seen

 

    output->ShallowCopy( input );

 

and

 

    output->CopyStructure( input );

    output->GetPointData()->PassData(input->GetPointData());

    output->GetCellData()->PassData(input->GetCellData());

 

Any enlightenment would be welcome.

 

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20060215/c70ab6e1/attachment.html>


More information about the vtk-developers mailing list