ITK
6.0.0
Insight Toolkit
|
#include <itkImageToImageFilterDetail.h>
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.