[Paraview-developers] Removal of ExecuteData(...)

Berk Geveci berk.geveci at kitware.com
Tue Apr 28 09:52:58 EDT 2015


Hi Michael,

You will need some minor changes but yes you can move that to
RequestData(). You will have to pass the input and output to Execute()
somehow.

Best,
-berk

On Tue, Apr 28, 2015 at 5:37 AM, Schlottke, Michael <
M.Schlottke at aia.rwth-aachen.de> wrote:

>  Hi again,
>
>  I am trying to follow the VTK guide (
> http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Removal_of_Execute) on
> migrating a set of ParaView plugins from VTK 5 to VTK 6.
>
>  Just to be sure, what would be the correct way to replace the following
> implementation:
>
>  /////////////////////////////////////////////////////////////////////////
>  void vtkMyAlgorithmSubclass::ExecuteData(vtkDataObject *output)
>
> {
>
>   if (output && this->UpdateExtentIsEmpty(output))
>
>     {
>
>     output->Initialize();
>
>     return;
>
>     }
>
>
>
>   this->Execute();
>
> }
>  /////////////////////////////////////////////////////////////////////////
>
>  Can I just move this whole code into RequestData (and use the
> vtkDataObject* output as a downcast from my output info object)? Is the
> call to Execute() still needed in this case?
>
>  Thanks!
>
>  Michael
>
>
>  --
> Michael Schlottke
>
> Chair of Fluid Mechanics and Institute of Aerodynamics
> RWTH Aachen University
> Wüllnerstraße 5a
> 52062 Aachen
> Germany
>
> Phone: +49 (241) 80 95188
> Fax: +49 (241) 80 92257
> Mail: m.schlottke at aia.rwth-aachen.de
> Web: http://www.aia.rwth-aachen.de
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150428/f5a05c46/attachment.html>


More information about the Paraview-developers mailing list