API Reference for Enthought Tool Suite 3.0.1
Commonly used code by tvtk objects.
false_bool_trait = traits.Trait('false', true_bool_trait)
Setup a logger for this module.
logger = logging.getLogger(__name__)
true_bool_trait = traits.Trait('true', { Const('true') : Const(1), Const('t') : Const(1), Const('yes') : Const(1), Const('y') : Const(1), Const('on') : Const(1), Const(1) : Const(1), Const('false') : Const(0), Const('f') : Const(0), Const('no') : Const(0), Const('n') : Const(0), Const('off') : Const(0), Const(0) : Const(0) }, editor = BooleanEditor)
Special cases for the FileName and FilePrefix
vtk_file_name = traits.Trait(None, None, traits.Str, types.UnicodeType, editor = FileEditor)
vtk_file_prefix = traits.Trait(None, None, traits.Str, types.UnicodeType, editor = (FileEditor, { Const('truncate_ext') : Name('True') }))
The Property class traits are delegated in the Actors.
vtk_property_delegate = traits.Delegate('property', modify = True)
Dereferences the VTK object from the object if possible.
Returns the cached TVTK object given a VTK object.
| Local name | Refers to |
|---|---|
| BooleanEditor | enthought.traits.ui.editors.BooleanEditor |
| FileEditor | enthought.traits.ui.editors.FileEditor |
| logging | logging |
| messenger | enthought.tvtk.messenger |
| os | os |
| RGBColorEditor | enthought.traits.ui.editors.RGBColorEditor |
| sys | sys |
| types | types |
| vtk | vtk |
| weakref | weakref |
© Copyright 2002-2008 Enthought, Inc.