|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <stdlib.h>#include <string.h>#include <memory.h>#include <iuf.h>#include <iufSourcePrivate.h>#include <iufPositionPrivate.h>Data Structures | |
| struct | Iuf3DNonParametricSource |
Functions | |
| iu3dnps_t | iuf3DNonParametricSourceCreate (int numLocations) |
| int | iuf3DNonParametricSourceDelete (iu3dnps_t source) |
| Delete a 3D non-parametric source. More... | |
| int | iuf3DNonParametricSourceCompare (iu3dnps_t reference, iu3dnps_t actual) |
| Compares two 3D non-parametric sources. More... | |
| iu3dp_t | iuf3DNonParametricSourceGetPosition (iu3dnps_t source, int index) |
Gets the index -th 3D position of a 3D non-parametric source. More... | |
| int | iuf3DNonParametricSourceGetNumLocations (iu3dnps_t source) |
| Gets he number of points the source has. More... | |
| int | iuf3DNonParametricSourceSetPosition (iu3dnps_t source, iu3dp_t pos, int index) |
Sets the 3D position pos on the index -th location for the 3D non-parametric source iuf3DNonParametricSource. More... | |
| int | iuf3DNonParametricSourceSave (iu3dnps_t source, hid_t handle) |
| iu3dnps_t | iuf3DNonParametricSourceLoad (hid_t handle) |
| struct Iuf3DNonParametricSource |
| Data Fields | ||
|---|---|---|
| struct IufSource | base | |
| IUF_BOOL | deepDelete | |
| int | numLocations | |
| struct Iuf3DPosition * | pLocations | |
| iu3dnps_t iuf3DNonParametricSourceCreate | ( | int | numLocations | ) |
An invalid 3D Non-Parametric Source
| numLocations | The number of points the source has. |
| int iuf3DNonParametricSourceDelete | ( | iu3dnps_t | source | ) |
Delete a 3D non-parametric source.
| source | The source that is deleted |
| int iuf3DNonParametricSourceGetNumLocations | ( | iu3dnps_t | source | ) |
Gets he number of points the source has.
| source | 2D non-parametric source with positions |
Gets the index -th 3D position of a 3D non-parametric source.
| source | 3D non-parametric source with positions |
| index | the index of the position list |
| iu3dnps_t iuf3DNonParametricSourceLoad | ( | hid_t | handle | ) |
| int iuf3DNonParametricSourceSave | ( | iu3dnps_t | source, |
| hid_t | handle | ||
| ) |
Sets the 3D position pos on the index -th location for the 3D non-parametric source iuf3DNonParametricSource.
| source | the 3D non-parametric source |
| pos | the 3D position to be set |
| index | the index of the position |