Fraxinus  22.04
An IGT application
cxDefinitionStrings.cpp
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #include "cxDefinitionStrings.h"
12 
13 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, ORIENTATION_TYPE, otCOUNT)
14 {
15  "Oblique",
16  "Orthogonal"
17 }
18 DEFINE_ENUM_STRING_CONVERTERS_END(cx, ORIENTATION_TYPE, otCOUNT);
19 
21 {
22  "NoPlane",
23  "Sagittal",
24  "Coronal",
25  "Axial",
26  "Any",
27  "Dual",
28  "Radial",
29  "ToolSide",
30  "InverseAny"
31 }
32 DEFINE_ENUM_STRING_CONVERTERS_END(cx, PLANE_TYPE, ptCOUNT)
33 
35 {
36  "Follow tool",
37  "Fixed center"
38 }
39 DEFINE_ENUM_STRING_CONVERTERS_END(cx, FOLLOW_TYPE, ftCOUNT)
40 
41 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, CLINICAL_VIEW, mdCOUNT)
42 {
43  "Neurological",
44  "Radiological",
45 }
46 DEFINE_ENUM_STRING_CONVERTERS_END(cx, CLINICAL_VIEW, mdCOUNT)
47 
48 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, MESSAGE_LEVEL, mlCOUNT)
49 {
50  "INFO",
51  "WARNING",
52  "ERROR",
53  "DEBUG",
54  "COUT",
55  "CERR",
56  "SUCCESS",
57  "STATUS",
58  "RAW"
59 }
60 DEFINE_ENUM_STRING_CONVERTERS_END(cx, MESSAGE_LEVEL, mlCOUNT)
61 
62 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, LOG_SEVERITY, msCOUNT)
63 {
64  "ERROR",
65  "WARNING",
66  "INFO",
67  "DEBUG"
68 }
69 DEFINE_ENUM_STRING_CONVERTERS_END(cx, LOG_SEVERITY, msCOUNT)
70 
71 
72 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, PATIENT_COORDINATE_SYSTEM, pcsCOUNT)
73 {
74  "LPS",
75  "RAS"
76 }
77 DEFINE_ENUM_STRING_CONVERTERS_END(cx, PATIENT_COORDINATE_SYSTEM, pcsCOUNT)
78 
79 
80 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, COORDINATE_SYSTEM, csCOUNT)
81 {
82  "reference",
83  "data",
84  "patient reference",
85  "tool",
86  "sensor",
87  "tool offset",
88  "voxel"
89 }
90 DEFINE_ENUM_STRING_CONVERTERS_END(cx, COORDINATE_SYSTEM, csCOUNT)
91 
92 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, TRACKING_SYSTEM, tsCOUNT)
93 {
94  "none",
95  "polaris",
96  "polaris spectra",
97  "polaris vicra",
98  "polaris classic",
99  "aurora",
100  "micron"
101 }
102 DEFINE_ENUM_STRING_CONVERTERS_END(cx, TRACKING_SYSTEM, tsCOUNT)
103 
104 /*DEFINE_ENUM_STRING_CONVERTERS_BEGIN(ssc, TOOL_TYPE, ttCOUNT)
105 {
106  "none",
107  "reference",
108  "manual",
109  "pointer",
110  "usprobe"
111 }
112 DEFINE_ENUM_STRING_CONVERTERS_END(ssc, TOOL_TYPE, ttCOUNT)*/
113 
114 
115 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, IMAGE_MODALITY, imCOUNT)
116 {
117  "UNKNOWN",
118  "CT",
119  "MR",
120  "US",
121  "PET",
122  "SC"
123 }
124 DEFINE_ENUM_STRING_CONVERTERS_END(cx, IMAGE_MODALITY, imCOUNT)
125 
126 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, IMAGE_SUBTYPE, istCOUNT)
127 {
128  "UNKNOWN",
129  "",
130  "T1",
131  "T2",
132  "FLAIR",
133  "B-Mode",
134  "Angio",
135  "Segmentation"
136 }
137 DEFINE_ENUM_STRING_CONVERTERS_END(cx, IMAGE_SUBTYPE, istCOUNT)
138 
139 
141 {
142  "UNKNOWN",
143  "Lungs",
144  "Tumors",
145  "Lesions",
146  "Lymph Nodes",
147  "Vena Azygos",
148  "Vena Cava",
149  "Aorta",
150  "Subclavian Artery",
151  "Lung Vessels",
152  "Heart",
153  "Esophagus",
154  "Spine",
155  "Airways",
156  "Centerlines",
157  "Pulmonary Veins",
158  "Pulmonary Trunk",
159  "Medium Organs",
160  "Small Organs",
161  "Nodules"
162 }
DEFINE_ENUM_STRING_CONVERTERS_END(cx, ORIENTATION_TYPE, otCOUNT)
DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, ORIENTATION_TYPE, otCOUNT)
lsCOUNT
Namespace for all CustusX production code.