[vtkusers] Appendiing vtkStructuredGrid
Mathieu Malaterre
mathieu.malaterre at kitware.com
Fri Jun 4 12:53:18 EDT 2004
Irene,
Could you change:
file:///home/irene/downloads/screenshot.jpg
To the real URL of your image,
Thanks
Mathieu
Irene Tedjo wrote:
> hi,
>
> I would like to render a structured grid, which is read from more than one
> input data. It may be possible to read the data using a normal file stream,
> save it into some arrays and modify these arrays. But I want to make sure,
> if there is any better and easier way to do that.
> Both vtkAppendFilter and vtkAppendPolyData are not suitable. vtkAppendFilter
> causes lost of my 'structured' feature and vtkAppendPolyData doesn't fit for
> vtkStructuredGrid.
> I have also tried to append the datas like this:
>
> vtkAppendFilter* append = vtkAppendFilter::New();
> append->AddInput(sGrid1);
> append->AddInput(sGrid2);
>
> vtkDataSetMapper *mapper = vtkDataSetMapper::New();
> mapper->SetInput((vtkDataSet*)append->GetOutput());
>
> But the result ist not satisfying, because the grids are 'devided'
> (See here: http://irene.oph.rwth-aachen.de/vtk_problem.html )
>
> Does anyone have some idea?
>
> Thanx for the answers.
> irene tedjo
>
More information about the vtkusers
mailing list