forked from pixmeo/osirix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDCMUSRegion.h
78 lines (56 loc) · 2.29 KB
/
DCMUSRegion.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*=========================================================================
Program: OsiriX
Copyright (c) OsiriX Team
All rights reserved.
Distributed under GNU - LGPL
See http://www.osirix-viewer.com/copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
=========================================================================*/
#import <Foundation/Foundation.h>
@interface DCMUSRegion: NSObject
{
// DICOM TAGS
int regionSpatialFormat; // (0018,6012) [0000H...0005H]
int regionDataType; // (0018,6014) [0000H...0012H]
int regionFlags; // (0018,6016) [0,1]
int regionLocationMinX0; // (0018,6018)
int regionLocationMinY0; // (0018,601A)
int regionLocationMaxX1; // (0018,601C)
int regionLocationMaxY1; // (0018,601E)
int referencePixelX0; // (0018,6020) [optional]
int referencePixelY0; // (0018,6022) [optional]
int physicalUnitsXDirection; // (0018,6024) [0000H...000CH]
int physicalUnitsYDirection; // (0018,6026) [0000H...000CH]
double refPixelPhysicalValueX; // (0018,6028)
double refPixelPhysicalValueY; // (0018,602A)
double physicalDeltaX; // (0018,602C)
double physicalDeltaY; // (0018,602E) [<0:dir=up, >0:dir=down]
double dopplerCorrectionAngle; // (0018,6034)
// Optional Tags
BOOL isReferencePixelX0Present;
BOOL isReferencePixelY0Present;
}
// Accessors (getter & setter)
@property int regionSpatialFormat;
@property int regionDataType;
@property int regionFlags;
@property int regionLocationMinX0;
@property int regionLocationMinY0;
@property int regionLocationMaxX1;
@property int regionLocationMaxY1;
@property int referencePixelX0;
@property int referencePixelY0;
@property int physicalUnitsXDirection;
@property int physicalUnitsYDirection;
@property double refPixelPhysicalValueX;
@property double refPixelPhysicalValueY;
@property double physicalDeltaX;
@property double physicalDeltaY;
@property double dopplerCorrectionAngle;
@property BOOL isReferencePixelX0Present;
@property BOOL isReferencePixelY0Present;
// Methods
- (NSString*) toString;
@end