>>>>> "Noel" == Noel O'Boyle <[EMAIL PROTECTED]> writes:
Noel> Dear all, I'm using the MayaVi debian stable package, MayaVi
Noel> 1.4.
Noel> I have two Rectilinear Grids of Scalar data covering the
Noel> same volume. I can plot the isosurface of either using
Noel> MayaVi (the Isosurface module), but I would like to plot the
Noel> isosurface of one and color using the Scalar Values of the
Noel> other (at those same isosurface positions).
Noel> Is this possible using the standard MayaVi modules? Or is it
Noel> possible to tweak the isosurface module from Python somehow
Noel> to do this?
You can't with the standard module but you can tweak the module if you
are using a recent enough VTK. I guess 4.2 or 4.4 will do. You need
to select the scalar you want to color with in the data file and then
use the contour filters SetInputArrayToProcess(...) method to set the
specific data array you want to contour with. Then your coloring will
be based on the input scalars and the contouring with the one you
pick. I haven't tried it so you should use this as a guideline and
experiment to see what works best for you.
cheers,
prabhu
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users