ITK  6.0.0
Insight Toolkit
itkSpatialOrientation.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  * https://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 /*=========================================================================
19  *
20  * Portions of this file are subject to the VTK Toolkit Version 3 copyright.
21  *
22  * Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
23  *
24  * For complete copyright, license and disclaimer of warranty information
25  * please refer to the NOTICE file at the top of the ITK source tree.
26  *
27  *=========================================================================*/
28 #ifndef itkSpatialOrientation_h
29 #define itkSpatialOrientation_h
30 
31 #include "itkIntTypes.h"
32 #include <ostream>
33 
34 #include "ITKCommonExport.h"
35 
36 namespace itk
37 {
47 {
48 public:
60  enum class CoordinateTerms : uint8_t
61  {
65  ITK_COORDINATE_Posterior = 4, // back
66  ITK_COORDINATE_Anterior = 5, // front
67  ITK_COORDINATE_Inferior = 8, // below
68  ITK_COORDINATE_Superior = 9 // above
69  // ITK_COORDINATE_Historical=16,
70  // ITK_COORDINATE_Future=17
71  };
72 
88  enum class CoordinateMajornessTerms : uint8_t
89  {
93  };
94 
111  enum class ValidCoordinateOrientations : uint32_t
112  {
115  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
116  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
117  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
119  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
122  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
123  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
124  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
126  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
129  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
130  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
131  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
133  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
136  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
137  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
138  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
140  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
143  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
144  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
145  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
147  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
150  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
151  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
152  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
154  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
157  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
158  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
159  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
161  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
164  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
165  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
166  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
168  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
170 
172  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
173  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
174  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
176  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
179  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
180  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
181  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
183  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
186  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
187  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
188  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
190  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
193  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
194  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
195  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
197  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
200  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
201  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
202  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
204  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
207  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
208  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
209  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
211  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
214  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
215  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
216  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
218  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
221  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
222  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
223  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
225  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
227 
229  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
230  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
231  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
233  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
236  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
237  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
238  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
240  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
243  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
244  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
245  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
247  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
250  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
251  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
252  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
254  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
257  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
258  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
259  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
261  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
264  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
265  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
266  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
268  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
271  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
272  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
273  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
275  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
278  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
279  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
280  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
282  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
284 
286  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
287  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
288  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
290  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
293  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
294  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
295  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
297  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
300  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
301  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
302  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
304  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
307  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
308  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
309  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
311  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
314  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
315  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
316  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
318  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
321  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
322  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
323  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
325  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
328  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
329  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
330  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
332  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
335  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
336  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
337  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
339  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
341 
343  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
344  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
345  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
347  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
350  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
351  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
352  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
354  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
357  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
358  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
359  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
361  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
364  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
365  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
366  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
368  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
371  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
372  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
373  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
375  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
378  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
379  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
380  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
382  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
385  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
386  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
387  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
389  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
392  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
393  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
394  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
396  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
398 
400  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
401  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
402  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
404  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
407  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
408  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
409  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
411  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
414  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
415  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
416  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
418  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
421  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
422  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
423  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
425  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
428  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
429  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
430  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
432  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
435  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
436  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
437  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
439  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
442  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
443  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
444  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
446  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
449  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
450  << static_cast<uint32_t>(CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor)) +
451  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
453  (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
455  };
456 };
457 
458 // Define how to print enumeration
459 extern ITKCommon_EXPORT std::ostream &
460  operator<<(std::ostream & out, const SpatialOrientationEnums::CoordinateTerms value);
461 extern ITKCommon_EXPORT std::ostream &
462  operator<<(std::ostream & out, const SpatialOrientationEnums::CoordinateMajornessTerms value);
463 extern ITKCommon_EXPORT std::ostream &
464  operator<<(std::ostream & out, const SpatialOrientationEnums::ValidCoordinateOrientations value);
465 
466 #ifndef ITK_LEGACY_REMOVE
467 namespace SpatialOrientation
468 {
469 
470 using CoordinateTerms = SpatialOrientationEnums::CoordinateTerms;
471 
472 static constexpr CoordinateTerms ITK_COORDINATE_UNKNOWN = CoordinateTerms::ITK_COORDINATE_UNKNOWN;
473 static constexpr CoordinateTerms ITK_COORDINATE_Right = CoordinateTerms::ITK_COORDINATE_Right;
474 static constexpr CoordinateTerms ITK_COORDINATE_Left = CoordinateTerms::ITK_COORDINATE_Left;
475 static constexpr CoordinateTerms ITK_COORDINATE_Posterior = CoordinateTerms::ITK_COORDINATE_Posterior;
476 static constexpr CoordinateTerms ITK_COORDINATE_Anterior = CoordinateTerms::ITK_COORDINATE_Anterior;
477 static constexpr CoordinateTerms ITK_COORDINATE_Inferior = CoordinateTerms::ITK_COORDINATE_Inferior;
478 static constexpr CoordinateTerms ITK_COORDINATE_Superior = CoordinateTerms::ITK_COORDINATE_Superior;
479 
480 using CoordinateMajornessTerms = SpatialOrientationEnums::CoordinateMajornessTerms;
481 
482 static constexpr CoordinateMajornessTerms ITK_COORDINATE_PrimaryMinor =
483  CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor;
484 static constexpr CoordinateMajornessTerms ITK_COORDINATE_SecondaryMinor =
485  CoordinateMajornessTerms::ITK_COORDINATE_SecondaryMinor;
486 static constexpr CoordinateMajornessTerms ITK_COORDINATE_TertiaryMinor =
487  CoordinateMajornessTerms::ITK_COORDINATE_TertiaryMinor;
488 
489 using ValidCoordinateOrientationFlags = SpatialOrientationEnums::ValidCoordinateOrientations;
490 
491 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RIP =
492  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RIP;
493 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LIP =
494  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LIP;
495 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RSP =
496  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RSP;
497 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LSP =
498  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LSP;
499 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RIA =
500  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RIA;
501 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LIA =
502  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LIA;
503 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RSA =
504  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RSA;
505 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LSA =
506  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LSA;
507 
508 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IRP =
509  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IRP;
510 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ILP =
511  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ILP;
512 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SRP =
513  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SRP;
514 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SLP =
515  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SLP;
516 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IRA =
517  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IRA;
518 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ILA =
519  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ILA;
520 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SRA =
521  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SRA;
522 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SLA =
523  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SLA;
524 
525 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RPI =
526  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RPI;
527 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LPI =
528  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LPI;
529 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RAI =
530  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RAI;
531 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LAI =
532  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LAI;
533 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RPS =
534  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RPS;
535 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LPS =
536  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LPS;
537 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RAS =
538  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RAS;
539 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LAS =
540  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LAS;
541 
542 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PRI =
543  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PRI;
544 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PLI =
545  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PLI;
546 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ARI =
547  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ARI;
548 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ALI =
549  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ALI;
550 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PRS =
551  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PRS;
552 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PLS =
553  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PLS;
554 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ARS =
555  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ARS;
556 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ALS =
557  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ALS;
558 
559 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IPR =
560  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IPR;
561 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SPR =
562  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SPR;
563 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IAR =
564  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IAR;
565 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SAR =
566  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SAR;
567 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IPL =
568  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IPL;
569 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SPL =
570  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SPL;
571 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IAL =
572  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IAL;
573 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SAL =
574  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SAL;
575 
576 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PIR =
577  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PIR;
578 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PSR =
579  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PSR;
580 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_AIR =
581  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_AIR;
582 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ASR =
583  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ASR;
584 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PIL =
585  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PIL;
586 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PSL =
587  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PSL;
588 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_AIL =
589  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_AIL;
590 static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ASL =
591  ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ASL;
592 
593 } // end of namespace SpatialOrientation
594 #endif // !ITK_LEGACY_REMOVE
595 } // end namespace itk
596 
597 #endif
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ALI
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ASR
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PIR
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RPS
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SAR
itk::SpatialOrientationEnums::CoordinateTerms::ITK_COORDINATE_Inferior
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_INVALID
itk::SpatialOrientationEnums::CoordinateTerms::ITK_COORDINATE_UNKNOWN
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RSP
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PSR
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_IPL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RAI
itk::SpatialOrientationEnums::CoordinateTerms::ITK_COORDINATE_Left
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PIL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_AIR
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PSL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PLI
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RAS
itk::SpatialOrientationEnums
Enums for spatial orientation of images.
Definition: itkSpatialOrientation.h:46
itk::SpatialOrientationEnums::CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor
itk::operator<<
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LAI
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ALS
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LSP
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RIA
itk::SpatialOrientationEnums::CoordinateTerms::ITK_COORDINATE_Right
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SAL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_IAL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LIP
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LPS
itk::SpatialOrientationEnums::CoordinateTerms
CoordinateTerms
Definition: itkSpatialOrientation.h:60
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ASL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SPR
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SLP
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_IPR
itk::SpatialOrientationEnums::CoordinateTerms::ITK_COORDINATE_Posterior
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ILA
itk::SpatialOrientationEnums::CoordinateTerms::ITK_COORDINATE_Superior
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SLA
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LPI
itk::SpatialOrientationEnums::CoordinateMajornessTerms
CoordinateMajornessTerms
Definition: itkSpatialOrientation.h:88
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PRI
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_IRP
itkIntTypes.h
itk::SpatialOrientationEnums::ValidCoordinateOrientations
ValidCoordinateOrientations
Definition: itkSpatialOrientation.h:111
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PLS
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SRP
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_PRS
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ILP
itk::SpatialOrientationEnums::CoordinateMajornessTerms::ITK_COORDINATE_SecondaryMinor
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_IRA
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_AIL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RPI
itk::SpatialOrientationEnums::CoordinateTerms::ITK_COORDINATE_Anterior
itk::SpatialOrientationEnums::CoordinateMajornessTerms::ITK_COORDINATE_TertiaryMinor
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ARI
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_IAR
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LAS
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LSA
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_LIA
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SPL
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_ARS
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RSA
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_RIP
itk::SpatialOrientationEnums::ValidCoordinateOrientations::ITK_COORDINATE_ORIENTATION_SRA