[Insight-developers] SegmentationLevelSet template parameters
Joshua Cates
cates at sci.utah.edu
Thu May 27 13:01:25 EDT 2004
Hi Jim,
I believe I was using this optional template parameter to get around
problems with compilation, but I can't remember which platform was
affected (windows VC++ 6.0, maybe?). If you are able to
correctly instantiate the parent class without it now, then please do
check in the changes.
thanks,
Josh.
On Thu, 27 May 2004, Miller, James V (Research) wrote:
> The SegmentationLevelSet has an optional template parameter that the
> documentation says not to change from the default value. The documentation
> says this template parameter is needed in order to instantiate the
> superclass properly.
>
> I presume this was done this way to get around some problem with dependent
> template parameters (where one template parameter depends on subtypes of a
> prior template parameter) during instantiation of the superclass.
>
> >From the looks of it, however, this just moves the burden to the subclasses
> of SegmentationLevelSetFilter which pass this optional template parameter
> explictly to the superclass using dependent template parameters.
>
> Anyone recall why this optional template parameter is needed? Was it for a
> specific compiler?
>
> I removed this parameter from my version of the code and everything seems to
> build on .NET 2003.
>
> If we don't need this anymore, I'll check in my changes to
> SegmentationLevelSetImageFilter and all its subclasses.
>
>
>
> Jim Miller
> _____________________________________
> Visualization & Computer Vision
> GE Research
> Bldg. KW, Room C218B
> P.O. Box 8, Schenectady NY 12301
>
> millerjv at research.ge.com <mailto:millerjv at research.ge.com>
~>
> james.miller at research.ge.com
> (518) 387-4005, Dial Comm: 8*833-4005,
> Cell: (518) 505-7065, Fax: (518) 387-6981
>
>
>
More information about the Insight-developers
mailing list