CustusX  22.04-rc3
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 }
31 DEFINE_ENUM_STRING_CONVERTERS_END(cx, PLANE_TYPE, ptCOUNT)
32 
34 {
35  "Follow tool",
36  "Fixed center"
37 }
38 DEFINE_ENUM_STRING_CONVERTERS_END(cx, FOLLOW_TYPE, ftCOUNT)
39 
40 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, CLINICAL_VIEW, mdCOUNT)
41 {
42  "Neurological",
43  "Radiological",
44 }
45 DEFINE_ENUM_STRING_CONVERTERS_END(cx, CLINICAL_VIEW, mdCOUNT)
46 
47 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, MESSAGE_LEVEL, mlCOUNT)
48 {
49  "INFO",
50  "WARNING",
51  "ERROR",
52  "DEBUG",
53  "COUT",
54  "CERR",
55  "SUCCESS",
56  "STATUS",
57  "RAW"
58 }
59 DEFINE_ENUM_STRING_CONVERTERS_END(cx, MESSAGE_LEVEL, mlCOUNT)
60 
61 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, LOG_SEVERITY, msCOUNT)
62 {
63  "ERROR",
64  "WARNING",
65  "INFO",
66  "DEBUG"
67 }
68 DEFINE_ENUM_STRING_CONVERTERS_END(cx, LOG_SEVERITY, msCOUNT)
69 
70 
71 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, PATIENT_COORDINATE_SYSTEM, pcsCOUNT)
72 {
73  "LPS",
74  "RAS"
75 }
76 DEFINE_ENUM_STRING_CONVERTERS_END(cx, PATIENT_COORDINATE_SYSTEM, pcsCOUNT)
77 
78 
79 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, COORDINATE_SYSTEM, csCOUNT)
80 {
81  "reference",
82  "data",
83  "patient reference",
84  "tool",
85  "sensor",
86  "tool offset",
87  "voxel"
88 }
89 DEFINE_ENUM_STRING_CONVERTERS_END(cx, COORDINATE_SYSTEM, csCOUNT)
90 
91 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, TRACKING_SYSTEM, tsCOUNT)
92 {
93  "none",
94  "polaris",
95  "polaris spectra",
96  "polaris vicra",
97  "polaris classic",
98  "aurora",
99  "micron"
100 }
101 DEFINE_ENUM_STRING_CONVERTERS_END(cx, TRACKING_SYSTEM, tsCOUNT)
102 
103 /*DEFINE_ENUM_STRING_CONVERTERS_BEGIN(ssc, TOOL_TYPE, ttCOUNT)
104 {
105  "none",
106  "reference",
107  "manual",
108  "pointer",
109  "usprobe"
110 }
111 DEFINE_ENUM_STRING_CONVERTERS_END(ssc, TOOL_TYPE, ttCOUNT)*/
112 
113 
114 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, IMAGE_MODALITY, imCOUNT)
115 {
116  "UNKNOWN",
117  "CT",
118  "MR",
119  "US",
120  "PET",
121  "SC"
122 }
123 DEFINE_ENUM_STRING_CONVERTERS_END(cx, IMAGE_MODALITY, imCOUNT)
124 
125 DEFINE_ENUM_STRING_CONVERTERS_BEGIN(cx, IMAGE_SUBTYPE, istCOUNT)
126 {
127  "UNKNOWN",
128  "",
129  "T1",
130  "T2",
131  "FLAIR",
132  "B-Mode",
133  "Angio",
134  "Segmentation"
135 }
136 DEFINE_ENUM_STRING_CONVERTERS_END(cx, IMAGE_SUBTYPE, istCOUNT)
137 
138 
140 {
141  "UNKNOWN",
142  "Lungs",
143  "Tumors",
144  "Lesions",
145  "Lymph Nodes",
146  "Vena Azygos",
147  "Vena Cava",
148  "Aorta",
149  "Subclavian Artery",
150  "Lung Vessels",
151  "Heart",
152  "Esophagus",
153  "Spine",
154  "Airways",
155  "Centerlines",
156  "Pulmonary Veins",
157  "Pulmonary Trunk",
158  "Medium Organs",
159  "Small Organs",
160  "Nodules"
161 }
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.