ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToImageFilterDetail.h>
Templated class to produce a unique type for a pairing of unsigned integers (usually two dimensions).
BinaryUnsignedIntDispatch is a templated class that produces a unique type for a pairing of unsigned integers. BinaryUnsignedIntDispatch is typically used a parameter to an overloaded function where each version of the overloaded function is for a different pairing of unsigned integers. This type may be used to produce a unique type for an (input dimension, output dimension) pairing.
Definition at line 139 of file itkImageToImageFilterDetail.h.
Public Types | |
typedef IntDispatch< (D1 > D2)-(D1 < D2) > | ComparisonType |
typedef IntDispatch< 0 > | FirstEqualsSecondType |
typedef IntDispatch< 1 > | FirstGreaterThanSecondType |
typedef IntDispatch< -1 > | FirstLessThanSecondType |
typedef UnsignedIntDispatch< D1 > | FirstType |
typedef UnsignedIntDispatch< D2 > | SecondType |
typedef IntDispatch< ( D1 > D2 ) - ( D1 < D2 ) > itk::ImageToImageFilterDetail::BinaryUnsignedIntDispatch< D1, D2 >::ComparisonType |
Helper types to determine whether the two integers are the same, the first greater than the second, or the first less than the second.
ComparisonType will be either IntDispatch<0>, IntDispatch<1>, or IntDispatch<-1>.
IntDispatch<0> means the two specified integers are the same. IntDispatch<1> means the first integer is greater than the second IntDispatch<-1> means the first integer is less than the second
The FirstEqualsSecondType, FirstGreaterThanSecondType, FirstLessThanSecondType typedefs are provided as convenience types which can be used to declare arguments to functions. They themselves do not indicate the relationship between D1 and D2.
Definition at line 161 of file itkImageToImageFilterDetail.h.
typedef IntDispatch< 0 > itk::ImageToImageFilterDetail::BinaryUnsignedIntDispatch< D1, D2 >::FirstEqualsSecondType |
Definition at line 162 of file itkImageToImageFilterDetail.h.
typedef IntDispatch< 1 > itk::ImageToImageFilterDetail::BinaryUnsignedIntDispatch< D1, D2 >::FirstGreaterThanSecondType |
Definition at line 163 of file itkImageToImageFilterDetail.h.
typedef IntDispatch< -1 > itk::ImageToImageFilterDetail::BinaryUnsignedIntDispatch< D1, D2 >::FirstLessThanSecondType |
Definition at line 164 of file itkImageToImageFilterDetail.h.
typedef UnsignedIntDispatch< D1 > itk::ImageToImageFilterDetail::BinaryUnsignedIntDispatch< D1, D2 >::FirstType |
Typedefs to extract the unique types for the first and second template parameters (unique type for the unsigned integer value)
Definition at line 143 of file itkImageToImageFilterDetail.h.
typedef UnsignedIntDispatch< D2 > itk::ImageToImageFilterDetail::BinaryUnsignedIntDispatch< D1, D2 >::SecondType |
Definition at line 144 of file itkImageToImageFilterDetail.h.