Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
3163ad2e
Commit
3163ad2e
authored
Mar 21, 2005
by
Mathieu Malaterre
Browse files
ENH: Remove debug
parent
136bcb9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/Python/vtk/qt/QVTKRenderWindowInteractor.py
View file @
3163ad2e
...
...
@@ -309,10 +309,6 @@ class QVTKRenderWindowInteractor(qt.QWidget):
#-----------------------------------------------------------------------
def
foo
(
obj
,
event
):
print
event
print
obj
.
GetRepeatCount
()
def
QVTKRenderWidgetConeExample
():
"""A simple example that uses the QVTKRenderWindowInteractor
class. """
...
...
@@ -326,7 +322,6 @@ def QVTKRenderWidgetConeExample():
widget
.
Start
()
# if you dont want the 'q' key to exit comment this.
widget
.
AddObserver
(
"ExitEvent"
,
lambda
o
,
e
,
a
=
app
:
a
.
quit
())
widget
.
AddObserver
(
"LeftButtonPressEvent"
,
foo
)
ren
=
vtk
.
vtkRenderer
()
widget
.
GetRenderWindow
().
AddRenderer
(
ren
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment