[Insight-users] Re: sorry, im again with wrappers
Oliveira Marcelo
marceloitk at yahoo.com.br
Wed Jun 22 07:55:35 EDT 2005
Hi Brad and Gaetan, tanx a lot for you time and help.
Brad i understood what you sad, but im a dummy and i
dont know how can i hack the CableSwig.cxx like you
shown.
Could you show me an example ??
Again, tank you.
--- Brad King <brad.king at kitware.com> escreveu:
> Gaetan Lehmann wrote:
> > You're right, I also have a problem, but not at
> compile time with python.
> > In InsightToolkit, I have only
> > itkScalarImageToHistogramGeneratorUS2_Pointer and
>
> > itkScalarImageToHistogramGeneratorUS2_PointerPtr.
> > itkScalarImageToHistogramGenerator,
> > itkScalarImageToHistogramGeneratorUS2,
> > itkScalarImageToHistogramGeneratorUS2Ptr and
> > itkScalarImageToHistogramGeneratorUS2_New are
> missing.
> >
> > Once again, I'm not able to solve the problem, but
> I'm interested in
> > the solution :-)
> > Can you see where is the problem Brad ?
>
> It looks like SWIG does not support nested
> namespaces. I've put a hack
> in CableSwig.cxx that tricks it into working by
> pretending the deepest
> namespace is the only namespace ("Statistics") and
> then adding a using
> directive for the rest in the generated wrapper
> source file ("using
> namespace itk").
>
> -Brad
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis.
Instale o discador agora! http://br.acesso.yahoo.com/
More information about the Insight-users
mailing list