[vtkusers] Correct way of using ReleaseDataFlagOn()

Alex Malyushytskyy alexmalvtk at gmail.com
Fri Dec 2 21:43:01 EST 2011


As far I can recall  flag is usually checked  and data is released in
RequestData(....).
So doing it before Update should guarantee data is released.

Regards, Alex


On Fri, Dec 2, 2011 at 2:36 AM, Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
> Hi all,
>
> If I have a pipeline like
>
> vtkPolyDataToImageStencil---->vtkImageStencil--->vtkImageAccumulate->GetOutput()
>
> how should I use ReleaseDataFlagOn()?
>
> Should I set it before Updat() or after Update()?
>
> Thanks
>
> --
> Jothy
>
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list