[vtkusers] how to render vtkMultiBlockDataSet?
David Doria
daviddoria at gmail.com
Fri Jan 7 11:09:21 EST 2011
On Fri, Jan 7, 2011 at 10:52 AM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> First use vtkCompositeDataPipeline instead of the default streaming demand
> driven pipeline in you program. That makes VTK iterate over blocks to
> satisfy non-composite aware filters. Next use vtkCompositeGeometryFilter to
> extract the external surfaces in your composite of unstructured grid data in
> order to make polygons that can be rendered. Render that filter's output
> with a standard mapper.
@ Nelson
I think David meant vtkCompositeDataGeometryFilter (instead of
vtkCompositeGeometryFilter).
Give something like this a try -
http://www.vtk.org/Wiki/VTK/Examples/Cxx/WishList/vtkCompositeDataGeometryFilter
Please modify if there are any problems.
@ David - did you mean to use vtkCompositeDataPipeline for the Reader?
Can you take a look at the above example?
David
More information about the vtkusers
mailing list