Given that I've created a scalar field via:

SF  = mlab.pipeline.scalar_field(H)
obj = mlab.pipeline.image_plane_widget(SF,
               plane_orientation='y_axes',
               slice_index=16)

How do I adjust the slice_index on the mlab.pipeline.image_plane_widget 
for animation purposes, i.e. not with the GUI? Want I'm looking for is a 
simple animation of the cut plane sweeping across an axis, is there a 
example of this somewhere?

Thanks!

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to