[vtkusers] Appending rectilinearGrid
Dominik Szczerba
dominik at itis.ethz.ch
Wed Aug 5 08:36:29 EDT 2009
No, to my knowledge there is no append filter for image data. You have
to write your own. I did mine by creating a large enough canvas and
pasting the pieces into it. You will have to adjust the extents of the
input images.
-- Dominik
Dmitri Danewitz wrote:
>
> Hello all!
>
> I'm parsing two 3D-RectilinearGrid-VTK files:
>
> vtkRectilinearGridReader *Reader1 = vtkRectilinearGridReader::New();
> vtkRectilinearGridReader *Reader2 = vtkRectilinearGridReader::New();
>
> Reader1->SetFileName("D:/vtkstuff/Part1.vtk);
> Reader2->SetFileName("D:/vtkstuff/Part2.vtk);
>
> Reader1->Update();
> Reader2->Update();
>
> now I wanted to append them so that theyre together in one
> vtkRectilinearGrid?
>
> I tried it with vtkAppendPolyData but that class only accepts
> vtkPolyData :-(
>
> Is there a way to do this?
>
> Greets
> Dmitri
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
--
d o m i n i k s z c z e r b a , p h d . . . . . . . . . . .
c o m p u t a t i o n a l l i f e s c i e n c e g r o u p
. . . . . . . i t ' i s r e s e a r c h f o u n d a t i o n
. . . . . . . . . . . . . . . . . . . . http://www.itis.ethz.ch
More information about the vtkusers
mailing list