[Insight-users] Troubles wrapping some classes in Java

Otmane Lahlou otmane.lahlou at c-s.fr
Tue Nov 17 07:07:39 EST 2009


Hi ,

I have some troubles wrapping some particular classes.

Here is the scheme : Im' trying to wrap a class A that implements a functor.
The class A is inherited form a class B wich is templated over the 
Functor type.

    template<T> class A : public B<....,TFunctor>

Here is the class actually :  
http://www.orfeo-toolbox.org/doxygen-current/otbLHMIChangeDetector_8h_source.html 
if you can
have a look.

I tried to wrap the class A using POINTER_WITH_SUPERCLASS but i have a 
compilation error :
cannot find symbol :
variable 
SWIGTYPE_p_otb__Functor__LHMI_itk__ConstNeighborhoodIteratorT_otb__ImageT_float_2u_t_itk__ZeroFluxNeumannBoundaryConditionT__ 
(the last sentence again) __float_t

This parent class  B defines some methods that i need, so i have to wrap 
this class too.
The problem is that the functor type is defined in the class A and i 
don't know how to specify the TFunctor.


Thank you.

Otmane

  


-- 

Otmane Lahlou - Ingénieur d'études et développement - Traitement d'images
CS Systèmes d'Information - Division ESPACE
Département Information Géographique & Image
Phone: ++33 5 61 17 62 87
Email: otmane.lahlou at c-s.fr <mailto:otmane.lahlou at c-s.fr>


More information about the Insight-users mailing list