/usr/lib/tcltk/vtk-6.0/vtkinteraction/bindings-rw.tcl is in tcl-vtk6 6.0.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | namespace eval ::vtk {
namespace export *
# -------------------------------------------------------------------
# Create vtkTkRenderWidget bindings, setup observers
proc bind_tk_render_widget {vtkrw} {
bind_tk_widget $vtkrw [$vtkrw GetRenderWindow]
}
}
# Handle deprecated calls
proc BindTkRenderWidget {widget} {
puts stderr "BindTkImageViewer is deprecated. Please use ::vtk::bind_tk_render_widget instead"
::vtk::bind_tk_render_widget $widget
}
|