CustusX  2022.05.26-dev+develop.ffefb6
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  {
34  otORTHOGONAL,
35  otCOUNT
36  };
37  enum cxResource_EXPORT PLANE_TYPE
38  {
40  ptSAGITTAL,
41  ptCORONAL,
42  ptAXIAL,
43  ptANYPLANE,
45  ptSIDEPLANE,
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  {
68  mlWARNING,
69  mlERROR,
70  mlDEBUG,
71  mlCOUT,
72  mlCERR,
73  mlSUCCESS,
74  mlVOLATILE,
75  mlRAW,
76  mlCOUNT
77  };
78 
79  enum cxResource_EXPORT LOG_SEVERITY
80  {
82  msWARNING,
83  msINFO,
84  msDEBUG,
85  msCOUNT
86  };
87 
88  enum cxResource_EXPORT COORDINATE_SYSTEM
89  {
91  csDATA,
92  csPATIENTREF,
93  csTOOL,
94  csSENSOR,
96  csDATA_VOXEL,
97  csCOUNT
98  };
99 
102  enum cxResource_EXPORT PATIENT_COORDINATE_SYSTEM
103  {
105  pcsRAS,
106  pcsCOUNT
107  };
108 
109 
110  enum cxResource_EXPORT TRACKING_SYSTEM
111  {
113  tsPOLARIS,
117  tsAURORA,
118  tsMICRON,
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  {
152  imCT,
153  imMR,
154  imUS,
155  imPET,
156  imSC,
157  imCOUNT
158  };
159  enum cxResource_EXPORT IMAGE_SUBTYPE
160  {
162  istEMPTY,
163  istMRT1,
164  istMRT2,
165  istMRFLAIR,
166  istUSBMODE,
167  istANGIO,
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.
176  lsTUMORS,
177  lsLESIONS,
180  lsVENA_CAVA,
181  lsAORTA,
184  lsHEART,
185  lsESOPHAGUS,
186  lsSPINE, // Last button. The values below are other kind of structures, not used used in the button list in StructuresSelectionWidget.
187  lsAIRWAYS,
193  lsNODULES,
194  lsCOUNT,
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_*/
tsPOLARIS_CLASSIC
NDIs Polaris Classic tracker.
mlSUCCESS
Definition: cxDefinitions.h:67
pcsRAS
Right-Anterior-Superior, used by Slicer3D, ITK-Snap, nifti, MINC.
lsLYMPH_NODES
lsSMALL_ORGANS
mlVOLATILE
Definition: cxDefinitions.h:67
ptCORONAL
a slice seen from the front of the patient
Definition: cxDefinitions.h:39
lsNODULES
mlRAW
Definition: cxDefinitions.h:67
tsNONE
Not specified.
lsFIRST_STRUCTURE_BUTTON
istMRT1
tsPOLARIS
NDIs Polaris tracker.
ftFOLLOW_TOOL
center follows tool
Definition: cxDefinitions.h:52
msDEBUG
Definition: cxDefinitions.h:81
otOBLIQUE
orient planes relative to the tool space
Definition: cxDefinitions.h:33
mdRADIOLOGICAL
Definition: cxDefinitions.h:60
ftFIXED_CENTER
center is set.
Definition: cxDefinitions.h:52
imMR
imPET
csSENSOR
a tools sensor space (s)
Definition: cxDefinitions.h:90
lsPULMONARY_TRUNK
lsTUMORS
lsPULMONARY_VEINS
istANGIO
lsLUNG_VESSELS
csDATA_VOXEL
the data voxel space (dv)
Definition: cxDefinitions.h:90
istMRFLAIR
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
Definition: cxDefinitions.h:90
mlCERR
Definition: cxDefinitions.h:67
msINFO
Definition: cxDefinitions.h:81
ptAXIAL
a slice seen from the top of the patient
Definition: cxDefinitions.h:39
lsMEDIUM_ORGANS
lsCENTERLINES
stFRAME_SEQUENTIAL
mlDEBUG
Definition: cxDefinitions.h:67
csDATA
a datas space (d)
Definition: cxDefinitions.h:90
imSC
lsVENA_AZYGOS
istUSBMODE
const char * TRACKING_SYSTEM_IMPLEMENTATION_IGSTK
csPATIENTREF
the patient/tool reference space (pr)
Definition: cxDefinitions.h:90
stINTERLACED
tsPOLARIS_SPECTRA
NDIs Polaris Spectra tracker.
ptSAGITTAL
a slice seen from the side of the patient
Definition: cxDefinitions.h:39
msERROR
Definition: cxDefinitions.h:81
lsLUNG
const char * TRACKING_SYSTEM_IMPLEMENTATION_IGTLINK
lsSPINE
otORTHOGONAL
orient planes relative to the image/reference space.
Definition: cxDefinitions.h:33
ptTOOLSIDEPLANE
z-rotated 90* relative to anyplane like side plane, but always kept oriented like the plane defined b...
Definition: cxDefinitions.h:39
istEMPTY
lsESOPHAGUS
lsAIRWAYS
csTOOL_OFFSET
the tool space t with a virtual offset added along the z axis. (to)
Definition: cxDefinitions.h:90
lsSUBCLAVIAN_ARTERY
ptINVERSEANYPLANE
a plane aligned with the tool base plane, inverse of tool direction
Definition: cxDefinitions.h:39
rsNOT_REGISTRATED
istSEGMENTATION
pcsLPS
Left-Posterior-Superior, used internally by CustusX, also DICOM, ITK.
istMRT2
lsLESIONS
ptRADIALPLANE
y-rotated 90* relative to anyplane (bird&#39;s view)
Definition: cxDefinitions.h:39
ptNOPLANE
a initial plane, if no yet set
Definition: cxDefinitions.h:39
tsAURORA
NDIs Aurora tracker.
mlINFO
Definition: cxDefinitions.h:67
imUNKNOWN
imUS
lsHEART
mdNEUROLOGICAL
Definition: cxDefinitions.h:60
stDRESDEN
mlCOUT
Definition: cxDefinitions.h:67
tsMICRON
Claron Technologys Micron tracker.
msWARNING
Definition: cxDefinitions.h:81
mlWARNING
Definition: cxDefinitions.h:67
ptANYPLANE
a plane aligned with the tool base plane
Definition: cxDefinitions.h:39
imCT
csTOOL
a tools rspace (t)
Definition: cxDefinitions.h:90
lsAORTA
mlERROR
Definition: cxDefinitions.h:67
lsVENA_CAVA
lsCOUNT
lsUNKNOWN
istUNKNOWN
ptSIDEPLANE
z-rotated 90* relative to anyplane (dual anyplane)
Definition: cxDefinitions.h:39
rsIMAGE_REGISTRATED
Namespace for all CustusX production code.
tsPOLARIS_VICRA
NDIs Polaris Vicra tracker.