Cloned library of VTK-5.0.0 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
489 B

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
}