CustusX  18.04
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 
17 namespace cx
18 {
19 
25 #define TRACKING_SYSTEM_IMPLEMENTATION_IGSTK "igstk"
26 #define TRACKING_SYSTEM_IMPLEMENTATION_IGTLINK "openigtlink"
27 
30  enum cxResource_EXPORT ORIENTATION_TYPE
31  {
33  otORTHOGONAL,
34  otCOUNT
35  };
36  enum cxResource_EXPORT PLANE_TYPE
37  {
39  ptSAGITTAL,
40  ptCORONAL,
41  ptAXIAL,
42  ptANYPLANE,
43  ptSIDEPLANE,
46  ptCOUNT
47  };
48  enum cxResource_EXPORT FOLLOW_TYPE
49  {
52  ftCOUNT
53  };
56  enum cxResource_EXPORT CLINICAL_VIEW
57  {
60  mdCOUNT
61  };
62 
63  enum cxResource_EXPORT MESSAGE_LEVEL
64  {
66  mlWARNING,
67  mlERROR,
68  mlDEBUG,
69  mlCOUT,
70  mlCERR,
71  mlSUCCESS,
72  mlVOLATILE,
73  mlRAW,
74  mlCOUNT
75  };
76 
77  enum cxResource_EXPORT LOG_SEVERITY
78  {
80  msWARNING,
81  msINFO,
82  msDEBUG,
83  msCOUNT
84  };
85 
86  enum cxResource_EXPORT COORDINATE_SYSTEM
87  {
89  csDATA,
90  csPATIENTREF,
91  csTOOL,
92  csSENSOR,
94  csDATA_VOXEL,
95  csCOUNT
96  };
97 
100  enum cxResource_EXPORT PATIENT_COORDINATE_SYSTEM
101  {
103  pcsRAS,
104  pcsCOUNT
105  };
106 
107 
108  enum cxResource_EXPORT TRACKING_SYSTEM
109  {
111  tsPOLARIS,
115  tsAURORA,
116  tsMICRON,
117 // tsOPENIGTLINK, ///< Tracking through OpenIGTLink
118  tsCOUNT
119  };
120 
124  enum cxResource_EXPORT REGISTRATION_STATUS
125  {
128  rsPATIENT_REGISTRATED
129  };
130 
131  enum cxResource_EXPORT STEREOTYPE
132  {
134  };
135 
136 
137  /*enum TOOL_TYPE
138  {
139  ttNONE,
140  ttREFERENCE, ///< references
141  ttMANUAL, ///< representation of a mouse/keyboard-controlled virtual tool
142  ttPOINTER, ///< pointers
143  ttUSPROBE, ///< ultrasound probe
144  ttCOUNT
145  };*/
146 
151 } //namespace end
152 
153 //#include "cxDefinitionStrings.h"
154 
155 #endif /*CXDEFINITIONS_H_*/
tsPOLARIS_CLASSIC
NDIs Polaris Classic tracker.
mlSUCCESS
Definition: cxDefinitions.h:65
pcsRAS
Right-Anterior-Superior, used by Slicer3D, ITK-Snap, nifti, MINC.
mlVOLATILE
Definition: cxDefinitions.h:65
ptCORONAL
a slice seen from the front of the patient
Definition: cxDefinitions.h:38
mlRAW
Definition: cxDefinitions.h:65
tsNONE
Not specified.
tsPOLARIS
NDIs Polaris tracker.
ftFOLLOW_TOOL
center follows tool
Definition: cxDefinitions.h:50
msDEBUG
Definition: cxDefinitions.h:79
otOBLIQUE
orient planes relative to the tool space
Definition: cxDefinitions.h:32
mdRADIOLOGICAL
Definition: cxDefinitions.h:58
ftFIXED_CENTER
center is set.
Definition: cxDefinitions.h:50
csSENSOR
a tools sensor space (s)
Definition: cxDefinitions.h:88
csDATA_VOXEL
the data voxel space (dv)
Definition: cxDefinitions.h:88
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
Definition: cxDefinitions.h:88
mlCERR
Definition: cxDefinitions.h:65
msINFO
Definition: cxDefinitions.h:79
ptAXIAL
a slice seen from the top of the patient
Definition: cxDefinitions.h:38
stFRAME_SEQUENTIAL
mlDEBUG
Definition: cxDefinitions.h:65
csDATA
a datas space (d)
Definition: cxDefinitions.h:88
csPATIENTREF
the patient/tool reference space (pr)
Definition: cxDefinitions.h:88
stINTERLACED
tsPOLARIS_SPECTRA
NDIs Polaris Spectra tracker.
ptSAGITTAL
a slice seen from the side of the patient
Definition: cxDefinitions.h:38
msERROR
Definition: cxDefinitions.h:79
otORTHOGONAL
orient planes relative to the image/reference space.
Definition: cxDefinitions.h:32
ptTOOLSIDEPLANE
z-rotated 90* relative to anyplane like side plane, but always kept oriented like the plane defined b...
Definition: cxDefinitions.h:38
csTOOL_OFFSET
the tool space t with a virtual offset added along the z axis. (to)
Definition: cxDefinitions.h:88
rsNOT_REGISTRATED
pcsLPS
Left-Posterior-Superior, used internally by CustusX, also DICOM, ITK.
ptRADIALPLANE
y-rotated 90* relative to anyplane (bird&#39;s view)
Definition: cxDefinitions.h:38
ptNOPLANE
a initial plane, if no yet set
Definition: cxDefinitions.h:38
tsAURORA
NDIs Aurora tracker.
mlINFO
Definition: cxDefinitions.h:65
mdNEUROLOGICAL
Definition: cxDefinitions.h:58
stDRESDEN
mlCOUT
Definition: cxDefinitions.h:65
tsMICRON
Claron Technologys Micron tracker.
msWARNING
Definition: cxDefinitions.h:79
mlWARNING
Definition: cxDefinitions.h:65
ptANYPLANE
a plane aligned with the tool base plane
Definition: cxDefinitions.h:38
csTOOL
a tools rspace (t)
Definition: cxDefinitions.h:88
mlERROR
Definition: cxDefinitions.h:65
ptSIDEPLANE
z-rotated 90* relative to anyplane (dual anyplane)
Definition: cxDefinitions.h:38
rsIMAGE_REGISTRATED
Namespace for all CustusX production code.
tsPOLARIS_VICRA
NDIs Polaris Vicra tracker.