|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <stdlib.h>#include <string.h>#include <memory.h>#include <math.h>#include <iuf.h>#include <iufSourcePrivate.h>#include <iufPositionPrivate.h>Data Structures | |
| struct | Iuf3DParametricSource |
Functions | |
| iu3dps_t | iuf3DParametricSourceCreate (int numThetaLocations, int numPhiLocations, float fNumber, float deltaTheta, float startTheta, float deltaPhi, float startPhi) |
| Construct a (number of) source point(s) using a parametric description of their locations. More... | |
| int | iuf3DParametricSourceDelete (iu3dps_t source) |
| Deletes the 3D source. More... | |
| int | iuf3DParametricSourceCompare (iu3dps_t reference, iu3dps_t actual) |
| Compares 2 3D parametric sources checks if the contents of the two 3D sources are identical. the order of the arguments don't matter. More... | |
| float | iuf3DParametricSourceGetFNumber (iu3dps_t source) |
| Return the FNumber of the 3D parametric source. More... | |
| float | iuf3DParametricSourceGetDeltaTheta (iu3dps_t source) |
| Return the delta angle between two thetas of the 3D parametric source. More... | |
| float | iuf3DParametricSourceGetStartTheta (iu3dps_t source) |
| Return the starting angle theta. More... | |
| float | iuf3DParametricSourceGetDeltaPhi (iu3dps_t source) |
| Return the delta angle between two phis of the 3D parametric source. More... | |
| float | iuf3DParametricSourceGetStartPhi (iu3dps_t source) |
| Return the starting angle phi. More... | |
| int | iuf3DParametricSourceGetNumThetaLocations (iu3dps_t source) |
| Return the number of sources in theta dimension. More... | |
| int | iuf3DParametricSourceGetNumPhiLocations (iu3dps_t source) |
| Return the number of sources in phi dimension. More... | |
| int | iuf3DParametricSourceSetFNumber (iu3dps_t source, float FNumber) |
| int | iuf3DParametricSourceSetDeltaTheta (iu3dps_t source, float deltaTheta) |
| int | iuf3DParametricSourceSetStartTheta (iu3dps_t source, float startTheta) |
| int | iuf3DParametricSourceSetDeltaPhi (iu3dps_t source, float deltaPhi) |
| int | iuf3DParametricSourceSetStartPhi (iu3dps_t source, float startPhi) |
| int | iuf3DParametricSourceSave (iu3dps_t source, hid_t handle) |
| iu3dps_t | iuf3DParametricSourceLoad (hid_t handle) |
| struct Iuf3DParametricSource |
| Data Fields | ||
|---|---|---|
| struct IufSource | base | |
| float | deltaPhi |
angle in [rad] between sources |
| float | deltaTheta |
angle in [rad] between sources |
| float | fNumber |
distance in [m] of sources to transducer for POLAR |
| int | numPhiLocations | |
| int | numThetaLocations | |
| struct Iuf3DPosition * | pLocations | |
| float | startPhi |
offset angle in [rad] |
| float | startTheta |
offset angle in [rad] |
Compares 2 3D parametric sources checks if the contents of the two 3D sources are identical. the order of the arguments don't matter.
| reference | The 3D parametric source to compare with |
| actual | The 3D parametric source to compare |
| iu3dps_t iuf3DParametricSourceCreate | ( | int | numThetaLocations, |
| int | numPhiLocations, | ||
| float | fNumber, | ||
| float | deltaTheta, | ||
| float | startTheta, | ||
| float | deltaPhi, | ||
| float | startPhi | ||
| ) |
Construct a (number of) source point(s) using a parametric description of their locations.
the sources are points in 3D space on a spherical surface, the radiuf of this sphere is defined by the fNumber the locations are on a grid described by a start, delta and numLocations in the specific dimension. The total number of locations
| numThetaLocations | The number of sources in theta dimension |
| numPhiLocations | The number of sources int phi dimension |
| fNumber | The apertuseSize-source dustance ratio |
| deltaTheta | the distance between sources along the Theta dimension |
| startTheta | the first angle in the Theta dimension |
| deltaPhi | the distance between sources along the Phi dimension |
| startPhi | the first angle in the Phi dimension |
| int iuf3DParametricSourceDelete | ( | iu3dps_t | source | ) |
Deletes the 3D source.
| source | The 3D source to be deleted |
| float iuf3DParametricSourceGetDeltaPhi | ( | iu3dps_t | source | ) |
Return the delta angle between two phis of the 3D parametric source.
| source | The 3D parametric source that holds the dleta phi |
| float iuf3DParametricSourceGetDeltaTheta | ( | iu3dps_t | source | ) |
Return the delta angle between two thetas of the 3D parametric source.
| source | The 3D parametric source that holds the delta theta |
| float iuf3DParametricSourceGetFNumber | ( | iu3dps_t | source | ) |
Return the FNumber of the 3D parametric source.
| source | The 3D parametric source that holds the fNumber |
| int iuf3DParametricSourceGetNumPhiLocations | ( | iu3dps_t | source | ) |
Return the number of sources in phi dimension.
| source | The source of interest |
| int iuf3DParametricSourceGetNumThetaLocations | ( | iu3dps_t | source | ) |
Return the number of sources in theta dimension.
| source | The source of interest |
| float iuf3DParametricSourceGetStartPhi | ( | iu3dps_t | source | ) |
Return the starting angle phi.
| source | The 3D parametric source that holds the sarting phi |
| float iuf3DParametricSourceGetStartTheta | ( | iu3dps_t | source | ) |
Return the starting angle theta.
| source | The 3D parametric source that has the start theta |
| iu3dps_t iuf3DParametricSourceLoad | ( | hid_t | handle | ) |
< distance in [m] of sources to transducer for POLAR
< angle in [rad] between sources
< angle in [rad] between sources
< angle in [rad] between sources
< angle in [rad] between sources
| int iuf3DParametricSourceSave | ( | iu3dps_t | source, |
| hid_t | handle | ||
| ) |
| int iuf3DParametricSourceSetDeltaPhi | ( | iu3dps_t | source, |
| float | deltaPhi | ||
| ) |
Set the angular offset of sources
| source | The 3D parametric source of which the deltaPhi is set |
| deltaPhi | The angular delta is the arc-distance in rad between sources |
| int iuf3DParametricSourceSetDeltaTheta | ( | iu3dps_t | source, |
| float | deltaTheta | ||
| ) |
Set the angular distance between sources
| source | The 3D parametric source of which the deltaTheta is set in theta dimension |
| deltaTheta | The angular delta is the arc-distance in rad between sources |
| int iuf3DParametricSourceSetFNumber | ( | iu3dps_t | source, |
| float | FNumber | ||
| ) |
Set the fNumber of the provided 3D parametric source
| source | The 3D parametric source of which the fNumber is set |
| FNumber | The fNumber is the ratio between source distance and the transducer's aperture width |
| int iuf3DParametricSourceSetStartPhi | ( | iu3dps_t | source, |
| float | startPhi | ||
| ) |
Set the angular offset of the source in phi direction
| source | The 3D parametric source of which the startPhi is set |
| startPhi | The start angle is the offset in rad of the first source |
| int iuf3DParametricSourceSetStartTheta | ( | iu3dps_t | source, |
| float | startTheta | ||
| ) |
Set the angular offset of the source in theta direction
| source | The 3D parametric source of which the start angle is set in theta dimension |
| startTheta | The start angle is the arc-offset in rad of the sources, i.e. the angle of the first source |