<div><div class="gmail_quote">On Thu, Aug 26, 2010 at 10:52 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I think you just need a vtkUnstructuredGrid and set it to the input of<br>
the writer. Specify the number of pieces you want and call Update() on<br>
the writer.<br>
<br>
Seb<br>
<div><div></div><div class="h5"></div></div></blockquote></div><br></div><div><br></div><div>There was a question about SetNumberOfPieces the other day that never got resolved - Sebastien, could you take a look: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/IO/XMLPImageDataWriter">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/IO/XMLPImageDataWriter</a><div>
<br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/IO/XMLPImageDataWriter"></a>Nico, once we get this issue resolved I'll make the same type of example for <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 12.5px; border-collapse: collapse; ">vtkXMLPUnstructuredGridWriter.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 12.5px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 12.5px; border-collapse: collapse; ">Someone please correct me if I'm wrong, but these P*Writer's don't write in parallel, they simple write data as multiple files (pieces) that can later be used for parallel processing.</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif" size="5"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 18px;"><br></span></font>David</div></div>