Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
mitkIpTypes.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 1993-2000, Div. Medical and Biological Informatics,
4
Deutsches Krebsforschungszentrum, Heidelberg, Germany
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
- Redistributions of source code must retain the above copyright notice, this
11
list of conditions and the following disclaimer.
12
13
- 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
- All advertising materials mentioning features or use of this software must
18
display the following acknowledgement:
19
20
"This product includes software developed by the Div. Medical and
21
Biological Informatics, Deutsches Krebsforschungszentrum, Heidelberg,
22
Germany."
23
24
- Neither the name of the Deutsches Krebsforschungszentrum nor the names of
25
its contributors may be used to endorse or promote products derived from
26
this software without specific prior written permission.
27
28
THIS SOFTWARE IS PROVIDED BY THE DIVISION MEDICAL AND BIOLOGICAL
29
INFORMATICS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
30
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
31
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
32
IN NO EVENT SHALL THE DIVISION MEDICAL AND BIOLOGICAL INFORMATICS,
33
THE DEUTSCHES KREBSFORSCHUNGSZENTRUM OR CONTRIBUTORS BE LIABLE FOR
34
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
35
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
36
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
37
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
38
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
39
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
40
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
42
Send comments and/or bug reports to:
43
mbi-software@dkfz-heidelberg.de
44
45
*****************************************************************************/
46
47
48
/*
49
* $RCSfile$
50
*--------------------------------------------------------------------
51
* DESCRIPTION
52
* defines the ipTypes
53
*
54
*--------------------------------------------------------------------
55
* COPYRIGHT (c) 1994 by DKFZ (Dept. MBI) Heidelberg, FRG
56
*/
57
58
#ifndef _mitkIpTypes_h
59
#define _mitkIpTypes_h
60
61
#if defined (__mips) || (_IBMR2) || (sun) || (__i386__) || (__convex__) || (__alpha) || (__hppa) || (WIN32) || (_WIN32) || defined (__PPC__) || defined (__x86_64__) || defined (__APPLE__)
62
typedef
signed
char
mitkIpInt1_t;
63
typedef
signed
short
mitkIpInt2_t;
64
typedef
signed
int
mitkIpInt4_t;
65
typedef
unsigned
char
mitkIpUInt1_t;
66
typedef
unsigned
short
mitkIpUInt2_t;
67
typedef
unsigned
int
mitkIpUInt4_t;
68
typedef
float
mitkIpFloat4_t;
69
typedef
double
mitkIpFloat8_t;
70
#endif
71
72
#ifdef DOS
73
typedef
signed
char
mitkIpInt1_t;
74
typedef
signed
int
mitkIpInt2_t;
75
typedef
signed
long
int
mitkIpInt4_t;
76
typedef
unsigned
char
mitkIpUInt1_t;
77
typedef
unsigned
int
mitkIpUInt2_t;
78
typedef
unsigned
long
int
mitkIpUInt4_t;
79
typedef
float
mitkIpFloat4_t;
80
typedef
double
mitkIpFloat8_t;
81
#endif
82
83
/*
84
** this boolean is NOT a 1 bit value !!!
85
** it is NOT intended for 1 bit images !!!
86
*/
87
typedef
enum
88
{
mitkIpFalse
= 0,
89
mitkIpTrue
= 1
90
}
mitkIpBool_t
;
91
92
typedef
enum
93
{
94
mitkIpError
= -1,
/* general error */
95
mitkIpOK
= 0,
/* no error */
96
mitkIpEDIM
= 1000
/* wrong number of dimensions */
97
}
mitkIpError_t
;
98
99
100
typedef
enum
101
{
102
_mitkIpEndianUnknown
= 0,
103
_mitkIpEndianLittle
= 1,
104
_mitkIpEndianBig
= 2
105
}
_mitkIpEndian_t
;
106
107
typedef
enum
108
{
109
mitkIpTypeUnknown
= 0,
110
mitkIpTypeStringPtr
,
111
mitkIpTypeString
,
112
mitkIpTypeInt1
,
113
mitkIpTypeInt2
,
114
mitkIpTypeInt4
,
115
mitkIpTypeUInt1
,
116
mitkIpTypeUInt2
,
117
mitkIpTypeUInt4
,
118
mitkIpTypeFloat4
,
119
mitkIpTypeFloat8
,
120
mitkIpTypeNBytes
,
121
mitkIpTypeArray
,
122
mitkIpTypeList
,
123
mitkIpTypePic
,
124
mitkIpTypePicTag
,
125
_mitkIpTypeMAX
126
}
mitkIpType_t
;
127
128
#endif
/* _mitkIpTypes_h */
129
/* DON'T ADD ANYTHING AFTER THIS #endif */
mitkIpTrue
Definition:
mitkIpTypes.h:89
_mitkIpTypeMAX
Definition:
mitkIpTypes.h:125
mitkIpError_t
mitkIpError_t
Definition:
mitkIpTypes.h:92
mitkIpTypeString
Definition:
mitkIpTypes.h:111
mitkIpEDIM
Definition:
mitkIpTypes.h:96
_mitkIpEndianLittle
Definition:
mitkIpTypes.h:103
_mitkIpEndianUnknown
Definition:
mitkIpTypes.h:102
mitkIpType_t
mitkIpType_t
Definition:
mitkIpTypes.h:107
mitkIpTypeUnknown
Definition:
mitkIpTypes.h:109
mitkIpFalse
Definition:
mitkIpTypes.h:88
mitkIpTypeArray
Definition:
mitkIpTypes.h:121
mitkIpTypeFloat4
Definition:
mitkIpTypes.h:118
mitkIpBool_t
mitkIpBool_t
Definition:
mitkIpTypes.h:87
mitkIpTypePic
Definition:
mitkIpTypes.h:123
mitkIpTypeUInt4
Definition:
mitkIpTypes.h:117
mitkIpTypeList
Definition:
mitkIpTypes.h:122
mitkIpTypePicTag
Definition:
mitkIpTypes.h:124
mitkIpTypeUInt2
Definition:
mitkIpTypes.h:116
mitkIpTypeNBytes
Definition:
mitkIpTypes.h:120
mitkIpTypeInt4
Definition:
mitkIpTypes.h:114
mitkIpTypeFloat8
Definition:
mitkIpTypes.h:119
mitkIpOK
Definition:
mitkIpTypes.h:95
mitkIpTypeUInt1
Definition:
mitkIpTypes.h:115
mitkIpTypeStringPtr
Definition:
mitkIpTypes.h:110
mitkIpTypeInt1
Definition:
mitkIpTypes.h:112
_mitkIpEndian_t
_mitkIpEndian_t
Definition:
mitkIpTypes.h:100
mitkIpTypeInt2
Definition:
mitkIpTypes.h:113
mitkIpError
Definition:
mitkIpTypes.h:94
_mitkIpEndianBig
Definition:
mitkIpTypes.h:104
git
MITK
Utilities
IpPic
mitkIpTypes.h
Generated on Fri Feb 3 2017 20:52:01 for Medical Imaging Interaction Toolkit by
1.8.9.1