NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxDefinitions.h
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 
12 #ifndef CXDEFINITIONS_H_
13 #define CXDEFINITIONS_H_
14 
15 #include "cxResourceExport.h"
16 #include <QString>
17 
18 namespace cx
19 {
20 
26 extern cxResource_EXPORT const char* TRACKING_SYSTEM_IMPLEMENTATION_IGSTK;
27 extern cxResource_EXPORT const char* TRACKING_SYSTEM_IMPLEMENTATION_IGTLINK;
28 
31  enum cxResource_EXPORT ORIENTATION_TYPE
32  {
35  otCOUNT
36  };
37  enum cxResource_EXPORT PLANE_TYPE
38  {
48  ptCOUNT
49  };
50  enum cxResource_EXPORT FOLLOW_TYPE
51  {
54  ftCOUNT
55  };
58  enum cxResource_EXPORT CLINICAL_VIEW
59  {
62  mdCOUNT
63  };
64 
65  enum cxResource_EXPORT MESSAGE_LEVEL
66  {
76  mlCOUNT
77  };
78 
79  enum cxResource_EXPORT LOG_SEVERITY
80  {
85  msCOUNT
86  };
87 
88  enum cxResource_EXPORT COORDINATE_SYSTEM
89  {
97  csCOUNT
98  };
99 
102  enum cxResource_EXPORT PATIENT_COORDINATE_SYSTEM
103  {
106  pcsCOUNT
107  };
108 
109 
110  enum cxResource_EXPORT TRACKING_SYSTEM
111  {
119 // tsOPENIGTLINK, ///< Tracking through OpenIGTLink
120  tsCOUNT
121  };
122 
126  enum cxResource_EXPORT REGISTRATION_STATUS
127  {
130  rsPATIENT_REGISTRATED
131  };
132 
133  enum cxResource_EXPORT STEREOTYPE
134  {
136  };
137 
138 
139  /*enum TOOL_TYPE
140  {
141  ttNONE,
142  ttREFERENCE, ///< references
143  ttMANUAL, ///< representation of a mouse/keyboard-controlled virtual tool
144  ttPOINTER, ///< pointers
145  ttUSPROBE, ///< ultrasound probe
146  ttCOUNT
147  };*/
148 
149  enum cxResource_EXPORT IMAGE_MODALITY
150  {
157  imCOUNT
158  };
159  enum cxResource_EXPORT IMAGE_SUBTYPE
160  {
169  istCOUNT
170  };
171 
172  enum cxResource_EXPORT LUNG_STRUCTURES
173  {
175  lsLUNG, // The following enums are used for as buttons in StructuresSelectionWidget. lsLUNG is the first button.
186  lsSPINE, // Last button. The values below are other kind of structures, not used used in the button list in StructuresSelectionWidget.
196  lsLAST_STRUCTURE_BUTTON = lsSPINE
197  };
198 
204  static QString airwaysFilterGetNameSuffixCenterline()
205  {
206  return "_centerline";
207  }
208 
209  static QString airwaysFilterGetNameSuffixAirways()
210  {
211  return "_airways";
212  }
213 
214  static QString airwaysFilterGetNameSuffixTubes()
215  {
216  return "_tubes";
217  }
218 
219  static QString airwaysFilterGetNameSuffixColored()
220  {
221  return "_colored";
222  }
223 
224  static QString airwaysFilterGetNameSuffixLungs()
225  {
226  return "_lungs";
227  }
228 
229  static QString airwaysFilterGetNameSuffixLungVessels()
230  {
231  return "_lung_vessels";
232  }
233 
234  static QString airwaysFilterGetNameSuffixVolume()
235  {
236  return "_volume";
237  }
238 
239 } //namespace end
240 
241 //#include "cxDefinitionStrings.h"
242 
243 #endif /*CXDEFINITIONS_H_*/
csSENSOR
csSENSOR
a tools sensor space (s)
Definition: cxDefinitions.h:94
ptTOOLSIDEPLANE
ptTOOLSIDEPLANE
z-rotated 90* relative to anyplane like side plane, but always kept oriented like the plane defined b...
Definition: cxDefinitions.h:46
lsSPINE
lsSPINE
Definition: cxDefinitions.h:186
pcsRAS
pcsRAS
Right-Anterior-Superior, used by Slicer3D, ITK-Snap, nifti, MINC.
Definition: cxDefinitions.h:105
istEMPTY
istEMPTY
Definition: cxDefinitions.h:162
imMR
imMR
Definition: cxDefinitions.h:153
mlDEBUG
mlDEBUG
Definition: cxDefinitions.h:70
cx::TRACKING_SYSTEM_IMPLEMENTATION_IGSTK
const char * TRACKING_SYSTEM_IMPLEMENTATION_IGSTK
Definition: cxDefinitions.cpp:16
lsLUNG
lsLUNG
Definition: cxDefinitions.h:175
rsNOT_REGISTRATED
rsNOT_REGISTRATED
Definition: cxDefinitions.h:128
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
lsCOUNT
lsCOUNT
Definition: cxDefinitions.h:194
mdNEUROLOGICAL
mdNEUROLOGICAL
Definition: cxDefinitions.h:60
lsAORTA
lsAORTA
Definition: cxDefinitions.h:181
lsLESIONS
lsLESIONS
Definition: cxDefinitions.h:177
lsAIRWAYS
lsAIRWAYS
Definition: cxDefinitions.h:187
msINFO
msINFO
Definition: cxDefinitions.h:83
lsFIRST_STRUCTURE_BUTTON
lsFIRST_STRUCTURE_BUTTON
Definition: cxDefinitions.h:195
lsUNKNOWN
lsUNKNOWN
Definition: cxDefinitions.h:174
csDATA
csDATA
a datas space (d)
Definition: cxDefinitions.h:91
csTOOL_OFFSET
csTOOL_OFFSET
the tool space t with a virtual offset added along the z axis. (to)
Definition: cxDefinitions.h:95
tsPOLARIS
tsPOLARIS
NDIs Polaris tracker.
Definition: cxDefinitions.h:113
ptINVERSEANYPLANE
ptINVERSEANYPLANE
a plane aligned with the tool base plane, inverse of tool direction
Definition: cxDefinitions.h:47
pcsLPS
pcsLPS
Left-Posterior-Superior, used internally by CustusX, also DICOM, ITK.
Definition: cxDefinitions.h:104
imUNKNOWN
imUNKNOWN
Definition: cxDefinitions.h:151
tsPOLARIS_SPECTRA
tsPOLARIS_SPECTRA
NDIs Polaris Spectra tracker.
Definition: cxDefinitions.h:114
cx::TRACKING_SYSTEM_IMPLEMENTATION_IGTLINK
const char * TRACKING_SYSTEM_IMPLEMENTATION_IGTLINK
Definition: cxDefinitions.cpp:17
mlRAW
mlRAW
Definition: cxDefinitions.h:75
lsPULMONARY_TRUNK
lsPULMONARY_TRUNK
Definition: cxDefinitions.h:190
istUNKNOWN
istUNKNOWN
Definition: cxDefinitions.h:161
lsTUMORS
lsTUMORS
Definition: cxDefinitions.h:176
tsPOLARIS_CLASSIC
tsPOLARIS_CLASSIC
NDIs Polaris Classic tracker.
Definition: cxDefinitions.h:116
istMRT2
istMRT2
Definition: cxDefinitions.h:164
msERROR
msERROR
Definition: cxDefinitions.h:81
csDATA_VOXEL
csDATA_VOXEL
the data voxel space (dv)
Definition: cxDefinitions.h:96
imUS
imUS
Definition: cxDefinitions.h:154
csTOOL
csTOOL
a tools rspace (t)
Definition: cxDefinitions.h:93
lsVENA_CAVA
lsVENA_CAVA
Definition: cxDefinitions.h:180
imPET
imPET
Definition: cxDefinitions.h:155
csREF
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
Definition: cxDefinitions.h:90
lsLYMPH_NODES
lsLYMPH_NODES
Definition: cxDefinitions.h:178
tsMICRON
tsMICRON
Claron Technologys Micron tracker.
Definition: cxDefinitions.h:118
ptRADIALPLANE
ptRADIALPLANE
y-rotated 90* relative to anyplane (bird's view)
Definition: cxDefinitions.h:45
ptCORONAL
ptCORONAL
a slice seen from the front of the patient
Definition: cxDefinitions.h:41
imSC
imSC
Definition: cxDefinitions.h:156
lsNODULES
lsNODULES
Definition: cxDefinitions.h:193
mlCOUT
mlCOUT
Definition: cxDefinitions.h:71
ftFIXED_CENTER
ftFIXED_CENTER
center is set.
Definition: cxDefinitions.h:53
ftFOLLOW_TOOL
ftFOLLOW_TOOL
center follows tool
Definition: cxDefinitions.h:52
mlVOLATILE
mlVOLATILE
Definition: cxDefinitions.h:74
tsPOLARIS_VICRA
tsPOLARIS_VICRA
NDIs Polaris Vicra tracker.
Definition: cxDefinitions.h:115
otORTHOGONAL
otORTHOGONAL
orient planes relative to the image/reference space.
Definition: cxDefinitions.h:34
mlERROR
mlERROR
Definition: cxDefinitions.h:69
stFRAME_SEQUENTIAL
stFRAME_SEQUENTIAL
Definition: cxDefinitions.h:135
lsMEDIUM_ORGANS
lsMEDIUM_ORGANS
Definition: cxDefinitions.h:191
mlWARNING
mlWARNING
Definition: cxDefinitions.h:68
stINTERLACED
stINTERLACED
Definition: cxDefinitions.h:135
imCT
imCT
Definition: cxDefinitions.h:152
otOBLIQUE
otOBLIQUE
orient planes relative to the tool space
Definition: cxDefinitions.h:33
ptANYPLANE
ptANYPLANE
a plane aligned with the tool base plane
Definition: cxDefinitions.h:43
mlCERR
mlCERR
Definition: cxDefinitions.h:72
istMRFLAIR
istMRFLAIR
Definition: cxDefinitions.h:165
mdRADIOLOGICAL
mdRADIOLOGICAL
Definition: cxDefinitions.h:61
lsPULMONARY_VEINS
lsPULMONARY_VEINS
Definition: cxDefinitions.h:189
msWARNING
msWARNING
Definition: cxDefinitions.h:82
tsAURORA
tsAURORA
NDIs Aurora tracker.
Definition: cxDefinitions.h:117
istANGIO
istANGIO
Definition: cxDefinitions.h:167
lsCENTERLINES
lsCENTERLINES
Definition: cxDefinitions.h:188
lsLUNG_VESSELS
lsLUNG_VESSELS
Definition: cxDefinitions.h:183
lsSMALL_ORGANS
lsSMALL_ORGANS
Definition: cxDefinitions.h:192
mlSUCCESS
mlSUCCESS
Definition: cxDefinitions.h:73
ptAXIAL
ptAXIAL
a slice seen from the top of the patient
Definition: cxDefinitions.h:42
mlINFO
mlINFO
Definition: cxDefinitions.h:67
lsVENA_AZYGOS
lsVENA_AZYGOS
Definition: cxDefinitions.h:179
ptNOPLANE
ptNOPLANE
a initial plane, if no yet set
Definition: cxDefinitions.h:39
istMRT1
istMRT1
Definition: cxDefinitions.h:163
msDEBUG
msDEBUG
Definition: cxDefinitions.h:84
stDRESDEN
stDRESDEN
Definition: cxDefinitions.h:135
ptSAGITTAL
ptSAGITTAL
a slice seen from the side of the patient
Definition: cxDefinitions.h:40
lsSUBCLAVIAN_ARTERY
lsSUBCLAVIAN_ARTERY
Definition: cxDefinitions.h:182
csPATIENTREF
csPATIENTREF
the patient/tool reference space (pr)
Definition: cxDefinitions.h:92
istSEGMENTATION
istSEGMENTATION
Definition: cxDefinitions.h:168
ptSIDEPLANE
ptSIDEPLANE
z-rotated 90* relative to anyplane (dual anyplane)
Definition: cxDefinitions.h:44
tsNONE
tsNONE
Not specified.
Definition: cxDefinitions.h:112
rsIMAGE_REGISTRATED
rsIMAGE_REGISTRATED
Definition: cxDefinitions.h:129
lsESOPHAGUS
lsESOPHAGUS
Definition: cxDefinitions.h:185
lsHEART
lsHEART
Definition: cxDefinitions.h:184
istUSBMODE
istUSBMODE
Definition: cxDefinitions.h:166