Fraxinus  16.5.0-fx-rc7
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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,
63  ptCOUNT
64  };
65  enum cxResource_EXPORT FOLLOW_TYPE
66  {
69  ftCOUNT
70  };
73  enum cxResource_EXPORT CLINICAL_VIEW
74  {
77  mdCOUNT
78  };
79 
80  enum cxResource_EXPORT MESSAGE_LEVEL
81  {
83  mlWARNING,
84  mlERROR,
85  mlDEBUG,
86  mlCOUT,
87  mlCERR,
88  mlSUCCESS,
89  mlVOLATILE,
90  mlRAW,
91  mlCOUNT
92  };
93 
94  enum cxResource_EXPORT LOG_SEVERITY
95  {
97  msWARNING,
98  msINFO,
99  msDEBUG,
100  msCOUNT
101  };
102 
103  enum cxResource_EXPORT COORDINATE_SYSTEM
104  {
106  csDATA,
107  csPATIENTREF,
108  csTOOL,
109  csSENSOR,
110  csTOOL_OFFSET,
111  csDATA_VOXEL,
112  csCOUNT
113  };
114 
117  enum cxResource_EXPORT PATIENT_COORDINATE_SYSTEM
118  {
120  pcsRAS,
121  pcsCOUNT
122  };
123 
124 
125  enum cxResource_EXPORT TRACKING_SYSTEM
126  {
128  tsPOLARIS,
132  tsAURORA,
133  tsMICRON,
134  tsCOUNT
135  };
136 
140  enum cxResource_EXPORT REGISTRATION_STATUS
141  {
144  rsPATIENT_REGISTRATED
145  };
146 
147  enum cxResource_EXPORT STEREOTYPE
148  {
150  };
151 
152 
153  /*enum TOOL_TYPE
154  {
155  ttNONE,
156  ttREFERENCE, ///< references
157  ttMANUAL, ///< representation of a mouse/keyboard-controlled virtual tool
158  ttPOINTER, ///< pointers
159  ttUSPROBE, ///< ultrasound probe
160  ttCOUNT
161  };*/
162 
167 } //namespace end
168 
169 //#include "cxDefinitionStrings.h"
170 
171 #endif /*CXDEFINITIONS_H_*/
tsPOLARIS_CLASSIC
NDIs Polaris Classic tracker.
mlSUCCESS
Definition: cxDefinitions.h:82
pcsRAS
Right-Anterior-Superior, used by Slicer3D, ITK-Snap, nifti.
mlVOLATILE
Definition: cxDefinitions.h:82
ptCORONAL
a slice seen from the front of the patient
Definition: cxDefinitions.h:56
mlRAW
Definition: cxDefinitions.h:82
tsNONE
Not specified.
tsPOLARIS
NDIs Polaris tracker.
ftFOLLOW_TOOL
center follows tool
Definition: cxDefinitions.h:67
msDEBUG
Definition: cxDefinitions.h:96
otOBLIQUE
orient planes relative to the tool space
Definition: cxDefinitions.h:50
mdRADIOLOGICAL
Definition: cxDefinitions.h:75
ftFIXED_CENTER
center is set.
Definition: cxDefinitions.h:67
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:82
msINFO
Definition: cxDefinitions.h:96
ptAXIAL
a slice seen from the top of the patient
Definition: cxDefinitions.h:56
stFRAME_SEQUENTIAL
mlDEBUG
Definition: cxDefinitions.h:82
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:96
otORTHOGONAL
orient planes relative to the image/reference space.
Definition: cxDefinitions.h:50
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'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:82
mdNEUROLOGICAL
Definition: cxDefinitions.h:75
stDRESDEN
mlCOUT
Definition: cxDefinitions.h:82
tsMICRON
Claron Technologys Micron tracker.
msWARNING
Definition: cxDefinitions.h:96
mlWARNING
Definition: cxDefinitions.h:82
ptANYPLANE
a plane aligned with the tool base plane
Definition: cxDefinitions.h:56
csTOOL
a tools rspace (t)
mlERROR
Definition: cxDefinitions.h:82
ptSIDEPLANE
z-rotated 90* relative to anyplane (dual anyplane)
Definition: cxDefinitions.h:56
rsIMAGE_REGISTRATED
tsPOLARIS_VICRA
NDIs Polaris Vicra tracker.