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::simple
31 {
32 
33 
40 using BasicPixelIDTypeList = typelist2::typelist<BasicPixelID<int8_t>,
41  BasicPixelID<uint8_t>,
42  BasicPixelID<int16_t>,
43  BasicPixelID<uint16_t>,
44  BasicPixelID<int32_t>,
45  BasicPixelID<uint32_t>,
46 #ifdef SITK_INT64_PIXELIDS
47  BasicPixelID<int64_t>,
48  BasicPixelID<uint64_t>,
49 #endif
50  BasicPixelID<float>,
52 
58 
59 
64 using IntegerPixelIDTypeList = typelist2::typelist<BasicPixelID<int8_t>,
70 #ifdef SITK_INT64_PIXELIDS
71  ,
74 #endif
75  >;
76 
81 using UnsignedIntegerPixelIDTypeList = typelist2::typelist<BasicPixelID<uint8_t>,
84 #ifdef SITK_INT64_PIXELIDS
85  ,
87 #endif
88  >;
89 
91 using MaskedPixelIDTypeList = typelist2::typelist<BasicPixelID<uint8_t>>;
92 
93 
98 using RealPixelIDTypeList = typelist2::typelist<BasicPixelID<float>, BasicPixelID<double>>;
99 
105  typelist2::typelist<BasicPixelID<std::complex<float>>, BasicPixelID<std::complex<double>>>;
106 
111 using SignedPixelIDTypeList = typelist2::typelist<BasicPixelID<int8_t>,
114 #ifdef SITK_INT64_PIXELIDS
116 #endif
119 
120 
125 using VectorPixelIDTypeList = typelist2::typelist<VectorPixelID<int8_t>,
131 #ifdef SITK_INT64_PIXELIDS
134 #endif
137 
138 
143 using RealVectorPixelIDTypeList = typelist2::typelist<VectorPixelID<float>, VectorPixelID<double>>;
144 
149 using SignedVectorPixelIDTypeList = typelist2::typelist<VectorPixelID<int8_t>,
154 
155 
160 using LabelPixelIDTypeList = typelist2::typelist<LabelPixelID<uint8_t>,
163 #ifdef SITK_INT64_PIXELIDS
164  ,
166 #endif
167  >;
168 
170 
180  typelist2::append<BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList>::type;
181 
182 
192 using AllPixelIDTypeList =
193  typelist2::append<BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList, LabelPixelIDTypeList>::type;
194 
195 
206 
207 } // namespace itk::simple
208 #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:136
itk::simple::RealPixelIDTypeList
typelist2::typelist< BasicPixelID< float >, BasicPixelID< double > > RealPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:98
itk::simple::SignedVectorPixelIDTypeList
typelist2::typelist< VectorPixelID< int8_t >, VectorPixelID< int16_t >, VectorPixelID< int32_t >, VectorPixelID< float >, VectorPixelID< double > > SignedVectorPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:153
itk::simple::ScalarPixelIDTypeList
BasicPixelIDTypeList ScalarPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:57
sitkPixelIDTypes.h
itk::simple::IntegerLabelPixelIDTypeList
UnsignedIntegerPixelIDTypeList IntegerLabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:169
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:51
itk::simple::LabelPixelID
Definition: sitkPixelIDTypes.h:89
itk::simple::NonLabelPixelIDTypeList
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:180
itk::simple::BasicPixelID
Definition: sitkPixelIDTypes.h:53
itk::simple::InstantiatedPixelIDTypeList
AllPixelIDTypeList InstantiatedPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:205
itk::simple::AllPixelIDTypeList
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList, LabelPixelIDTypeList >::type AllPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:193
sitkConfigure.h
itk::simple::UnsignedIntegerPixelIDTypeList
typelist2::typelist< BasicPixelID< uint8_t >, BasicPixelID< uint16_t >, BasicPixelID< uint32_t > > UnsignedIntegerPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:88
itk::simple::RealVectorPixelIDTypeList
typelist2::typelist< VectorPixelID< float >, VectorPixelID< double > > RealVectorPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:143
itk::simple::MaskedPixelIDTypeList
typelist2::typelist< BasicPixelID< uint8_t > > MaskedPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:91
itk::simple::LabelPixelIDTypeList
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:167
itk::simple::ComplexPixelIDTypeList
typelist2::typelist< BasicPixelID< std::complex< float > >, BasicPixelID< std::complex< double > >> ComplexPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:105
itk::simple::SignedPixelIDTypeList
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< int16_t >, BasicPixelID< int32_t >, BasicPixelID< float >, BasicPixelID< double > > SignedPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:118
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:75
itk::simple
Definition: sitkAdditionalProcedures.h:28
itk::simple::VectorPixelID
Definition: sitkPixelIDTypes.h:71