<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> info -> Set(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(),"vtkDataSet");<br> info -> Set(vtkAlgorithm::INPUT_IS_REPEATABLE(), 1);<br> return 1;<br>}<br><br>and I put in the /Servers/ServerManager/Resources/filters.xml file the following:<br><br> <SourceProxy name="TauFilter" class="vtkTauFilter" label="TauFilter"><br> ....<br> <InputProperty name="Input" command="AddInputConnection" clean_command="RemoveAllInputs" multiple_input="1"><br> <ProxyGroupDomain name="groups"><br> <Group name="sources"/><br> <Group name="filters"/><br> </ProxyGroupDomain><br><br> ...<br> </SourceProxy><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>