[Insight-users] Template class in Fluid

Karthik Krishnan Karthik.Krishnan at kitware.com
Fri Mar 3 13:47:45 EST 2006


I have never heard of any GUI class being templated. The GUI usually 
contains one or more itk filters.

That said, FLTK is C++. The fluid parser cannot parse template keywords. 
If you template the C++ code that it generates, it should still compile.

-karthik

Jordi Inglada wrote:

> Hi all,
>
> This is not a pure itk question, but you may have crossed this kind of 
> issue yourselves.
>
> I would like to build a fltk GUI for an itk filter by public 
> inheritance from  it, that is, my GUI inherits from the filter.
>
> The problem is that I do not know how to tell fluid that my GUI class 
> is also a template class. The class window of fluid has only 2 fields:
>     - the class name
>     - the superclass name
>
> The first field will not accept the "template" keyword.
>
> Any ideas?
>
> Thanks.
>
> Jordi
>
>


More information about the Insight-users mailing list