[Insight-users] connectpipelines in python

Charl P. Botha c.p.botha at ewi.tudelft.nl
05 Apr 2004 10:53:36 +0200


On Mon, 2004-04-05 at 03:39, xujf wrote:
> Hi,all
>    I write my program in python,I want to implement the function of ConnectPipelines(vtkexport,itkimport):
> 
> vtkexport=vtkImageExport()                                                                 
> itkimport=itk.itkVTKImageImportF3_New()
> ...
> itkimport.SetUpdateInformationCallback(vtkexport.GetUpdateInformationCallback())               #  line 4 error

You can't do it in this way.  Please look at ConnectVTKITK in
InsightApplications to see how it can be done.
 
-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/