IUF-SDK-3
Interventional Ultrasound Library
iufOffset.h
Go to the documentation of this file.
1 
2 #ifndef IUFLIBRARY_IUFOFFSET_H
3 #define IUFLIBRARY_IUFOFFSET_H
4 
5 // ADT
6 typedef struct IufOffset_
7 {
8  int x ;
9  int y ;
10  int z ;
11  int t ;
12 } IufOffset;
13 
14 typedef IufOffset *iuo_t;
15 /* Data is stored in rectangular blocks up to 4 dimensions. The offset structure points to
16  * a certain {x,y,z,t} point in this data block
17  * */
18 #define IUO_INVALID (iuo_t) NULL
19 
24 (
25  void
26 );
27 
32 (
33  iuo_t offset
34 );
35 
40 (
41  iuo_t reference,
42  iuo_t actual
43 );
44 
45 
46 #endif //IUFLIBRARY_IUFOFFSET_H
int z
Definition: iufOffset.h:10
iuo_t iufOffsetCreate(void)
Create an offset object initialized at {0,0,0,0}.
Definition: iufOffset.c:7
IufOffset * iuo_t
Definition: iufOffset.h:14
int y
Definition: iufOffset.h:9
int x
Definition: iufOffset.h:8
int iufOffsetDelete(iuo_t offset)
Delete an offset object.
Definition: iufOffset.c:21
int iufOffsetCompare(iuo_t reference, iuo_t actual)
Compare two offsets with each other.
Definition: iufOffset.c:32
Definition: iufOffset.h:6
int t
Definition: iufOffset.h:11