ITK  4.13.0
Insight Segmentation and Registration Toolkit
itk::ImageToImageFilterDetail::UnsignedIntDispatch< int > Struct Template Reference

#include <itkImageToImageFilterDetail.h>

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

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 93 of file itkImageToImageFilterDetail.h.


The documentation for this struct was generated from the following file: