Module Expr Str ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A A simple example demonstrating TVTK.  This example is basically a
translation of the VTK tutorial demo available in
VTK/Examples/Tutorial/Step6/Python/Cone6.py.

 tvtk.api tvtk tvtk.common configure_input_data N/A cs N/A N/A tvtk ConeSource height 3.0 radius 1.0 resolution 36 N/A m N/A N/A tvtk PolyDataMapper N/A N/A configure_input_data m N/A cs output N/A N/A N/A cs update N/A a N/A N/A tvtk Actor mapper m N/A ren N/A N/A tvtk Renderer background N/A 0.1 0.2 0.4 N/A N/A N/A ren add_actor a N/A rw N/A N/A tvtk RenderWindow size N/A 300 300 N/A N/A N/A rw add_renderer ren N/A rwi N/A N/A tvtk RenderWindowInteractor render_window rw N/A bw N/A N/A tvtk BoxWidget interactor rwi place_factor 1.25 prop3d a N/A N/A N/A bw place_widget callback N/A N/A widget event N/A N/A N/A This callback sets the transformation of the cone using that
    setup by the the box. N/A t N/A N/A tvtk Transform N/A N/A N/A bw get_transform t N/A N/A N/A bw prop3d user_transform t N/A N/A N/A N/A bw add_observer InteractionEvent callback N/A N/A N/A bw on N/A N/A N/A rwi initialize N/A N/A N/A rwi start