<div dir="ltr">Hi Michael,<div><br></div><div>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.</div><div><br></div><div>Best,</div><div>-berk</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 28, 2015 at 5:37 AM, Schlottke, Michael <span dir="ltr"><<a href="mailto:M.Schlottke@aia.rwth-aachen.de" target="_blank">M.Schlottke@aia.rwth-aachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<div>Hi again,</div>
<div><br>
</div>
<div>I am trying to follow the VTK guide (<a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Removal_of_Execute" target="_blank">http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Removal_of_Execute</a>) on migrating a set of ParaView plugins from VTK 5 to VTK
 6.</div>
<div><br>
</div>
<div>Just to be sure, what would be the correct way to replace the following implementation:</div>
<div><br>
</div>
<div>/////////////////////////////////////////////////////////////////////////</div>
<div>
<div>void vtkMyAlgorithmSubclass::ExecuteData(vtkDataObject *output)                </div>
<div>{                                                                               </div>
<div>  if (output && this->UpdateExtentIsEmpty(output))                              </div>
<div>    {                                                                           </div>
<div>    output->Initialize();                                                       </div>
<div>    return;                                                                     </div>
<div>    }                                                                           </div>
<div>                                                                                </div>
<div>  this->Execute();                                                              </div>
<div>}</div>
</div>
<div>/////////////////////////////////////////////////////////////////////////</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>Michael</div>
<br>
<br>
<div><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
--<br>
Michael Schlottke<br>
<br>
Chair of Fluid Mechanics and Institute of Aerodynamics<br>
RWTH Aachen University<br>
Wüllnerstraße 5a<br>
52062 Aachen<br>
Germany<br>
<br>
Phone: <a href="tel:%2B49%20%28241%29%2080%2095188" value="+492418095188" target="_blank">+49 (241) 80 95188</a><br>
Fax: <a href="tel:%2B49%20%28241%29%2080%2092257" value="+492418092257" target="_blank">+49 (241) 80 92257</a><br>
Mail: <a href="mailto:m.schlottke@aia.rwth-aachen.de" target="_blank">m.schlottke@aia.rwth-aachen.de</a><br>
Web: <a href="http://www.aia.rwth-aachen.de" target="_blank">http://www.aia.rwth-aachen.de</a></div>
</span></span></div>
<br>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div>