Main view and UI objects¶
This is an API reference of the views for the main objects. The section Building applications using Mayavi gives some context on how to use them.
Scene UIs: DecoratedScene
and MayaviScene
¶
- mayavi.core.ui.api.DecoratedScene¶
alias of
Unimplemented
SceneEditor
¶
- mayavi.core.ui.api.SceneEditor¶
alias of
Unimplemented
MlabSceneModel
¶
- class mayavi.core.ui.api.MlabSceneModel(parent=None, **traits)¶
Bases:
SceneModel
An container for an mlab model, that can be exposed using a Mayavi scene in a TraitsUI view.
EngineView
and EngineRichView
¶
These are two objects to be used as views for an engine:
from mayavi.core.ui.api import EngineView
view = EngineView(engine=engine)
view.edit_traits()
- class mayavi.core.ui.api.EngineView(**traits)¶
Bases:
HasTraits
A view displaying the engine’s object tree.
- default_traits_view()¶
The default traits view of the Engine View.
- class mayavi.core.ui.api.EngineRichView(**traits)¶
Bases:
EngineView
A view displaying the engine’s object tree, alongside with a panel to edit the objects.
- default_traits_view()¶
The default traits view of the Engine View.