[vtkusers] Multiple pieces in one unstructuredgrid

Berk Geveci berk.geveci at kitware.com
Mon Mar 25 12:44:25 EDT 2013


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.


On Mon, Mar 25, 2013 at 11:55 AM, Mikael Öhman <micketeer at gmail.com> wrote:

> Hi.
>
> I can't figure out how to add several pieces to a single
> vtkUnstructuredGrid.
> I want to achieve
> <UnstructuredGrid>
> <Piece ...> </Piece>
> <Piece ...> </Piece>
> </UnstructuredGrid>
>
> 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.
> How do I do it?
>
> Regards, Mikael
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130325/a35b9070/attachment.htm>


More information about the vtkusers mailing list