[vtkusers] How to write several objects in VTK?

David Doria daviddoria at gmail.com
Tue May 24 12:51:06 EDT 2011


On Tue, May 24, 2011 at 12:46 PM, Sergei Malashenko <
malashenko_sergei at yahoo.com> wrote:

> Good day. I want to write several objects in VTK (grid, surfaces). How to
> do this? Thank
>

I'm assuming you mean write to a file? I'm also assuming "objects" =
vtkPolyData? If so, you can use

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/CombinePolydata

followed by

http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/WriteVTP

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110524/ee3b3c0f/attachment.htm>


More information about the vtkusers mailing list