IUF-SDK-3
Interventional Ultrasound Library
iuf2DParametricSource.h
Go to the documentation of this file.
1 
2 #ifndef IUFLIBRARY_IUFHL2DPARAMETRICSOURCE_H
3 #define IUFLIBRARY_IUFHL2DPARAMETRICSOURCE_H
4 
5 #include "iufPosition.h"
6 
7 // ADT
15 
17 #define IU2DPS_INVALID (iu2dps_t) NULL
18 
24 (
25  int numLocations,
26  float fNumber,
27  float deltaTheta,
28  float startTheta
29 );
30 
35 (
36  iu2dps_t source
37 );
38 
43 (
44  iu2dps_t reference,
45  iu2dps_t actual
46 );
47 
51 (
52  iu2dps_t source
53 );
54 
58 (
59  iu2dps_t source
60 );
61 
65 (
66  iu2dps_t source
67 );
68 
73 (
74  iu2dps_t source
75 );
76 
77 
82 (
83  iu2dps_t source,
84  float FNumber
85 );
86 
91 (
92  iu2dps_t source,
93  float deltaTheta
94 );
95 
97 (
98  iu2dps_t source,
99  float startTheta
100 );
101 
102 #endif //IUFLIBRARY_IUFHL2DPARAMETRICSOURCE_H
float fNumber
Definition: iuf2DParametricSource.c:14
int iuf2DParametricSourceCompare(iu2dps_t reference, iu2dps_t actual)
Compares two 2D parametric sources. It does not matter which is the reference and the actual...
Definition: iuf2DParametricSource.c:62
float iuf2DParametricSourceGetStartTheta(iu2dps_t source)
Returns the angle of the first source point or NAN if the source is invalid.
Definition: iuf2DParametricSource.c:105
Iuf2DParametricSource * iu2dps_t
Definition: iuf2DParametricSource.h:14
int iuf2DParametricSourceDelete(iu2dps_t source)
Delete a 2D parametric source.
Definition: iuf2DParametricSource.c:49
int iuf2DParametricSourceSetFNumber(iu2dps_t source, float FNumber)
Sets the fNumber of the parametric sources, return IUF_E_OK when successful or IUF_ERR_VALUE in case ...
Definition: iuf2DParametricSource.c:123
int iuf2DParametricSourceSetStartTheta(iu2dps_t source, float startTheta)
Definition: iuf2DParametricSource.c:145
int iuf2DParametricSourceSetDeltaTheta(iu2dps_t source, float deltaTheta)
Sets the delta between sources, return IUF_E_OK when successful or IUF_ERR_VALUE in case the source i...
Definition: iuf2DParametricSource.c:134
int iuf2DParametricSourceGetNumLocations(iu2dps_t source)
Gets the number of source locations that are triggered simulatenously.
Definition: iuf2DParametricSource.c:114
int numLocations
Definition: iuf2DParametricSource.c:11
float startTheta
Definition: iuf2DParametricSource.c:16
float deltaTheta
Definition: iuf2DParametricSource.c:15
float iuf2DParametricSourceGetFNumber(iu2dps_t source)
Returns the fNumber of this source, or NAN if the source is invalid.
Definition: iuf2DParametricSource.c:87
iu2dps_t iuf2DParametricSourceCreate(int numLocations, float fNumber, float deltaTheta, float startTheta)
Create an ultrasound source for generating a pulseform based on numLocations points. The points are described directly by their 2D position (i.e. not parametrically) .
Definition: iuf2DParametricSource.c:22
Definition: iuf2DParametricSource.c:8
float iuf2DParametricSourceGetDeltaTheta(iu2dps_t source)
Returns the angular delta in radians between source points or NAN if the source is invalid...
Definition: iuf2DParametricSource.c:96