<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="">
Hi Berk,
<div class=""><br class="">
</div>
<div class="">Thank you for your answer. What do you mean by “minor changes” (other than that I somehow have to obtain the correct output pointer)? And do I really need to pass data to Execute()? As far as I can tell, the particular filter I’m looking at does
 nothing in Execute() (really a no-op), so it seems like a good candidate to be removed completely.</div>
<div class=""><br class="">
</div>
<div class="">Michale</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 28 Apr 2015, at 15:52 , Berk Geveci <<a href="mailto:berk.geveci@kitware.com" class="">berk.geveci@kitware.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi Michael,
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">-berk</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Tue, Apr 28, 2015 at 5:37 AM, Schlottke, Michael <span dir="ltr" class="">
<<a href="mailto:M.Schlottke@aia.rwth-aachen.de" target="_blank" class="">M.Schlottke@aia.rwth-aachen.de</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" 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" target="_blank" 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 class=""><span style="border-collapse: separate; 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;" class="">
<div style="word-wrap:break-word" 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: <a href="tel:%2B49%20%28241%29%2080%2095188" value="+492418095188" target="_blank" class="">
+49 (241) 80 95188</a><br class="">
Fax: <a href="tel:%2B49%20%28241%29%2080%2092257" value="+492418092257" target="_blank" class="">
+49 (241) 80 92257</a><br class="">
Mail: <a href="mailto:m.schlottke@aia.rwth-aachen.de" target="_blank" class="">m.schlottke@aia.rwth-aachen.de</a><br class="">
Web: <a href="http://www.aia.rwth-aachen.de/" target="_blank" class="">http://www.aia.rwth-aachen.de</a></div>
</span></div>
<br class="">
</div>
<br class="">
_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com/" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank" class="">
http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" target="_blank" class="">
http://markmail.org/search/?q=Paraview-developers</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank" class="">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>