[vtkusers] how to render a MultiBlockDataSet ?
April.Q
qinjiameilf at 163.com
Thu Jul 26 02:14:14 EDT 2012
i'v got it. use tvtk do like this:
of =
tvtk.StructuredGridOutlineFilter(executive=tvtk.CompositeDataPipeline())
of.set_input(MyMultiBlockDataSet)
geom1 = tvtk.CompositeDataGeometryFilter()
geom1.set_input_connection(0, of.output_port)
geoMapper = tvtk.PolyDataMapper()
geoMapper.set_input_connection(0, geom1.output_port)
a = tvtk.Actor(mapper=geoMapper)
jut put CompositeDataGeometryFilter in front of PolyDataMapper and after
other filers.
--
View this message in context: http://vtk.1045678.n5.nabble.com/how-to-render-a-MultiBlockDataSet-tp5714811p5714931.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list