API Reference for Enthought Tool Suite 3.0.1

ivtk - Interactive TVTK.

A utility module that makes VTK/TVTK easier to use from the Python interpreter. For a standalone application simply run this file. To use this under IPython (with -wthread) use the viewer() helper function or use the IVTK class. The widget can also make use of the tvtk pipeline browser.

Here is example usage of the viewer along with tvtk under IPython:

>>> from enthought.tvtk.tools import ivtk
>>> from enthought.tvtk.api import tvtk
>>> cs = tvtk.ConeSource()
>>> m = tvtk.PolyDataMapper()
>>> m.input = cs.output
>>> a = tvtk.Actor()
>>> a.mapper = m
>>> v = ivtk.viewer()
>>> v.scene.add_actors(a)
>>> v.scene.reset_zoom()

Variables

Classes

Function summary

Functions

Imported Names

Local nameRefers to
Actionenthought.pyface.action.action.Action
ApplicationWindowenthought.pyface.application_window.ApplicationWindow
Callableenthought.traits.trait_types.Callable
DecoratedSceneenthought.tvtk.pyface.decorated_scene.DecoratedScene
FileDialogenthought.pyface.file_dialog.FileDialog
Floatenthought.traits.trait_types.Float
GUIenthought.pyface.gui.GUI
ImageResourceenthought.pyface.image_resource.ImageResource
Instanceenthought.traits.trait_types.Instance
OKenthought.pyface.constant.OK
os.pathos.path
PipelineBrowserenthought.tvtk.pipeline.browser.PipelineBrowser
PythonShellenthought.pyface.python_shell.PythonShell
resource_pathenthought.resource.resource_path.resource_path
Sceneenthought.tvtk.pyface.scene.Scene
Separatorenthought.pyface.action.group.Separator
SplitApplicationWindowenthought.pyface.split_application_window.SplitApplicationWindow
SplitPanelenthought.pyface.split_panel.SplitPanel
Strenthought.traits.trait_types.Str
tvtkenthought.tvtk.tvtk.tvtk

© Copyright 2002-2008 Enthought, Inc.