<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    I'm trying to implement a self-made plugin in Paraview, using a
    working VTK filter.<br>
    This filter sets a key into the information of my output data set<br>
    <br>
    <blockquote><i>outInfo = output-&gt;GetInformation()</i><br>
    </blockquote>
    <br>
    I have to retrieve this key into the RequestData() pass of the
    connected filter. It works well in a pure VTK pipeline, but in
    Paraview, it seems that an intermediate filter vtkPVPostFilter drops
    this information key.<br>
    So I found in this mailing list that keys could be copied, by
    appending the key to KEYS_TO_COPY() key of the information.<br>
    What I do by<br>
    <blockquote><i>outInfo-&gt;AppendUnique(vtkExecutive::KEYS_TO_COPY(),
        cnsVTK_ResultReader_HDF5::DATA_POINTER());</i><br>
    </blockquote>
    The output information PrintSelf() :<br>
    <blockquote><i>Debug: Off</i><br>
      <i>Modified Time: 235702</i><br>
      <i>Reference Count: 1</i><br>
      <i>Registered Events: (none)</i><br>
      <i>DATA_POINTER: 1757632496</i><br>
      <i>DATA_NUMBER_OF_PIECES: 0</i><br>
      <i>KEYS_TO_COPY: DATA_POINTER</i><br>
      <i>DATA_EXTENT_TYPE: 0</i><br>
      <i>DATA_PIECE_NUMBER: -1</i><br>
      <i>DATA_NUMBER_OF_GHOST_LEVELS: 0</i><br>
      <i>End of result reader Request Data</i><br>
    </blockquote>
    But the key is not copied, or at least, I can't read it into the
    consumer RequestData() pass :<br>
    <blockquote><i>inInfo = inputDataSet-&gt;GetInformation()</i><br>
    </blockquote>
    The <i>inInfo</i> PrintSelf() :<br>
    <blockquote><i>Debug: Off</i><br>
      <i>Modified Time: 234317</i><br>
      <i>Reference Count: 1</i><br>
      <i>Registered Events: (none)</i><br>
      <i>DATA_NUMBER_OF_PIECES: 1</i><br>
      <i>DATA_EXTENT_TYPE: 0</i><br>
      <i>DATA_PIECE_NUMBER: 0</i><br>
      <i>DATA_NUMBER_OF_GHOST_LEVELS: 0</i><br>
    </blockquote>
    So, all specific information keys have been deleted...<br>
    <br>
    Thank you in advance for your help,<br>
    <br>
    Yves<br>
    <br>
    <div class="moz-signature">-- <br>
      Yves Rogez<br>
      <br>
      <strong>IPAG CNRS/UJF</strong><br>
      <em>Institut de Plan&eacute;tologie et d'Astrophysique de Grenoble</em><br>
      Bat D de Physique - BP. 53 - 38041 Grenoble - FRANCE<br>
      <br>
      <strong>tel : +33 (0)4 76 63 52 80</strong><br>
      lab : +33 (0)4 76 63 52 89 <br>
    </div>
  </body>
</html>