28 #ifndef __itkPixelTraits_h
29 #define __itkPixelTraits_h
44 template<
class TPixelType >
49 itkStaticConstMacro(
Dimension,
unsigned int, TPixelType::Length);
65 itkStaticConstMacro(
Dimension,
unsigned int, 1);
70 class PixelTraits< char >
73 itkStaticConstMacro(
Dimension,
unsigned int, 1);
78 class PixelTraits< signed char >
81 itkStaticConstMacro(
Dimension,
unsigned int, 1);
86 class PixelTraits< unsigned char >
89 itkStaticConstMacro(
Dimension,
unsigned int, 1);
94 class PixelTraits< short >
97 itkStaticConstMacro(
Dimension,
unsigned int, 1);
102 class PixelTraits< unsigned short >
105 itkStaticConstMacro(
Dimension,
unsigned int, 1);
110 class PixelTraits< int >
113 itkStaticConstMacro(
Dimension,
unsigned int, 1);
118 class PixelTraits< unsigned int >
121 itkStaticConstMacro(
Dimension,
unsigned int, 1);
126 class PixelTraits< long >
129 itkStaticConstMacro(
Dimension,
unsigned int, 1);
134 class PixelTraits< unsigned long >
137 itkStaticConstMacro(
Dimension,
unsigned int, 1);
142 class PixelTraits< float >
145 itkStaticConstMacro(
Dimension,
unsigned int, 1);
150 class PixelTraits< double >
153 itkStaticConstMacro(
Dimension,
unsigned int, 1);
177 template<
class TValueType1,
class TValueType2 >
198 class JoinTraits< bool, char >
205 class JoinTraits< bool, unsigned char >
212 class JoinTraits< bool, short >
219 class JoinTraits< bool, unsigned short >
226 class JoinTraits< bool, int >
233 class JoinTraits< bool, unsigned int >
240 class JoinTraits< bool, long >
247 class JoinTraits< bool, unsigned long >
254 class JoinTraits< bool, float >
261 class JoinTraits< bool, double >
272 class JoinTraits< char, bool >
279 class JoinTraits< char, char >
286 class JoinTraits< char, unsigned char >
293 class JoinTraits< char, short >
300 class JoinTraits< char, unsigned short >
307 class JoinTraits< char, int >
314 class JoinTraits< char, unsigned int >
322 class JoinTraits< char, long >
329 class JoinTraits< char, unsigned long >
336 class JoinTraits< char, float >
343 class JoinTraits< char, double >
354 class JoinTraits< unsigned char, bool >
361 class JoinTraits< unsigned char, char >
368 class JoinTraits< unsigned char, unsigned char >
375 class JoinTraits< unsigned char, short >
382 class JoinTraits< unsigned char, unsigned short >
389 class JoinTraits< unsigned char, int >
396 class JoinTraits< unsigned char, unsigned int >
403 class JoinTraits< unsigned char, long >
410 class JoinTraits< unsigned char, unsigned long >
417 class JoinTraits< unsigned char, float >
424 class JoinTraits< unsigned char, double >
435 class JoinTraits< short, bool >
442 class JoinTraits< short, char >
449 class JoinTraits< short, unsigned char >
456 class JoinTraits< short, short >
463 class JoinTraits< short, unsigned short >
470 class JoinTraits< short, int >
477 class JoinTraits< short, unsigned int >
485 class JoinTraits< short, long >
492 class JoinTraits< short, unsigned long >
499 class JoinTraits< short, float >
506 class JoinTraits< short, double >
517 class JoinTraits< unsigned short, bool >
524 class JoinTraits< unsigned short, char >
531 class JoinTraits< unsigned short, unsigned char >
538 class JoinTraits< unsigned short, short >
545 class JoinTraits< unsigned short, unsigned short >
552 class JoinTraits< unsigned short, int >
559 class JoinTraits< unsigned short, unsigned int >
566 class JoinTraits< unsigned short, long >
573 class JoinTraits< unsigned short, unsigned long >
580 class JoinTraits< unsigned short, float >
587 class JoinTraits< unsigned short, double >
598 class JoinTraits< int, bool >
605 class JoinTraits< int, char >
612 class JoinTraits< int, unsigned char >
619 class JoinTraits< int, short >
626 class JoinTraits< int, unsigned short >
633 class JoinTraits< int, int >
640 class JoinTraits< int, unsigned int >
648 class JoinTraits< int, long >
655 class JoinTraits< int, unsigned long >
662 class JoinTraits< int, float >
669 class JoinTraits< int, double >
680 class JoinTraits< unsigned int, bool >
687 class JoinTraits< unsigned int, char >
695 class JoinTraits< unsigned int, unsigned char >
702 class JoinTraits< unsigned int, short >
710 class JoinTraits< unsigned int, unsigned short >
717 class JoinTraits< unsigned int, int >
725 class JoinTraits< unsigned int, unsigned int >
732 class JoinTraits< unsigned int, long >
739 class JoinTraits< unsigned int, unsigned long >
746 class JoinTraits< unsigned int, float >
753 class JoinTraits< unsigned int, double >
764 class JoinTraits< long, bool >
771 class JoinTraits< long, char >
778 class JoinTraits< long, unsigned char >
785 class JoinTraits< long, short >
792 class JoinTraits< long, unsigned short >
799 class JoinTraits< long, int >
806 class JoinTraits< long, unsigned int >
813 class JoinTraits< long, long >
820 class JoinTraits< long, unsigned long >
827 class JoinTraits< long, float >
834 class JoinTraits< long, double >
845 class JoinTraits< unsigned long, bool >
852 class JoinTraits< unsigned long, char >
859 class JoinTraits< unsigned long, unsigned char >
866 class JoinTraits< unsigned long, short >
873 class JoinTraits< unsigned long, unsigned short >
880 class JoinTraits< unsigned long, int >
887 class JoinTraits< unsigned long, unsigned int >
894 class JoinTraits< unsigned long, long >
901 class JoinTraits< unsigned long, unsigned long >
908 class JoinTraits< unsigned long, float >
915 class JoinTraits< unsigned long, double >
926 class JoinTraits< float, bool >
933 class JoinTraits< float, char >
940 class JoinTraits< float, unsigned char >
947 class JoinTraits< float, short >
954 class JoinTraits< float, unsigned short >
961 class JoinTraits< float, int >
968 class JoinTraits< float, unsigned int >
975 class JoinTraits< float, long >
982 class JoinTraits< float, unsigned long >
989 class JoinTraits< float, float >
996 class JoinTraits< float, double >
1007 class JoinTraits< double, bool >
1014 class JoinTraits< double, char >
1021 class JoinTraits< double, unsigned char >
1028 class JoinTraits< double, short >
1035 class JoinTraits< double, unsigned short >
1042 class JoinTraits< double, int >
1049 class JoinTraits< double, unsigned int >
1056 class JoinTraits< double, long >
1063 class JoinTraits< double, unsigned long >
1070 class JoinTraits< double, float >
1077 class JoinTraits< double, double >
1087 #endif // __itkPixelTraits_h