[Insight-developers] possible tcon topics
Damion Shelton
dmsst59+@pitt.edu
Thu, 26 Oct 2000 15:09:23 -0400
This is definitely an important issue...
I've run into cases (and I'm relatively new to ITK) where I'd like to
restrict classes to 2 or 3D. So far I've coded under the assumption that the
user understands the intended dimensionality of the class/algorithm and
defines the template correctly, but this is a relatively dangerous way to
program.
-Damion-
/-----------------------------------------------\
Damion Shelton
University of Pittsburgh
Department of Bioengineering
dmsst59@pitt.edu
412-624-9931
\-----------------------------------------------/
> I would be interested to hear any thoughts on alternative ways to do
> partial template specialization during the tcon. For many algorithms it
> makes sense to specialize for 2 and 3 dimensions while leaving the pixel
> type undefined.
>
> Josh.
>
> +--+--+--+--+--+--+--+--+--+--+--+--
> Josh Cates
> Department of Computer Science
> University of Utah
> Email: cates@cs.utah.edu
> Phone: (801) 587-7697
> URL: www.cs.utk.edu/~cates
> --+--+--+--+--+--+--+--+--+--+--+--->