[vtkusers] Appendiing vtkStructuredGrid

Irene Tedjo Irene.Tedjo at gmx.de
Fri Jun 4 12:35:30 EDT 2004


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

-- 
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl




More information about the vtkusers mailing list