<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi again,</div>
<div class=""><br class="">
</div>
<div class="">I am trying to follow the VTK guide (<a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Removal_of_Execute" class="">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 class=""><br class="">
</div>
<div class="">Just to be sure, what would be the correct way to replace the following implementation:</div>
<div class=""><br class="">
</div>
<div class="">/////////////////////////////////////////////////////////////////////////</div>
<div class="">
<div class="">void vtkMyAlgorithmSubclass::ExecuteData(vtkDataObject *output) </div>
<div class="">{ </div>
<div class=""> if (output && this->UpdateExtentIsEmpty(output)) </div>
<div class=""> { </div>
<div class=""> output->Initialize(); </div>
<div class=""> return; </div>
<div class=""> } </div>
<div class=""> </div>
<div class=""> this->Execute(); </div>
<div class="">}</div>
</div>
<div class="">/////////////////////////////////////////////////////////////////////////</div>
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Thanks!</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<br class="">
<br class="">
<div apple-content-edited="true" class=""><span class="Apple-style-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; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-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; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
--<br class="">
Michael Schlottke<br class="">
<br class="">
Chair of Fluid Mechanics and Institute of Aerodynamics<br class="">
RWTH Aachen University<br class="">
Wüllnerstraße 5a<br class="">
52062 Aachen<br class="">
Germany<br class="">
<br class="">
Phone: +49 (241) 80 95188<br class="">
Fax: +49 (241) 80 92257<br class="">
Mail: <a href="mailto:m.schlottke@aia.rwth-aachen.de" class="">m.schlottke@aia.rwth-aachen.de</a><br class="">
Web: <a href="http://www.aia.rwth-aachen.de" class="">http://www.aia.rwth-aachen.de</a></div>
</span></span></div>
<br class="">
</body>
</html>