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
36namespace itk
37{
47{
48public:
60 enum class CoordinateTerms : uint8_t
61 {
62 ITK_COORDINATE_UNKNOWN = 0,
63 ITK_COORDINATE_Right = 2,
64 ITK_COORDINATE_Left = 3,
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 {
90 ITK_COORDINATE_PrimaryMinor = 0,
91 ITK_COORDINATE_SecondaryMinor = 8,
92 ITK_COORDINATE_TertiaryMinor = 16
93 };
94
111 enum class ValidCoordinateOrientations : uint32_t
112 {
113 ITK_COORDINATE_ORIENTATION_INVALID = static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_UNKNOWN),
114 ITK_COORDINATE_ORIENTATION_RIP =
115 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
117 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
119 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
121 ITK_COORDINATE_ORIENTATION_LIP =
122 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
124 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
126 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
128 ITK_COORDINATE_ORIENTATION_RSP =
129 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
131 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
133 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
135 ITK_COORDINATE_ORIENTATION_LSP =
136 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
138 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
140 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
142 ITK_COORDINATE_ORIENTATION_RIA =
143 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
145 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
147 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
149 ITK_COORDINATE_ORIENTATION_LIA =
150 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
152 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
154 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
156 ITK_COORDINATE_ORIENTATION_RSA =
157 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
159 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
161 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
163 ITK_COORDINATE_ORIENTATION_LSA =
164 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
166 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
168 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
170
171 ITK_COORDINATE_ORIENTATION_IRP =
172 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
174 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
176 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
178 ITK_COORDINATE_ORIENTATION_ILP =
179 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
181 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
183 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
185 ITK_COORDINATE_ORIENTATION_SRP =
186 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
188 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
190 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
192 ITK_COORDINATE_ORIENTATION_SLP =
193 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
195 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
197 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
199 ITK_COORDINATE_ORIENTATION_IRA =
200 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
202 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
204 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
206 ITK_COORDINATE_ORIENTATION_ILA =
207 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
209 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
211 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
213 ITK_COORDINATE_ORIENTATION_SRA =
214 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
216 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
218 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
220 ITK_COORDINATE_ORIENTATION_SLA =
221 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
223 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
225 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
227
228 ITK_COORDINATE_ORIENTATION_RPI =
229 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
231 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
233 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
235 ITK_COORDINATE_ORIENTATION_LPI =
236 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
238 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
240 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
242 ITK_COORDINATE_ORIENTATION_RAI =
243 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
245 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
247 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
249 ITK_COORDINATE_ORIENTATION_LAI =
250 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
252 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
254 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
256 ITK_COORDINATE_ORIENTATION_RPS =
257 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
259 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
261 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
263 ITK_COORDINATE_ORIENTATION_LPS =
264 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
266 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
268 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
270 ITK_COORDINATE_ORIENTATION_RAS =
271 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
273 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
275 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
277 ITK_COORDINATE_ORIENTATION_LAS =
278 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
280 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
282 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
284
285 ITK_COORDINATE_ORIENTATION_PRI =
286 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
288 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
290 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
292 ITK_COORDINATE_ORIENTATION_PLI =
293 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
295 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
297 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
299 ITK_COORDINATE_ORIENTATION_ARI =
300 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
302 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
304 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
306 ITK_COORDINATE_ORIENTATION_ALI =
307 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
309 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
311 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
313 ITK_COORDINATE_ORIENTATION_PRS =
314 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
316 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
318 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
320 ITK_COORDINATE_ORIENTATION_PLS =
321 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
323 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
325 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
327 ITK_COORDINATE_ORIENTATION_ARS =
328 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
330 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
332 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
334 ITK_COORDINATE_ORIENTATION_ALS =
335 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
337 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
339 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
341
342 ITK_COORDINATE_ORIENTATION_IPR =
343 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
345 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
347 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
349 ITK_COORDINATE_ORIENTATION_SPR =
350 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
352 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
354 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
356 ITK_COORDINATE_ORIENTATION_IAR =
357 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
359 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
361 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
363 ITK_COORDINATE_ORIENTATION_SAR =
364 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
366 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
368 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
370 ITK_COORDINATE_ORIENTATION_IPL =
371 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
373 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
375 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
377 ITK_COORDINATE_ORIENTATION_SPL =
378 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
380 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
382 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
384 ITK_COORDINATE_ORIENTATION_IAL =
385 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
387 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
389 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
391 ITK_COORDINATE_ORIENTATION_SAL =
392 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
394 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
396 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
398
399 ITK_COORDINATE_ORIENTATION_PIR =
400 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
402 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
404 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
406 ITK_COORDINATE_ORIENTATION_PSR =
407 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
409 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
411 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
413 ITK_COORDINATE_ORIENTATION_AIR =
414 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
416 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
418 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
420 ITK_COORDINATE_ORIENTATION_ASR =
421 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
423 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
425 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Right)
427 ITK_COORDINATE_ORIENTATION_PIL =
428 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
430 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
432 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
434 ITK_COORDINATE_ORIENTATION_PSL =
435 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Posterior)
437 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Superior)
439 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
441 ITK_COORDINATE_ORIENTATION_AIL =
442 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
444 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Inferior)
446 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Left)
448 ITK_COORDINATE_ORIENTATION_ASL =
449 (static_cast<uint32_t>(CoordinateTerms::ITK_COORDINATE_Anterior)
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
459extern ITKCommon_EXPORT std::ostream &
460 operator<<(std::ostream & out, const SpatialOrientationEnums::CoordinateTerms value);
461extern ITKCommon_EXPORT std::ostream &
462 operator<<(std::ostream & out, const SpatialOrientationEnums::CoordinateMajornessTerms value);
463extern ITKCommon_EXPORT std::ostream &
465
466#ifndef ITK_LEGACY_REMOVE
467namespace SpatialOrientation
468{
469
470using CoordinateTerms = SpatialOrientationEnums::CoordinateTerms;
471
472static constexpr CoordinateTerms ITK_COORDINATE_UNKNOWN = CoordinateTerms::ITK_COORDINATE_UNKNOWN;
473static constexpr CoordinateTerms ITK_COORDINATE_Right = CoordinateTerms::ITK_COORDINATE_Right;
474static constexpr CoordinateTerms ITK_COORDINATE_Left = CoordinateTerms::ITK_COORDINATE_Left;
475static constexpr CoordinateTerms ITK_COORDINATE_Posterior = CoordinateTerms::ITK_COORDINATE_Posterior;
476static constexpr CoordinateTerms ITK_COORDINATE_Anterior = CoordinateTerms::ITK_COORDINATE_Anterior;
477static constexpr CoordinateTerms ITK_COORDINATE_Inferior = CoordinateTerms::ITK_COORDINATE_Inferior;
478static constexpr CoordinateTerms ITK_COORDINATE_Superior = CoordinateTerms::ITK_COORDINATE_Superior;
479
480using CoordinateMajornessTerms = SpatialOrientationEnums::CoordinateMajornessTerms;
481
482static constexpr CoordinateMajornessTerms ITK_COORDINATE_PrimaryMinor =
483 CoordinateMajornessTerms::ITK_COORDINATE_PrimaryMinor;
484static constexpr CoordinateMajornessTerms ITK_COORDINATE_SecondaryMinor =
485 CoordinateMajornessTerms::ITK_COORDINATE_SecondaryMinor;
486static constexpr CoordinateMajornessTerms ITK_COORDINATE_TertiaryMinor =
487 CoordinateMajornessTerms::ITK_COORDINATE_TertiaryMinor;
488
489using ValidCoordinateOrientationFlags = SpatialOrientationEnums::ValidCoordinateOrientations;
490
491static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RIP =
492 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RIP;
493static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LIP =
494 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LIP;
495static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RSP =
496 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RSP;
497static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LSP =
498 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LSP;
499static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RIA =
500 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RIA;
501static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LIA =
502 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LIA;
503static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RSA =
504 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RSA;
505static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LSA =
506 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LSA;
507
508static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IRP =
509 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IRP;
510static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ILP =
511 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ILP;
512static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SRP =
513 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SRP;
514static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SLP =
515 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SLP;
516static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IRA =
517 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IRA;
518static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ILA =
519 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ILA;
520static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SRA =
521 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SRA;
522static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SLA =
523 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SLA;
524
525static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RPI =
526 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RPI;
527static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LPI =
528 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LPI;
529static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RAI =
530 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RAI;
531static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LAI =
532 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LAI;
533static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RPS =
534 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RPS;
535static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LPS =
536 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LPS;
537static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_RAS =
538 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_RAS;
539static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_LAS =
540 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_LAS;
541
542static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PRI =
543 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PRI;
544static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PLI =
545 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PLI;
546static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ARI =
547 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ARI;
548static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ALI =
549 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ALI;
550static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PRS =
551 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PRS;
552static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PLS =
553 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PLS;
554static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ARS =
555 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ARS;
556static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ALS =
557 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ALS;
558
559static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IPR =
560 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IPR;
561static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SPR =
562 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SPR;
563static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IAR =
564 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IAR;
565static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SAR =
566 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SAR;
567static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IPL =
568 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IPL;
569static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SPL =
570 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SPL;
571static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_IAL =
572 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_IAL;
573static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_SAL =
574 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_SAL;
575
576static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PIR =
577 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PIR;
578static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PSR =
579 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PSR;
580static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_AIR =
581 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_AIR;
582static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_ASR =
583 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_ASR;
584static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PIL =
585 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PIL;
586static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_PSL =
587 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_PSL;
588static constexpr ValidCoordinateOrientationFlags ITK_COORDINATE_ORIENTATION_AIL =
589 ValidCoordinateOrientationFlags::ITK_COORDINATE_ORIENTATION_AIL;
590static 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
Enums for spatial orientation of images.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)