00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __itkSpatialOrientation_h
00021 #define __itkSpatialOrientation_h
00022
00023 namespace itk
00024 {
00025 namespace SpatialOrientation
00026 {
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 typedef enum {
00037 ITK_COORDINATE_UNKNOWN=0,
00038 ITK_COORDINATE_Right=2,
00039 ITK_COORDINATE_Left=3,
00040 ITK_COORDINATE_Posterior=4,
00041 ITK_COORDINATE_Anterior=5,
00042 ITK_COORDINATE_Inferior=8,
00043 ITK_COORDINATE_Superior=9
00044
00045
00046 } CoordinateTerms;
00047
00048 typedef enum {
00049
00050
00051
00052
00053 ITK_COORDINATE_PrimaryMinor=0,
00054 ITK_COORDINATE_SecondaryMinor=8,
00055 ITK_COORDINATE_TertiaryMinor=16
00056
00057
00058
00059
00060 } CoordinateMajornessTerms;
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072 typedef enum {
00073 ITK_COORDINATE_ORIENTATION_INVALID=ITK_COORDINATE_UNKNOWN,
00074 ITK_COORDINATE_ORIENTATION_RIP = (ITK_COORDINATE_Right
00075 << ITK_COORDINATE_PrimaryMinor)
00076 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00077 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00078 ITK_COORDINATE_ORIENTATION_LIP = (ITK_COORDINATE_Left
00079 << ITK_COORDINATE_PrimaryMinor)
00080 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00081 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00082 ITK_COORDINATE_ORIENTATION_RSP = (ITK_COORDINATE_Right
00083 << ITK_COORDINATE_PrimaryMinor)
00084 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00085 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00086 ITK_COORDINATE_ORIENTATION_LSP = (ITK_COORDINATE_Left
00087 << ITK_COORDINATE_PrimaryMinor)
00088 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00089 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00090 ITK_COORDINATE_ORIENTATION_RIA = (ITK_COORDINATE_Right
00091 << ITK_COORDINATE_PrimaryMinor)
00092 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00093 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00094 ITK_COORDINATE_ORIENTATION_LIA = (ITK_COORDINATE_Left
00095 << ITK_COORDINATE_PrimaryMinor)
00096 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00097 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00098 ITK_COORDINATE_ORIENTATION_RSA = (ITK_COORDINATE_Right
00099 << ITK_COORDINATE_PrimaryMinor)
00100 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00101 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00102 ITK_COORDINATE_ORIENTATION_LSA = (ITK_COORDINATE_Left
00103 << ITK_COORDINATE_PrimaryMinor)
00104 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00105 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00106
00107 ITK_COORDINATE_ORIENTATION_IRP = (ITK_COORDINATE_Inferior
00108 << ITK_COORDINATE_PrimaryMinor)
00109 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00110 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00111 ITK_COORDINATE_ORIENTATION_ILP = (ITK_COORDINATE_Inferior
00112 << ITK_COORDINATE_PrimaryMinor)
00113 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00114 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00115 ITK_COORDINATE_ORIENTATION_SRP = (ITK_COORDINATE_Superior
00116 << ITK_COORDINATE_PrimaryMinor)
00117 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00118 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00119 ITK_COORDINATE_ORIENTATION_SLP = (ITK_COORDINATE_Superior
00120 << ITK_COORDINATE_PrimaryMinor)
00121 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00122 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_TertiaryMinor),
00123 ITK_COORDINATE_ORIENTATION_IRA = (ITK_COORDINATE_Inferior
00124 << ITK_COORDINATE_PrimaryMinor)
00125 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00126 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00127 ITK_COORDINATE_ORIENTATION_ILA = (ITK_COORDINATE_Inferior
00128 << ITK_COORDINATE_PrimaryMinor)
00129 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00130 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00131 ITK_COORDINATE_ORIENTATION_SRA = (ITK_COORDINATE_Superior
00132 << ITK_COORDINATE_PrimaryMinor)
00133 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00134 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00135 ITK_COORDINATE_ORIENTATION_SLA = (ITK_COORDINATE_Superior
00136 << ITK_COORDINATE_PrimaryMinor)
00137 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00138 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_TertiaryMinor),
00139
00140 ITK_COORDINATE_ORIENTATION_RPI = (ITK_COORDINATE_Right
00141 << ITK_COORDINATE_PrimaryMinor)
00142 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00143 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00144 ITK_COORDINATE_ORIENTATION_LPI = (ITK_COORDINATE_Left
00145 << ITK_COORDINATE_PrimaryMinor)
00146 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00147 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00148 ITK_COORDINATE_ORIENTATION_RAI = (ITK_COORDINATE_Right
00149 << ITK_COORDINATE_PrimaryMinor)
00150 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00151 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00152 ITK_COORDINATE_ORIENTATION_LAI = (ITK_COORDINATE_Left
00153 << ITK_COORDINATE_PrimaryMinor)
00154 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00155 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00156 ITK_COORDINATE_ORIENTATION_RPS = (ITK_COORDINATE_Right
00157 << ITK_COORDINATE_PrimaryMinor)
00158 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00159 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00160 ITK_COORDINATE_ORIENTATION_LPS = (ITK_COORDINATE_Left
00161 << ITK_COORDINATE_PrimaryMinor)
00162 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00163 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00164 ITK_COORDINATE_ORIENTATION_RAS = (ITK_COORDINATE_Right
00165 << ITK_COORDINATE_PrimaryMinor)
00166 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00167 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00168 ITK_COORDINATE_ORIENTATION_LAS = (ITK_COORDINATE_Left
00169 << ITK_COORDINATE_PrimaryMinor)
00170 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00171 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00172
00173 ITK_COORDINATE_ORIENTATION_PRI = (ITK_COORDINATE_Posterior
00174 << ITK_COORDINATE_PrimaryMinor)
00175 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00176 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00177 ITK_COORDINATE_ORIENTATION_PLI = (ITK_COORDINATE_Posterior
00178 << ITK_COORDINATE_PrimaryMinor)
00179 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00180 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00181 ITK_COORDINATE_ORIENTATION_ARI = (ITK_COORDINATE_Anterior
00182 << ITK_COORDINATE_PrimaryMinor)
00183 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00184 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00185 ITK_COORDINATE_ORIENTATION_ALI = (ITK_COORDINATE_Anterior
00186 << ITK_COORDINATE_PrimaryMinor)
00187 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00188 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_TertiaryMinor),
00189 ITK_COORDINATE_ORIENTATION_PRS = (ITK_COORDINATE_Posterior
00190 << ITK_COORDINATE_PrimaryMinor)
00191 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00192 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00193 ITK_COORDINATE_ORIENTATION_PLS = (ITK_COORDINATE_Posterior
00194 << ITK_COORDINATE_PrimaryMinor)
00195 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00196 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00197 ITK_COORDINATE_ORIENTATION_ARS = (ITK_COORDINATE_Anterior
00198 << ITK_COORDINATE_PrimaryMinor)
00199 + (ITK_COORDINATE_Right << ITK_COORDINATE_SecondaryMinor)
00200 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00201 ITK_COORDINATE_ORIENTATION_ALS = (ITK_COORDINATE_Anterior
00202 << ITK_COORDINATE_PrimaryMinor)
00203 + (ITK_COORDINATE_Left << ITK_COORDINATE_SecondaryMinor)
00204 + (ITK_COORDINATE_Superior << ITK_COORDINATE_TertiaryMinor),
00205
00206 ITK_COORDINATE_ORIENTATION_IPR = (ITK_COORDINATE_Inferior
00207 << ITK_COORDINATE_PrimaryMinor)
00208 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00209 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00210 ITK_COORDINATE_ORIENTATION_SPR = (ITK_COORDINATE_Superior
00211 << ITK_COORDINATE_PrimaryMinor)
00212 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00213 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00214 ITK_COORDINATE_ORIENTATION_IAR = (ITK_COORDINATE_Inferior
00215 << ITK_COORDINATE_PrimaryMinor)
00216 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00217 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00218 ITK_COORDINATE_ORIENTATION_SAR = (ITK_COORDINATE_Superior
00219 << ITK_COORDINATE_PrimaryMinor)
00220 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00221 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00222 ITK_COORDINATE_ORIENTATION_IPL = (ITK_COORDINATE_Inferior
00223 << ITK_COORDINATE_PrimaryMinor)
00224 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00225 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor),
00226 ITK_COORDINATE_ORIENTATION_SPL = (ITK_COORDINATE_Superior
00227 << ITK_COORDINATE_PrimaryMinor)
00228 + (ITK_COORDINATE_Posterior << ITK_COORDINATE_SecondaryMinor)
00229 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor),
00230 ITK_COORDINATE_ORIENTATION_IAL = (ITK_COORDINATE_Inferior
00231 << ITK_COORDINATE_PrimaryMinor)
00232 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00233 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor),
00234 ITK_COORDINATE_ORIENTATION_SAL = (ITK_COORDINATE_Superior
00235 << ITK_COORDINATE_PrimaryMinor)
00236 + (ITK_COORDINATE_Anterior << ITK_COORDINATE_SecondaryMinor)
00237 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor),
00238
00239 ITK_COORDINATE_ORIENTATION_PIR = (ITK_COORDINATE_Posterior
00240 << ITK_COORDINATE_PrimaryMinor)
00241 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00242 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00243 ITK_COORDINATE_ORIENTATION_PSR = (ITK_COORDINATE_Posterior
00244 << ITK_COORDINATE_PrimaryMinor)
00245 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00246 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00247 ITK_COORDINATE_ORIENTATION_AIR = (ITK_COORDINATE_Anterior
00248 << ITK_COORDINATE_PrimaryMinor)
00249 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00250 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00251 ITK_COORDINATE_ORIENTATION_ASR = (ITK_COORDINATE_Anterior
00252 << ITK_COORDINATE_PrimaryMinor)
00253 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00254 + (ITK_COORDINATE_Right << ITK_COORDINATE_TertiaryMinor),
00255 ITK_COORDINATE_ORIENTATION_PIL = (ITK_COORDINATE_Posterior
00256 << ITK_COORDINATE_PrimaryMinor)
00257 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00258 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor),
00259 ITK_COORDINATE_ORIENTATION_PSL = (ITK_COORDINATE_Posterior
00260 << ITK_COORDINATE_PrimaryMinor)
00261 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00262 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor),
00263 ITK_COORDINATE_ORIENTATION_AIL = (ITK_COORDINATE_Anterior
00264 << ITK_COORDINATE_PrimaryMinor)
00265 + (ITK_COORDINATE_Inferior << ITK_COORDINATE_SecondaryMinor)
00266 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor),
00267 ITK_COORDINATE_ORIENTATION_ASL = (ITK_COORDINATE_Anterior
00268 << ITK_COORDINATE_PrimaryMinor)
00269 + (ITK_COORDINATE_Superior << ITK_COORDINATE_SecondaryMinor)
00270 + (ITK_COORDINATE_Left << ITK_COORDINATE_TertiaryMinor)
00271 } ValidCoordinateOrientationFlags;
00272
00273
00274
00275
00276
00277
00278
00279
00280 #ifndef __TEMPORARILY_INCLUDED_IN_COMPILATIONS__
00281 typedef enum {
00283
00284
00286
00287
00289
00290
00292
00293
00295
00296
00298
00299
00301
00302
00304
00305 } ValidOriginFlags;
00306 #endif
00307
00308 }
00309 }
00310
00311 #endif
00312