<s> import vtk <EOL> import time <EOL> cone = vtk . vtkConeSource ( ) <EOL> cone . SetHeight ( <NUM_LIT> ) <EOL> cone . SetRadius ( <NUM_LIT:1.0> ) <EOL> cone . SetResolution ( <NUM_LIT:10> ) <EOL> coneMapper = vtk . vtkPolyDataMapper ( ) <EOL> coneMapper . SetInputConnection ( cone . GetOutputPort ( ) ) <EOL> coneActor = vtk . vtkActor ( ) <EOL> coneActor . SetMapper ( coneMapper ) <EOL> ren1 = vtk . vtkRenderer ( ) <EOL> ren1 . AddActor ( coneActor ) <EOL> ren1 . SetBackground ( <NUM_LIT:0.1> , <NUM_LIT> , <NUM_LIT> ) <EOL> renWin = vtk . vtkRenderWindow ( ) <EOL> renWin . AddRenderer ( ren1 ) <EOL> renWin . SetSize ( <NUM_LIT> , <NUM_LIT> ) </s>
