Hi Fred,<br><br>I am guessing that this is a filter that you wrote and that you are running in parallel. If that's case, you need something like:<br><br> vtkInformation *outInfo = outputVector->GetInformationObject(NNN);<br>
outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),<br> -1);<br><br>where NNN is the output port number. This goes in RequestInformation().<br><br>Best,<br>-berk<br><br><div class="gmail_quote">
On Wed, Feb 3, 2010 at 12:03 PM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr">stan1313@hotmail.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Or how to cope with it? I mean how to specify the maximum number of pieces in a multi-output filter?<br><br><hr>From: <a href="mailto:stan1313@hotmail.fr" target="_blank">stan1313@hotmail.fr</a><br>To: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
Date: Tue, 2 Feb 2010 23:57:02 +0100<br>Subject: [Paraview] Maximum number of pieces, what does it mean?<div><div></div><div class="h5"><br><br>
I get this error when I select the 2nd output as displayable, although it contains 4 cells and 10 points, so it is not empty.<br>What does it mean?<br><br><p style="text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 13pt; color: rgb(128, 0, 0);">ERROR: In /usr/local/ParaView3/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 806</span></p>
<p style="text-indent: 0px;"><span style="font-family: 'Courier'; font-size: 13pt; color: rgb(128, 0, 0);">vtkCompositeDataPipeline<br>(0x2361e150): No maximum number of pieces has been set in the<br>information for output port 1 on algorithm vtkFlowCoordinates(0x2361d8c0).</span></p>
<br><p style="text-indent: 0px; font-family: 'Courier'; font-size: 13pt; color: rgb(128, 0, 0);"></p><br> <br><hr>Avec Internet Explorer, surfez en toute discrétion sur internet <a href="http://clk.atdmt.com/FRM/go/182932252/direct/01/" target="_blank">Cliquez ici !</a> <br>
</div></div><hr>Faites une bonne action avec Bing Solidaire ! <a href="http://www.bingsolidaire.com" target="_blank">C'est ici !</a></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>