<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello Gerald,</p>
    <p>I also noticed that in Catalyst (look at my last message here :
<a class="moz-txt-link-freetext" href="https://discourse.paraview.org/t/is-it-possible-to-add-new-connections-to-a-fitler-port-via-the-pipeline-browser/1149/7">https://discourse.paraview.org/t/is-it-possible-to-add-new-connections-to-a-fitler-port-via-the-pipeline-browser/1149/7</a>)
      :<br>
    </p>
    <p>I have a vtk HDF writer in which I tested adding a second
      connection in Port 0, but with 2 connections,
      vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEP doesn't contain
      an epoch anymore but incremental reals in both connections (2
      filters output).<br>
    </p>
    <p>So, if someone can give us an explanation and a fix that would be
      great ? I wish there's a good resource explaining and demystifying
      VTK pipeline architecture.<br>
    </p>
    <p>Regards.<br>
    </p>
    <div class="moz-cite-prefix">Le 30/01/2019 à 14:26, Lodron, Gerald a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:882e5b04a59843adbc7856ef29e96fb5@RZJMBX2.jr1.local">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
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;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB">ah, ok, great. i already found that
            FROM_OUTPUT_PORT after parsing many examples. But did not
            check for -1. Thanks…<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB">I also noticed a starnge behaviour in time:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB">When I use
            <span style="background:white;mso-highlight:white">TIME_STEPS</span>
            in RequestInformation with a double array of descrete
            (e.g.1,2,3,4) values, shouldn’t I get only those requests
            from paraview (so that i do not need to recompute e.g.
            requests of 1.1 and 1.2 which will be both 1 from
            TIME_STEPS)? <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB">I still get continues values
            <span style="background:white;mso-highlight:white">from
              UPDATE_TIME_STEP, e.g. 1.1 and 1.2. Is that behaviour a
              bug or a feature?<o:p></o:p></span></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;background:white;mso-highlight:white;mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;background:white;mso-highlight:white;mso-fareast-language:EN-US"
            lang="EN-GB">best regards<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;background:white;mso-highlight:white;mso-fareast-language:EN-US"
            lang="EN-GB">Gerald<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;background:white;mso-highlight:white;mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:11.0pt;font-family:"Calibri",sans-serif"
              lang="EN-GB">Von:</span></b><span
            style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-GB"> David Gobbi <a class="moz-txt-link-rfc2396E" href="mailto:david.gobbi@gmail.com"><david.gobbi@gmail.com></a>
            <br>
            <b>Gesendet:</b> Mittwoch, 30. Januar 2019 14:2</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">0<br>
            <b>An:</b> Lodron, Gerald <a class="moz-txt-link-rfc2396E" href="mailto:Gerald.Lodron@joanneum.at"><Gerald.Lodron@joanneum.at></a><br>
            <b>Cc:</b> (<a class="moz-txt-link-abbreviated" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>) <a class="moz-txt-link-rfc2396E" href="mailto:vtkusers@vtk.org"><vtkusers@vtk.org></a><br>
            <b>Betreff:</b> Re: [vtkusers] pipeline question<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <p class="MsoNormal"><o:p> </o:p></p>
            <div>
              <div>
                <p class="MsoNormal">On Wed, Jan 30, 2019 at 12:58 AM
                  Lodron, Gerald <<a
                    href="mailto:Gerald.Lodron@joanneum.at"
                    moz-do-not-send="true">Gerald.Lodron@joanneum.at</a>>
                  wrote:<o:p></o:p></p>
              </div>
              <blockquote style="border:none;border-left:solid #CCCCCC
                1.0pt;padding:0cm 0cm 0cm
                6.0pt;margin-left:4.8pt;margin-right:0cm">
                <div>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                        lang="EN-GB">I made a vtk source with 5 outputs
                        and time data. I am getting the requested time
                        from output 0. I included the source into
                        paraview. The problem is that the request Data
                        function gets called 5 times (because of 5
                        outputs). Is there a way to get the output port
                        index of the requested data function call?</span><o:p></o:p></p>
                  </div>
                </div>
              </blockquote>
              <div>
                <p class="MsoNormal"><o:p> </o:p></p>
              </div>
              <div>
                <p class="MsoNormal">int outputPort =
                  request->Get(vtkDemandDrivenPipeline::FROM_OUTPUT_PORT());<o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><o:p> </o:p></p>
              </div>
              <div>
                <p class="MsoNormal">if outputPort has the special value
                  -1, then all outputs should be generated.<o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><o:p> </o:p></p>
              </div>
              <div>
                <p class="MsoNormal">   David<o:p></o:p></p>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="https://vtk.org/mailman/listinfo/vtkusers">https://vtk.org/mailman/listinfo/vtkusers</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>