IUF-SDK-3
Interventional Ultrasound Library
iuf2DSize.h
Go to the documentation of this file.
1 #ifndef IUFLIBRARY_IUFHL2DSIZE_H
2 #define IUFLIBRARY_IUFHL2DSIZE_H
3 
4 // ADT
5 typedef struct Iuf2DSize
6 {
7  float sx;
8  float sz;
9 } Iuf2DSize;
10 
12 typedef Iuf2DSize *iu2ds_t;
13 #define IU2DS_INVALID (iu2ds_t) NULL
14 
17 (
18  float sx,
19  float sz
20 );
21 
24 (
25  iu2ds_t size
26 );
27 
28 
31 (
32  iu2ds_t reference,
33  iu2ds_t actual
34 );
35 
36 #endif //IUFLIBRARY_IUFHL2DSIZE_H
Definition: iuf2DSize.h:5
Iuf2DSize * iu2ds_t
A 2D size in meters. First dimension is x (lateral), second dimension is z (depth) ...
Definition: iuf2DSize.h:12
int iuf2DSizeDelete(iu2ds_t size)
Delete a 2D size object.
Definition: iuf2DSize.c:24
float sz
Definition: iuf2DSize.h:8
iu2ds_t iuf2DSizeCreate(float sx, float sz)
Allocate a 2D size.
Definition: iuf2DSize.c:9
float sx
Definition: iuf2DSize.h:7
int iuf2DSizeCompare(iu2ds_t reference, iu2ds_t actual)
Delete a 2D size object.
Definition: iuf2DSize.c:36