SimpleITK  
sitkPixelIDTypeLists.h
Go to the documentation of this file.
1 /*=========================================================================
2 *
3 * Copyright NumFOCUS
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/type_list2.h"
27 
28 #include <complex>
29 
30 namespace itk
31 {
32 namespace simple
33 {
34 
35 
42 using BasicPixelIDTypeList = typelist2::typelist<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 
60 
61 
66 using IntegerPixelIDTypeList = typelist2::typelist<BasicPixelID<int8_t>,
72 #ifdef SITK_INT64_PIXELIDS
73  ,
76 #endif
77  >;
78 
83 using UnsignedIntegerPixelIDTypeList = typelist2::typelist<BasicPixelID<uint8_t>,
86 #ifdef SITK_INT64_PIXELIDS
87  ,
89 #endif
90  >;
91 
93 using MaskedPixelIDTypeList = typelist2::typelist<uint8_t>;
94 
95 
100 using RealPixelIDTypeList = typelist2::typelist<BasicPixelID<float>, BasicPixelID<double>>;
101 
107  typelist2::typelist<BasicPixelID<std::complex<float>>, BasicPixelID<std::complex< double > > >;
108 
113 using SignedPixelIDTypeList = typelist2::typelist<BasicPixelID<int8_t>,
116 #ifdef SITK_INT64_PIXELIDS
118 #endif
121 
122 
127 using VectorPixelIDTypeList = typelist2::typelist<VectorPixelID<int8_t>,
133 #ifdef SITK_INT64_PIXELIDS
136 #endif
139 
140 
145 using RealVectorPixelIDTypeList = typelist2::typelist<VectorPixelID<float>, VectorPixelID<double>>;
146 
151 using SignedVectorPixelIDTypeList = typelist2::typelist<VectorPixelID<int8_t>,
156 
157 
162 using LabelPixelIDTypeList = typelist2::typelist<LabelPixelID<uint8_t>,
165 #ifdef SITK_INT64_PIXELIDS
166  ,
168 #endif
169  >;
170 
172 
182  typelist2::append<BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList>::type;
183 
184 
194 using AllPixelIDTypeList =
195  typelist2::append<BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList, LabelPixelIDTypeList>::type;
196 
197 
208 
209 }
210 }
211 #endif // _sitkPixelIDTypeLists_h
itk::simple::VectorPixelIDTypeList
typelist2::typelist< VectorPixelID< int8_t >, VectorPixelID< uint8_t >, VectorPixelID< int16_t >, VectorPixelID< uint16_t >, VectorPixelID< int32_t >, VectorPixelID< uint32_t >, VectorPixelID< float >, VectorPixelID< double > > VectorPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:138
itk::simple::RealPixelIDTypeList
typelist2::typelist< BasicPixelID< float >, BasicPixelID< double > > RealPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:100
itk::simple::SignedVectorPixelIDTypeList
typelist2::typelist< VectorPixelID< int8_t >, VectorPixelID< int16_t >, VectorPixelID< int32_t >, VectorPixelID< float >, VectorPixelID< double > > SignedVectorPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:155
itk::simple::ScalarPixelIDTypeList
BasicPixelIDTypeList ScalarPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:59
sitkPixelIDTypes.h
itk::simple::IntegerLabelPixelIDTypeList
UnsignedIntegerPixelIDTypeList IntegerLabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:171
itk::simple::BasicPixelIDTypeList
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:53
itk::simple::LabelPixelID
Definition: sitkPixelIDTypes.h:84
itk::simple::MaskedPixelIDTypeList
typelist2::typelist< uint8_t > MaskedPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:93
itk::simple::NonLabelPixelIDTypeList
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:182
itk::simple::BasicPixelID
Definition: sitkPixelIDTypes.h:48
itk::simple::InstantiatedPixelIDTypeList
AllPixelIDTypeList InstantiatedPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:207
itk::simple::AllPixelIDTypeList
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList, LabelPixelIDTypeList >::type AllPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:195
sitkConfigure.h
itk::simple::UnsignedIntegerPixelIDTypeList
typelist2::typelist< BasicPixelID< uint8_t >, BasicPixelID< uint16_t >, BasicPixelID< uint32_t > > UnsignedIntegerPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:90
itk::simple::RealVectorPixelIDTypeList
typelist2::typelist< VectorPixelID< float >, VectorPixelID< double > > RealVectorPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:145
itk
itk::simple::LabelPixelIDTypeList
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:169
itk::simple::SignedPixelIDTypeList
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< int16_t >, BasicPixelID< int32_t >, BasicPixelID< float >, BasicPixelID< double > > SignedPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:120
itk::simple::IntegerPixelIDTypeList
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t > > IntegerPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:77
itk::simple::ComplexPixelIDTypeList
typelist2::typelist< BasicPixelID< std::complex< float > >, BasicPixelID< std::complex< double > > > ComplexPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:107
itk::simple::VectorPixelID
Definition: sitkPixelIDTypes.h:66