|
IUF-SDK-3
Interventional Ultrasound Library
|
Data Structures | |
| struct | IufTGC |
Functions | |
| iutgc_t | iufTGCCreate (int numTGCValues) |
Create an empty TGC function of numTGC values. More... | |
| int | iufTGCDelete (iutgc_t tgc) |
| Frees the memory of the TGC object. More... | |
| int | iufTGCCompare (iutgc_t reference, iutgc_t actual) |
| Checks if two TGCs are equal. More... | |
| int | iufTGCGetNumValues (iutgc_t tgc) |
Get the number of [time,gain] pairs that the TGC function has. More... | |
| float | iufTGCGetTime (iutgc_t tgc, int index) |
Get the time value of a point in the TGC function at index. More... | |
| float | iufTGCGetGain (iutgc_t tgc, int index) |
Get the gain value of a point in the TGC function at index. More... | |
| int | iufTGCSet (iutgc_t tgc, int index, float time, float gain) |
Set a [time,gain] pair of the TGC function at index. More... | |
| int | iufTGCSave (iutgc_t tgc, hid_t handle) |
| iutgc_t | iufTGCLoad (hid_t handle) |
| iutgc_t iufTGCCreate | ( | int | numTGCValues | ) |
Create an empty TGC function of numTGC values.
| numTGCValues | The number of [time,gain] pairs to allocate |
| int iufTGCDelete | ( | iutgc_t | tgc | ) |
Frees the memory of the TGC object.
| tgc | The object to delete |
| float iufTGCGetGain | ( | iutgc_t | tgc, |
| int | index | ||
| ) |
Get the gain value of a point in the TGC function at index.
| tgc | The TGC object of interest |
| index | The index of the TGC function |
| int iufTGCGetNumValues | ( | iutgc_t | tgc | ) |
Get the number of [time,gain] pairs that the TGC function has.
[time,gain] pairs | tgc | The TGC object of interest |
| float iufTGCGetTime | ( | iutgc_t | tgc, |
| int | index | ||
| ) |
Get the time value of a point in the TGC function at index.
| tgc | THe TGC object of interest |
| index | The index of the TGC function |
| iutgc_t iufTGCLoad | ( | hid_t | handle | ) |
| int iufTGCSave | ( | iutgc_t | tgc, |
| hid_t | handle | ||
| ) |
| int iufTGCSet | ( | iutgc_t | tgc, |
| int | index, | ||
| float | time, | ||
| float | gain | ||
| ) |
Set a [time,gain] pair of the TGC function at index.
| tgc | The TGC function of interest |
| index | The index of the TGC function to replace the time, gain pair |
| time | The time value to set |
| gain | The gain value to set |