[vtkusers] vtkMultiBlockDataSet and SetInputConnection
Favre Jean
jfavre at cscs.ch
Thu Oct 6 03:06:52 EDT 2011
Here is what I have been using for several years.
eb1 is my multi-block dataset.
VTK_CREATE(vtkCompositeDataGeometryFilter, geom1);
geom1->SetInputConnection(0, eb1->GetOutputPort(0));
geom1->Update();
VTK_CREATE(vtkPolyDataMapper, mapper1);
mapper1->SetInputConnection(geom1->GetOutputPort(0));
VTK_CREATE(vtkActor, actor1);
actor1->SetMapper(mapper1);
-----------------
Jean M. Favre
Swiss National Supercomputing Center
More information about the vtkusers
mailing list