On Wednesday 16 February 2011 06:52 PM, Michele Mattioni wrote: > Dear list, > > I'm using Mayavi and the visual API from enthough.tvtk.tools.visual > > What I'm interest especially is to use the scalarbar or the vectorbar: > > http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/mlab_decorations.html?highlight=scalarbar#enthought.mayavi.mlab.scalarbar > > However if I try to use it complains that no object is loaded > > I've integrate a Mayavi scene (I use qt4 backend for better > integration with my main program, neuronvisio) follow this example > > http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/building_applications.html#integrating-in-a-pyqt-application > > When I open the Mayavi browser however I cannot see any datastructure loaded.
Sorry to answer so late but I think this example should also help you integrate visual and mayavi: mayavi/interactive/mlab_visual.py https://github.com/enthought/mayavi/blob/master/examples/mayavi/interactive/mlab_visual.py cheers, prabhu ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users