<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi!<br>I´m trying to write a filter with multiple inputs, in my case I need two datasets as input to this filter. In order to achieve that, I have the following routine in my code:<br><br>int vtkTauFilter::FillInputInformation(int port, vtkInformation* info)<br>{<br>&nbsp;info -&gt; Set(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(),"vtkDataSet");<br>&nbsp;info -&gt; Set(vtkAlgorithm::INPUT_IS_REPEATABLE(), 1);<br>&nbsp;return 1;<br>}<br><br>and I put in the /Servers/ServerManager/Resources/filters.xml file the following:<br><br>&nbsp;&lt;SourceProxy name="TauFilter" class="vtkTauFilter" label="TauFilter"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; ....<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;InputProperty name="Input" command="AddInputConnection" clean_command="RemoveAllInputs" multiple_input="1"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ProxyGroupDomain name="groups"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Group name="sources"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Group name="filters"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ProxyGroupDomain&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&lt;/SourceProxy&gt;<br><br><br>Compiling Paraview works fine, but I get the error:<br>ERROR: In /ParaView-3.4.0/VTK/Filtering/vtkDemandDrivenPipeline.cxx, line 732<br>vtkCompositeDataPipeline (0x357dd50): Input port 0 of algorithm vtkTauFilter(0x357bff0) has 2 connections but is not repeatable.<br><br>Does anyone know what´s could be the problem here?<br><br>thx a lot,<br>Natalie<br><br><br /><hr />ĄTienes 25 GB gratis para usar en Fotos de Windows Live! <a href='http://photos.live.com/' target='_new'>Estas vacaciones diviértete sacando fotos.</a></body>
</html>