CustusX  15.3.4-beta
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 
46  enum cxResource_EXPORT ORIENTATION_TYPE
47  {
49  otORTHOGONAL,
50  otCOUNT
51  };
52  enum cxResource_EXPORT PLANE_TYPE
53  {
55  ptSAGITTAL,
56  ptCORONAL,
57  ptAXIAL,
58  ptANYPLANE,
59  ptSIDEPLANE,
61  ptCOUNT
62  };
63  enum cxResource_EXPORT FOLLOW_TYPE
64  {
67  ftCOUNT
68  };
71  enum cxResource_EXPORT CLINICAL_VIEW
72  {
75  mdCOUNT
76  };
77 
78  enum cxResource_EXPORT MESSAGE_LEVEL
79  {
81  mlWARNING,
82  mlERROR,
83  mlDEBUG,
84  mlCOUT,
85  mlCERR,
86  mlSUCCESS,
87  mlVOLATILE,
88  mlRAW,
89  mlCOUNT
90  };
91 
92  enum cxResource_EXPORT LOG_SEVERITY
93  {
95  msWARNING,
96  msINFO,
97  msDEBUG,
98  msCOUNT
99  };
100 
101  enum cxResource_EXPORT COORDINATE_SYSTEM
102  {
104  csDATA,
105  csPATIENTREF,
106  csTOOL,
107  csSENSOR,
108  csTOOL_OFFSET,
109  csDATA_VOXEL,
110  csCOUNT
111  };
112 
113  enum cxResource_EXPORT TRACKING_SYSTEM
114  {
116  tsPOLARIS,
120  tsAURORA,
121  tsMICRON,
122  tsCOUNT
123  };
124 
128  enum cxResource_EXPORT REGISTRATION_STATUS
129  {
132  rsPATIENT_REGISTRATED
133  };
134 
135  enum cxResource_EXPORT STEREOTYPE
136  {
138  };
139 
140 
141  /*enum TOOL_TYPE
142  {
143  ttNONE,
144  ttREFERENCE, ///< references
145  ttMANUAL, ///< representation of a mouse/keyboard-controlled virtual tool
146  ttPOINTER, ///< pointers
147  ttUSPROBE, ///< ultrasound probe
148  ttCOUNT
149  };*/
150 
155 } //namespace end
156 
157 //#include "cxDefinitionStrings.h"
158 
159 #endif /*CXDEFINITIONS_H_*/
tsPOLARIS_CLASSIC
NDIs Polaris Classic tracker.
mlSUCCESS
Definition: cxDefinitions.h:80
mlVOLATILE
Definition: cxDefinitions.h:80
ptCORONAL
a slice seen from the front of the patient
Definition: cxDefinitions.h:54
mlRAW
Definition: cxDefinitions.h:80
tsNONE
Not specified.
tsPOLARIS
NDIs Polaris tracker.
ftFOLLOW_TOOL
center follows tool
Definition: cxDefinitions.h:65
msDEBUG
Definition: cxDefinitions.h:94
otOBLIQUE
orient planes relative to the tool space
Definition: cxDefinitions.h:48
mdRADIOLOGICAL
Definition: cxDefinitions.h:73
ftFIXED_CENTER
center is set.
Definition: cxDefinitions.h:65
csSENSOR
a tools sensor space (s)
csDATA_VOXEL
the data voxel space (dv)
csREF
the data reference space (r)
mlCERR
Definition: cxDefinitions.h:80
msINFO
Definition: cxDefinitions.h:94
ptAXIAL
a slice seen from the top of the patient
Definition: cxDefinitions.h:54
stFRAME_SEQUENTIAL
mlDEBUG
Definition: cxDefinitions.h:80
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:54
msERROR
Definition: cxDefinitions.h:94
otORTHOGONAL
orient planes relative to the image/reference space.
Definition: cxDefinitions.h:48
csTOOL_OFFSET
the tool space t with a virtual offset added along the z axis. (to)
rsNOT_REGISTRATED
ptRADIALPLANE
y-rotated 90* relative to anyplane (bird's view)
Definition: cxDefinitions.h:54
ptNOPLANE
a initial plane, if no yet set
Definition: cxDefinitions.h:54
tsAURORA
NDIs Aurora tracker.
mlINFO
Definition: cxDefinitions.h:80
mdNEUROLOGICAL
Definition: cxDefinitions.h:73
stDRESDEN
mlCOUT
Definition: cxDefinitions.h:80
tsMICRON
Claron Technologys Micron tracker.
msWARNING
Definition: cxDefinitions.h:94
mlWARNING
Definition: cxDefinitions.h:80
ptANYPLANE
a plane aligned with the tool base plane
Definition: cxDefinitions.h:54
csTOOL
a tools rspace (t)
mlERROR
Definition: cxDefinitions.h:80
ptSIDEPLANE
z-rotated 90* relative to anyplane (dual anyplane)
Definition: cxDefinitions.h:54
rsIMAGE_REGISTRATED
tsPOLARIS_VICRA
NDIs Polaris Vicra tracker.