Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
mia
3d
orientation.hh
Go to the documentation of this file.
1
/* -*- mia-c++ -*-
2
*
3
* This file is part of MIA - a toolbox for medical image analysis
4
* Copyright (c) Leipzig, Madrid 1999-2013 Gert Wollny
5
*
6
* MIA is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with MIA; if not, see <http://www.gnu.org/licenses/>.
18
*
19
*/
20
21
#ifndef __mia_3d_oriantation_hh
22
#define __mia_3d_oriantation_hh
23
24
#include <ostream>
25
#include <istream>
26
27
#include <
mia/core/attributes.hh
>
28
#include <
mia/3d/defines3d.hh
>
29
30
31
32
NS_MIA_BEGIN
33
38
enum
E3DImageOrientation
{
ior_axial
,
39
ior_coronal
,
40
ior_saggital
,
41
ior_unknown
42
};
43
58
enum
E3DPatientPositioning
{
59
ipp_undefined
= 0,
60
ipp_hfp
,
61
ipp_hfs
,
62
ipp_hfdr
,
63
ipp_hfdl
,
64
ipp_ffp
,
65
ipp_ffs
,
66
ipp_ffdr
,
67
ipp_ffdl
,
68
ipp_lastindex
69
};
70
71
72
extern
const
TDictMap<E3DPatientPositioning>
g_patient_position_map
;
73
81
EXPORT_3D
std::ostream&
operator <<
(std::ostream& os,
E3DImageOrientation
orient);
82
90
EXPORT_3D
std::istream&
operator >>
(std::istream& is,
E3DImageOrientation
& orient);
91
92
100
EXPORT_3D
std::ostream&
operator <<
(std::ostream& os,
E3DPatientPositioning
pp);
101
109
EXPORT_3D
std::istream&
operator >>
(std::istream& is,
E3DPatientPositioning
& pp);
110
115
typedef
TAttribute<E3DImageOrientation>
C3DImageOrientation
;
116
121
typedef
TTranslator<E3DImageOrientation>
COrientationTranslator
;
122
127
typedef
TAttribute<E3DPatientPositioning>
CPatientPositionAttribute
;
128
133
typedef
TTranslator<E3DPatientPositioning>
CPatientPositionTranslator
;
134
135
extern
EXPORT_3D
const
char
*
IDPatientPosition
;
136
137
NS_MIA_END
138
139
#endif
Generated on Tue Oct 15 2013 13:56:37 by
1.8.4