Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ImageToImageFilterDetail::UnsignedIntDispatch< int > Struct Template Reference

#include <itkImageToImageFilterDetail.h>

Inheritance diagram for itk::ImageToImageFilterDetail::UnsignedIntDispatch< int >:

Inheritance graph
[legend]
Collaboration diagram for itk::ImageToImageFilterDetail::UnsignedIntDispatch< int >:

Collaboration graph
[legend]

Detailed Description

template<unsigned int>
struct itk::ImageToImageFilterDetail::UnsignedIntDispatch< int >

Templated class to produce a unique type for each unsigned integer (usually a dimension).

UnsignedIntDispatch is a templated class that produces a unique type for each unsigned integer. UnsignedIntDispatch is typically used as a parameter to an overloaded function where each version of the overloaded function is for a unique dimension. For instance, an algorithm may provide two implementations: one optimized for two-dimensional images and another for any of other data dimension. For instance:

void Calculate(const DispatchBase&); // General ND version void Calculate(const UnsignedIntDispatch<2>&); // 2D optimized version

Definition at line 86 of file itkImageToImageFilterDetail.h.


The documentation for this struct was generated from the following file:
Generated at Thu Nov 6 14:19:30 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000