API Reference for Enthought Tool Suite 3.2.0
Creates a pseudo-package called tvtk that lets one use the tvtk classes in a clean and quick manner. The TVTK class is instantiated and this instance serves as the tvtk 'module'. For more details on this see the devel.txt in the TVTK documentation directory.
tvtk = tvtk_helper.TVTK()
tvtk_class_dir = join(dirname(__file__), 'tvtk_classes')
vtk_version = vtk.vtkVersion().GetVTKVersion()[:3
| Local name | Refers to |
|---|---|
| dirname | os.path.dirname |
| exists | os.path.exists |
| isdir | os.path.isdir |
| join | os.path.join |
| sys | sys |
| tvtk_helper | tvtk_classes.tvtk_helper |
| vtk_build_version | tvtk_classes.vtk_version.vtk_build_version |
© Copyright 2002-2009 Enthought, Inc.