<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sia,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The continue executing implementation passes keys to all inputs AFAIK and if this is triggering both inputs to execute, then your only hope is to have a look
 inside the executive code and see if you can fix it. Ideally the continue executing would copy keys to the inputs and only trigger an update for the ones that need it (i.e. keys have changed), but if memory serves me, this was troublesome and if input 0 needed
 updating, input 1 got updated too. Particulary nasty if you want to update the time on one input/filter, but not the other.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[the alternative is to manually execute the filter input which you really want, rather than using the continue executing feature]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It&#8217;s been a while since I&#8217;ve looked at the executive code so hopefully one of the kitware bunch will propose a solution.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">JB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org]
<b>On Behalf Of </b>Sunrise<br>
<b>Sent:</b> 24 September 2013 05:26<br>
<b>To:</b> VTK Users<br>
<b>Subject:</b> [vtkusers] CONTINUE_EXECUTING with multiple input ports<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I have a question regarding <span style="font-family:&quot;Courier New&quot;">
CONTINUE_EXECUTING</span> request key when the filter has multiple input ports.<br>
<br>
Let <span style="font-family:&quot;Courier New&quot;">FilterA</span> and <span style="font-family:&quot;Courier New&quot;">
Filter B</span> each have one output port, and <span style="font-family:&quot;Courier New&quot;">
FilterC</span> has two input ports. Assume output port of <span style="font-family:&quot;Courier New&quot;">
FilterA</span> and also <span style="font-family:&quot;Courier New&quot;">FilterB </span>are connected to both input ports 0 and 1 of
<span style="font-family:&quot;Courier New&quot;">FilterC</span> respectively. In <span style="font-family:&quot;Courier New&quot;">
FilterC::RequestData(...)</span> something is changed so only one of the input sources of this filter (say
<span style="font-family:&quot;Courier New&quot;">FilterA</span>, bot not<span style="font-family:&quot;Courier New&quot;"> FilterB</span>) should re-execute. So I have
<br>
<br>
<span style="font-family:&quot;Courier New&quot;">FilterC::RequestData(...){<br>
...<br>
if(change for FilterA needed)<br>
{<br>
request-&gt;Set(vtkStreamingDemandDrivenPipeline::CONTINUE_EXECUTING(),1);<br>
return 0;<br>
}<br>
...<br>
}</span><br>
<br>
and the execution should go to <span style="font-family:&quot;Courier New&quot;">FilterC::RequestUpdateExtent(...)</span>. How can I make the pipeline to only re-execute only
<span style="font-family:&quot;Courier New&quot;">FilterA</span>, not <span style="font-family:&quot;Courier New&quot;">
FilterB</span> and then return back to <span style="font-family:&quot;Courier New&quot;">FilterC::RequestData(...)</span>?<br>
<br>
Thanks a lot.<br>
- Sia<o:p></o:p></p>
</div>
</div>
</body>
</html>