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

Schlottke, Michael M.Schlottke at aia.rwth-aachen.de
Tue Apr 28 05:37:41 EDT 2015


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<mailto:m.schlottke at aia.rwth-aachen.de>
Web: http://www.aia.rwth-aachen.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150428/249ffb48/attachment.html>


More information about the Paraview-developers mailing list