[Insight-users] ConnectVTKITK with Tcl

Joseph Maratt jmaratt at umich.edu
Fri Jun 3 11:43:26 EDT 2005


I have been trying for a few days to connect the ITK and VTK pipelines together
with Tcl.  I try to run the CannyEdgeDetectionImageFilterConnectVTKITK.tcl
program which results in the following error:

invalid command name "ConnectVTKToITKF2"
   while executing
"ConnectVTKToITKF2 vtkExporter [$itkImporter GetPointer]"

When i was looking at the in code documentation for that file i noticed that
there was a line that said:

> # Note that this will only work if your ITK was compiled with
> # ITK_CSWIG_CONNECTVTKITK set to ON

However, i am unable to find that option when configuring ITK. Is this what is
causing my problem?

Thanks in advance for any help!

Joseph Maratt
University of Michigan Medical School
jmaratt at med.umich.edu


More information about the Insight-users mailing list