|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <stdlib.h>#include <math.h>#include <iuf.h>#include <iufSourcePrivate.h>#include <iufPositionPrivate.h>Data Structures | |
| struct | Iuf2DParametricSource |
Functions | |
| 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) . More... | |
| int | iuf2DParametricSourceDelete (iu2dps_t source) |
| Delete a 2D parametric source. More... | |
| int | iuf2DParametricSourceCompare (iu2dps_t reference, iu2dps_t actual) |
| Compares two 2D parametric sources. It does not matter which is the reference and the actual. More... | |
| float | iuf2DParametricSourceGetFNumber (iu2dps_t source) |
| Returns the fNumber of this source, or NAN if the source is invalid. More... | |
| float | iuf2DParametricSourceGetDeltaTheta (iu2dps_t source) |
| Returns the angular delta in radians between source points or NAN if the source is invalid. More... | |
| float | iuf2DParametricSourceGetStartTheta (iu2dps_t source) |
| Returns the angle of the first source point or NAN if the source is invalid. More... | |
| int | iuf2DParametricSourceGetNumLocations (iu2dps_t source) |
| Gets the number of source locations that are triggered simulatenously. More... | |
| 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 the source is incorrect. More... | |
| 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 is incorrect. More... | |
| int | iuf2DParametricSourceSetStartTheta (iu2dps_t source, float startTheta) |
| int | iuf2DParametricSourceSave (iu2dps_t source, hid_t handle) |
| iu2dps_t | iuf2DParametricSourceLoad (hid_t handle) |
| struct Iuf2DParametricSource |
| Data Fields | ||
|---|---|---|
| struct IufSource | base | |
| float | deltaTheta |
angle in [rad] between sources |
| float | fNumber |
distance in [m] of sources to transducer for POLAR |
| int | numLocations | |
| struct Iuf2DPosition * | pLocations | |
| float | startTheta |
angle in [rad] between sources |
| 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) .
| numLocations | The number of source locations that are triggered simulatenously |
| fNumber | the fNumber is the Focal depth (radiuf of the circle where the sources are positions) over the aperture diameter. |
| deltaTheta | The arc length in radians between sources |
| startTheta | the angle of the first source |
| int iuf2DParametricSourceDelete | ( | iu2dps_t | source | ) |
Delete a 2D parametric source.
| source | the source that will be deleted |
| float iuf2DParametricSourceGetDeltaTheta | ( | iu2dps_t | source | ) |
Returns the angular delta in radians between source points or NAN if the source is invalid.
| source | The source of interest |
| float iuf2DParametricSourceGetFNumber | ( | iu2dps_t | source | ) |
Returns the fNumber of this source, or NAN if the source is invalid.
| source | The source of interest |
| int iuf2DParametricSourceGetNumLocations | ( | iu2dps_t | source | ) |
Gets the number of source locations that are triggered simulatenously.
| source | The source of interest |
| float iuf2DParametricSourceGetStartTheta | ( | iu2dps_t | source | ) |
Returns the angle of the first source point or NAN if the source is invalid.
| source | The source of interest |
| iu2dps_t iuf2DParametricSourceLoad | ( | hid_t | handle | ) |
< distance in [m] of sources to transducer for POLAR
< angle in [rad] between sources
< angle in [rad] between sources
| int iuf2DParametricSourceSave | ( | iu2dps_t | source, |
| hid_t | handle | ||
| ) |
| 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 is incorrect.
| source | The source of interest |
| deltaTheta | the value of the delta angle |
| 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 the source is incorrect.
| source | The source of interest |
| FNumber | the value of the fNumber |
| int iuf2DParametricSourceSetStartTheta | ( | iu2dps_t | source, |
| float | startTheta | ||
| ) |
| source | The source of interest |
| startTheta | the value of the starting angle |