Hi there,

My usual routine involves
ix,iy,iz=np.indices(Image)
s=mlab.pipeline.scalar_field(spacing[0]*ix,spacing[1]*iy,spacing[2]*iz,Image)
mlab.pipeline(volume(s))

However, I am strapped for memory. Actually forming the indices ix,iy,iz is
putting a burden on my code. Is there some workaround, perhaps through the
depths of vtk, that lets me specify this with just the scalar tuple (1,1,2)
???

Thanks in anticipation,
Chris Snyder
------------------------------------------------------------------------------
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to