2 #ifndef IUFLIBRARY_IUFHL2DPARAMETRICSOURCE_H 3 #define IUFLIBRARY_IUFHL2DPARAMETRICSOURCE_H 17 #define IU2DPS_INVALID (iu2dps_t) NULL 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