2 Dec 19:09
Re: [mv2] Filter UserDefined:ImageMathematics on Windows
From: Prabhu Ramachandran <prabhu@...>
Subject: Re: [mv2] Filter UserDefined:ImageMathematics on Windows
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-12-02 18:09:28 GMT
Subject: Re: [mv2] Filter UserDefined:ImageMathematics on Windows
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-12-02 18:09:28 GMT
B. P. Thrane wrote: > When using the filter UserDefined:ImageMathematics on the WindowsXP > platform, MayaVi2 hangs (trunk version under the latest Python(x,y)). On Well, UserDefined is a bit dangerous so caveat emptor. :) [...] > Maybe setting a different default operator in the filter will be a > work-around, but it may hang anyway if you select an operator that > requires two inputs? Anyway, how to get two inputs into this filter in > MayaVi2? This is typically easier in a network based user interface. In > the MayaVi2 tree editor, it doesn't seem to be possible, a script seem > to be the only solution. It is harder on the tree interface but doable. The trick is to use a "drop editor" and allow a user to drag and drop the second input to this. This is what you can do with the texture support -- drag and drop an image reader (or image data) node on the texture source object dialog (which should be cyan colored). One nice filter would be a multi-input user defined filter that exposes just such a UI. I really wish we had a usable network editor UI in ETS that we could use for this sort of thing. It would really be convenient and I'm sure I'd be interested in taking a stab at using it. cheers, prabhu(Continue reading)
RSS Feed