I am developing a program based on Mayavi and TraitsUI, which need a fixed normal direction ScalarCutPlane to display unstructured grid data. Firstly, I am trying to catch the ScalarPlanCut.implict_plane.nomral change event using HasTraits.on_trait_change method. However, it only catches the initial assignment to normal. The trait changing using mouse interaction does not invoke the bond method. Then, I try to catch the changing event of ScalarPlanCut.implict_plane.nomral_to_x_axis. And python tell the attribute normal_to_x_axis can not be accessed. I looked into the source code of ImplicitPlane. I find that normal_to_x_aixs exsites. So the first question is how to access "normal_to_x_axis" publicly. Another question is the comment in source code of ImplictPlane mentioned that there is "modified_event" can be caught if the state of normal is changed. but it don't tell explicitly what name it is. So the question is how to catch the "modified_event" Any help will be appreciated.
------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users