Kun. Qu wrote:
I made a xyz file and q file in format of binary stream. They could be
well displayed in Tecplot. But Mayavi2 can not display them. I had to
save the multiblock data into several single block data. Then they
could be loaded into mayavi2 as seperated plot3d sources.

Any one may tell me where I can find how Mayavi2 process multiblock plot3d data?

I just added a SelectOutput filter that lets you choose among the available outputs of a given source/filter. This is a simple solution that should let you choose which block to view. Here is an example from the data that Francesco reported here:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478359

mayavi2 -p tiny.xyz -q tiny.q -f SelectOutput -m Outline -m Surface

Click on the SelectOutput and select the output index of the data to use. You should be able to change the block. Add any number of these filters to the reader to choose whichever you want. The more complex feature request that Francesco requested is more work than I have time for now.

I've checked this into the 2.1.2 branch in addition to trunk.

cheers,
prabhu



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to