SimpleITK  1.3.0.dev466
sitkPixelIDTypeLists.h
Go to the documentation of this file.
1 /*=========================================================================
2 *
3 * Copyright Insight Software Consortium
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18 #ifndef sitkPixelIDTypeLists_h
19 #define sitkPixelIDTypeLists_h
20 
21 #include <stdint.h>
22 
23 #include "sitkConfigure.h"
24 #include "sitkPixelIDTypes.h"
25 
26 #include "Ancillary/TypeList.h"
27 
28 #include <complex>
29 
30 namespace itk
31 {
32 namespace simple
33 {
34 
35 
42 typedef typelist::MakeTypeList<BasicPixelID<int8_t>,
43  BasicPixelID<uint8_t>,
44  BasicPixelID<int16_t>,
45  BasicPixelID<uint16_t>,
46  BasicPixelID<int32_t>,
47  BasicPixelID<uint32_t>,
48 #ifdef SITK_INT64_PIXELIDS
49  BasicPixelID<int64_t>,
50  BasicPixelID<uint64_t>,
51 #endif
52  BasicPixelID<float>,
54 
59 typedef BasicPixelIDTypeList ScalarPixelIDTypeList;
60 
61 
66 typedef typelist::MakeTypeList<BasicPixelID<int8_t>,
67  BasicPixelID<uint8_t>,
68  BasicPixelID<int16_t>,
69  BasicPixelID<uint16_t>,
70  BasicPixelID<int32_t>,
71  BasicPixelID<uint32_t>
72 #ifdef SITK_INT64_PIXELIDS
73  , BasicPixelID<int64_t>,
74  BasicPixelID<uint64_t>
75 #endif
77 
82 typedef typelist::MakeTypeList<BasicPixelID<uint8_t>,
83  BasicPixelID<uint16_t>,
84  BasicPixelID<uint32_t>
85 #ifdef SITK_INT64_PIXELIDS
86  , BasicPixelID<uint64_t>
87 #endif
89 
90 
95 typedef typelist::MakeTypeList<BasicPixelID<float>,
97 
102 typedef typelist::MakeTypeList< BasicPixelID<std::complex< float > >,
104 
109 typedef typelist::MakeTypeList<BasicPixelID<int8_t>,
110  BasicPixelID<int16_t>,
111  BasicPixelID<int32_t>,
112 #ifdef SITK_INT64_PIXELIDS
113  BasicPixelID<int64_t>,
114 #endif
115  BasicPixelID<float>,
117 
118 
123 typedef typelist::MakeTypeList<VectorPixelID<int8_t>,
129 #ifdef SITK_INT64_PIXELIDS
132 #endif
135 
136 
141 typedef typelist::MakeTypeList<VectorPixelID<float>,
143 
148 typedef typelist::MakeTypeList< VectorPixelID<int8_t>,
149  VectorPixelID<int16_t>,
150  VectorPixelID<int32_t>,
151  VectorPixelID<float>,
153 
154 
159 typedef typelist::MakeTypeList<LabelPixelID<uint8_t>,
162 #ifdef SITK_INT64_PIXELIDS
164 #endif
166 
167 typedef UnsignedIntegerPixelIDTypeList IntegerLabelPixelIDTypeList;
168 
177 typedef typelist::Append<
178  typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type,
179  VectorPixelIDTypeList
181 
182 
192 typedef typelist::Append<
193  typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type,
194  typelist::Append< VectorPixelIDTypeList, LabelPixelIDTypeList >::Type
196 
197 
207 typedef AllPixelIDTypeList InstantiatedPixelIDTypeList;
208 
209 }
210 }
211 #endif // _sitkPixelIDTypeLists_h
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< int16_t >, BasicPixelID< int32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type SignedPixelIDTypeList
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > >::Type IntegerPixelIDTypeList
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
AllPixelIDTypeList InstantiatedPixelIDTypeList
typelist::MakeTypeList< BasicPixelID< uint8_t >, BasicPixelID< uint16_t >, BasicPixelID< uint32_t > >::Type UnsignedIntegerPixelIDTypeList
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, typelist::Append< VectorPixelIDTypeList, LabelPixelIDTypeList >::Type >::Type AllPixelIDTypeList
UnsignedIntegerPixelIDTypeList IntegerLabelPixelIDTypeList
typelist::MakeTypeList< BasicPixelID< std::complex< float > >, BasicPixelID< std::complex< double > > >::Type ComplexPixelIDTypeList
typelist::MakeTypeList< VectorPixelID< int8_t >, VectorPixelID< int16_t >, VectorPixelID< int32_t >, VectorPixelID< float >, VectorPixelID< double > >::Type SignedVectorPixelIDTypeList
BasicPixelIDTypeList ScalarPixelIDTypeList
typelist::MakeTypeList< VectorPixelID< int8_t >, VectorPixelID< uint8_t >, VectorPixelID< int16_t >, VectorPixelID< uint16_t >, VectorPixelID< int32_t >, VectorPixelID< uint32_t >, VectorPixelID< float >, VectorPixelID< double > >::Type VectorPixelIDTypeList
typelist::MakeTypeList< VectorPixelID< float >, VectorPixelID< double > >::Type RealVectorPixelIDTypeList