<div dir="ltr">You need to use a vtkMultiBlockDataSet to group multiple datasets together. Please make sure to use the development version of VTK as there has been some significant changes when multi-block datasets are concerned.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 25, 2013 at 11:55 AM, Mikael Öhman <span dir="ltr"><<a href="mailto:micketeer@gmail.com" target="_blank">micketeer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi.<br><br>I can't figure out how to add several pieces to a single vtkUnstructuredGrid.<br>
</div>I want to achieve<br><UnstructuredGrid><br></div><Piece ...> </Piece><br><Piece ...> </Piece><br>
<div></UnstructuredGrid><br><br></div><div>I can see that vtkUnstructuredGrid has a function GetNumberOfPieces(), which suggest to me that this is actually possible with unstructured grids somehow, but I can't find any way to do *anything* w.r.t pieces.<br>
</div><div>How do I do it?<br><br></div><div>Regards, Mikael<br></div></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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>