Fraxinus  17.12-rc1
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) 2008-2014, SINTEF Department of Medical Technology
5 All rights reserved.
6 
7 Redistribution and use in source and binary forms, with or without
8 modification, are permitted provided that the following conditions are met:
9 
10 1. Redistributions of source code must retain the above copyright notice,
11  this list of conditions and the following disclaimer.
12 
13 2. Redistributions in binary form must reproduce the above copyright notice,
14  this list of conditions and the following disclaimer in the documentation
15  and/or other materials provided with the distribution.
16 
17 3. Neither the name of the copyright holder nor the names of its contributors
18  may be used to endorse or promote products derived from this software
19  without specific prior written permission.
20 
21 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 =========================================================================*/
32 
33 #ifndef CXDEFINITIONS_H_
34 #define CXDEFINITIONS_H_
35 
36 #include "cxResourceExport.h"
37 
38 namespace cx
39 {
40 
48  enum cxResource_EXPORT ORIENTATION_TYPE
49  {
51  otORTHOGONAL,
52  otCOUNT
53  };
54  enum cxResource_EXPORT PLANE_TYPE
55  {
57  ptSAGITTAL,
58  ptCORONAL,
59  ptAXIAL,
60  ptANYPLANE,
61  ptSIDEPLANE,
64  ptCOUNT
65  };
66  enum cxResource_EXPORT FOLLOW_TYPE
67  {
70  ftCOUNT
71  };
74  enum cxResource_EXPORT CLINICAL_VIEW
75  {
78  mdCOUNT
79  };
80 
81  enum cxResource_EXPORT MESSAGE_LEVEL
82  {
84  mlWARNING,
85  mlERROR,
86  mlDEBUG,
87  mlCOUT,
88  mlCERR,
89  mlSUCCESS,
90  mlVOLATILE,
91  mlRAW,
92  mlCOUNT
93  };
94 
95  enum cxResource_EXPORT LOG_SEVERITY
96  {
98  msWARNING,
99  msINFO,
100  msDEBUG,
101  msCOUNT
102  };
103 
104  enum cxResource_EXPORT COORDINATE_SYSTEM
105  {
107  csDATA,
108  csPATIENTREF,
109  csTOOL,
110  csSENSOR,
111  csTOOL_OFFSET,
112  csDATA_VOXEL,
113  csCOUNT
114  };
115 
118  enum cxResource_EXPORT PATIENT_COORDINATE_SYSTEM
119  {
121  pcsRAS,
122  pcsCOUNT
123  };
124 
125 
126  enum cxResource_EXPORT TRACKING_SYSTEM
127  {
129  tsPOLARIS,
133  tsAURORA,
134  tsMICRON,
135  tsCOUNT
136  };
137 
141  enum cxResource_EXPORT REGISTRATION_STATUS
142  {
145  rsPATIENT_REGISTRATED
146  };
147 
148  enum cxResource_EXPORT STEREOTYPE
149  {
151  };
152 
153 
154  /*enum TOOL_TYPE
155  {
156  ttNONE,
157  ttREFERENCE, ///< references
158  ttMANUAL, ///< representation of a mouse/keyboard-controlled virtual tool
159  ttPOINTER, ///< pointers
160  ttUSPROBE, ///< ultrasound probe
161  ttCOUNT
162  };*/
163 
168 } //namespace end
169 
170 //#include "cxDefinitionStrings.h"
171 
172 #endif /*CXDEFINITIONS_H_*/
tsPOLARIS_CLASSIC
NDIs Polaris Classic tracker.
mlSUCCESS
Definition: cxDefinitions.h:83
pcsRAS
Right-Anterior-Superior, used by Slicer3D, ITK-Snap, nifti, MINC.
mlVOLATILE
Definition: cxDefinitions.h:83
ptCORONAL
a slice seen from the front of the patient
Definition: cxDefinitions.h:56
mlRAW
Definition: cxDefinitions.h:83
tsNONE
Not specified.
tsPOLARIS
NDIs Polaris tracker.
ftFOLLOW_TOOL
center follows tool
Definition: cxDefinitions.h:68
msDEBUG
Definition: cxDefinitions.h:97
otOBLIQUE
orient planes relative to the tool space
Definition: cxDefinitions.h:50
mdRADIOLOGICAL
Definition: cxDefinitions.h:76
ftFIXED_CENTER
center is set.
Definition: cxDefinitions.h:68
csSENSOR
a tools sensor space (s)
csDATA_VOXEL
the data voxel space (dv)
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
mlCERR
Definition: cxDefinitions.h:83
msINFO
Definition: cxDefinitions.h:97
ptAXIAL
a slice seen from the top of the patient
Definition: cxDefinitions.h:56
stFRAME_SEQUENTIAL
mlDEBUG
Definition: cxDefinitions.h:83
csDATA
a datas space (d)
csPATIENTREF
the patient/tool reference space (pr)
stINTERLACED
tsPOLARIS_SPECTRA
NDIs Polaris Spectra tracker.
ptSAGITTAL
a slice seen from the side of the patient
Definition: cxDefinitions.h:56
msERROR
Definition: cxDefinitions.h:97
otORTHOGONAL
orient planes relative to the image/reference space.
Definition: cxDefinitions.h:50
ptTOOLSIDEPLANE
z-rotated 90* relative to anyplane like side plane, but always kept oriented like the plane defined b...
Definition: cxDefinitions.h:56
csTOOL_OFFSET
the tool space t with a virtual offset added along the z axis. (to)
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:56
ptNOPLANE
a initial plane, if no yet set
Definition: cxDefinitions.h:56
tsAURORA
NDIs Aurora tracker.
mlINFO
Definition: cxDefinitions.h:83
mdNEUROLOGICAL
Definition: cxDefinitions.h:76
stDRESDEN
mlCOUT
Definition: cxDefinitions.h:83
tsMICRON
Claron Technologys Micron tracker.
msWARNING
Definition: cxDefinitions.h:97
mlWARNING
Definition: cxDefinitions.h:83
ptANYPLANE
a plane aligned with the tool base plane
Definition: cxDefinitions.h:56
csTOOL
a tools rspace (t)
mlERROR
Definition: cxDefinitions.h:83
ptSIDEPLANE
z-rotated 90* relative to anyplane (dual anyplane)
Definition: cxDefinitions.h:56
rsIMAGE_REGISTRATED
Namespace for all CustusX production code.
tsPOLARIS_VICRA
NDIs Polaris Vicra tracker.