[Insight-users] sorry, im again with wrappers

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Jun 22 12:39:42 EDT 2005


Hi,

Finally I took time to look at this problem :-)

Adding 

  ScalarImageToHistogramGenerator(const Self&); //purposely not implemented
  void operator=(const Self&); //purposely not implemented

in private section of 
Insight/Code/Numerics/Statistics/itkScalarImageToHistogramGenerator.h solve 
my build problems.
ScalarImageToHistogramGenerator appears as it should in InsightTookit 
module... it just need to be tested now :-)

Gaetan

On Wednesday 22 June 2005 15:26, Gaetan Lehmann wrote:
> Hi,
>
> Brad have commited changes in cableswig CVS repository. You just have to
> check out cableswig :
>
> cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/CableSwig \
>        co CableSwig
>
> ,rebuild cableswig, install cableswig and rebuild itk.
>
> Gaetan
>
> PS: Itk build fails for me, but I haven't time today to find what is wrong.
>
> On Wednesday 22 June 2005 13:55, Oliveira Marcelo wrote:
> > 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050622/ed90df09/attachment.pgp


More information about the Insight-users mailing list