IUF-SDK-3
Interventional Ultrasound Library
iuf3DSize.h
Go to the documentation of this file.
1 #ifndef IUFLIBRARY_IUFHL3DSIZE_H
2 #define IUFLIBRARY_IUFHL3DSIZE_H
3 
4 // ADT
5 typedef struct Iuf3DSize
6 {
7  float sx;
8  float sy;
9  float sz;
10 } Iuf3DSize;
11 
15 typedef Iuf3DSize *iu3ds_t;
16 #define IU3DS_INVALID (iu3ds_t) NULL
17 
22 (
23  float sx,
24  float sy,
25  float sz
26 );
27 
32 (
33  iu3ds_t size
34 );
35 
40 (
41  iu3ds_t reference,
42  iu3ds_t actual
43 );
44 #endif //IUFLIBRARY_IUFHL3DSIZE_H
int iuf3DSizeDelete(iu3ds_t size)
delete a 3-axis size object
Definition: iuf3DSize.c:28
float sz
, Size in y dimension in m
Definition: iuf3DSize.h:9
Iuf3DSize * iu3ds_t
3D elements are considered block shaped and aligned (z-angle rotation=0) and can rotate in theta (y-a...
Definition: iuf3DSize.h:15
Definition: iuf3DSize.h:5
float sx
Size in x dimension in m.
Definition: iuf3DSize.h:7
iu3ds_t iuf3DSizeCreate(float sx, float sy, float sz)
create a 3-axis size 3D space
Definition: iuf3DSize.c:10
float sy
Definition: iuf3DSize.h:8
int iuf3DSizeCompare(iu3ds_t reference, iu3ds_t actual)
Compare two 3D sizes, argument order doesn't matter.
Definition: iuf3DSize.c:40