vtkpatented.tcl 389 Bytes
Newer Older
1
2
package require -exact vtkio 4.4
package require -exact vtkrendering 4.4
3

4
if {[info commands ::vtk::init::require_package] != ""} {
5
6
  if {[::vtk::init::require_package vtkPatentedTCL 4.4]} {
    package provide vtkpatented 4.4
7
8
9
  }
} else {
  if {[info commands vtkKitwareContourFilter] != "" ||
Sebastien Barre's avatar
Sebastien Barre committed
10
    [::vtk::load_component vtkPatentedTCL] == ""} {
11
    package provide vtkpatented 4.4
12
  }
13
}