[Insight-users] Is this a wrapping bug ??

Rodrigo Trujillo Rodrigo Trujillo" <rodrigo.trujillo at cenpra.gov.br
Fri, 26 Mar 2004 16:18:34 -0300


Hi Charl,


more methods whitch don't exist in wrapping to US2 and US3.

- 'GetDifferenceFunction'
- 'GetElapsedIterations'
- 'SetDifferenceFunction'
- 'SetManualReinitialization'
- 'SetMaximumRMSError'
 - 'SetNumberOfIterations'
- 'SetRMSChange'
- 'SetState'
- 'SetStateToInitialized'
- 'SetStateToUninitialized'

apparently, the problem  is in class 'itkFiniteDifferenceImageFilter', which
has only this class in Python:

- itkFiniteDifferenceImageFilterF2F2
- itkFiniteDifferenceImageFilterF3F3
- itkFiniteDifferenceImageFilterUS2F2
- itkFiniteDifferenceImageFilterUS3F3

Is this the problem and what did you want ?

Thanks for the attention,

Rodrigo Trujillo

----- Original Message ----- 
From: "Charl P. Botha" <c.p.botha at ewi.tudelft.nl>
To: "Rodrigo Trujillo" <rodrigo.trujillo at cenpra.gov.br>
Cc: "ITK Users" <insight-users at itk.org>
Sent: Friday, March 26, 2004 9:51 AM
Subject: Re: [Insight-users] Is this a wrapping bug ??


> On Fri, 2004-03-26 at 13:25, Rodrigo Trujillo wrote:
> > Hi all,
> >
> > I´m using Insight with branch 'ITK-1-6' and wrapping to Python.
> > I was testing  "Curvature Anisotropic Diffusion Image Filter" and some
> > methods:
> >
> >  - 'SetDifferenceFunction'
> >  - 'SetManualReinitialization'
> >  - 'SetMaximumRMSError'
> >  - 'SetNumberOfIterations'
> >  - and others...
> >
> > do not exist in
> >
> >  - itkCurvatureAnisotropicDiffusionImageFilterUS2US2_New()
> >  - itkCurvatureAnisotropicDiffusionImageFilterUS3US3_New()
> >
> > but they exist in the float classes
> >
> >  - itkCurvatureAnisotropicDiffusionImageFilterF2F2_New()
> >  - itkCurvatureAnisotropicDiffusionImageFilterF3F3_New()
> >
> > Is this a wrapping bug ??
>
> That usually happens when the methods are actually defined in a base
> class, and the base class isn't wrapped for the those types.
>
> If you can give a more specific list of methods which don't work, one
> can have a look at which base classes are involved and activate their
> wrapping for the non-working types.
>
> Regards,
> Charl
>
> -- 
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
>
>
>