|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <stdlib.h>#include <string.h>#include <iuf.h>#include <iufReceiveChannelMapADT.h>#include <iufReceiveChannelMapPrivate.h>#include <math.h>Functions | |
| iurcm_t | iufReceiveChannelMapCreate (int numChannels) |
Create an empty IufReceiveChannelMap with a size of numChannels. More... | |
| int | iufReceiveChannelMapDelete (iurcm_t channelMap) |
| Delete an IufReceiveChannelMap. More... | |
| IUF_BOOL | iufReceiveChannelMapCompare (iurcm_t reference, iurcm_t actual) |
| Compare two IufReceiveChannelMap object with each other. More... | |
| int | iufReceiveChannelMapGetNumChannels (iurcm_t channelMap) |
| Get the number of channels that the map has. More... | |
| int | iufReceiveChannelMapGetChannel (iurcm_t channelMap, int index) |
Get the index value (the transducer element number) at channelMap mapIdx. More... | |
| int | iufReceiveChannelMapGetNumDelays (iurcm_t channelMap) |
| Same as iufReceiveChannelMapGetNumChannels. More... | |
| float | iufReceiveChannelMapGetStartDelay (iurcm_t channelMap, int index) |
| Gets the (digitization) delay of each channel. More... | |
| int | iufReceiveChannelMapSetStartDelay (iurcm_t channelMap, int index, float delay) |
| Sets the (digitization) delay of a channel [seconds]. If not set the value is 0.0f. More... | |
| int | iufReceiveChannelMapSetChannel (iurcm_t channelMap, int index, int transducerIdx) |
| Sets the transducer index for a channel. More... | |
| int | iufReceiveChannelMapSetMap (iurcm_t channelMap, int *map) |
| Sets a transducer index for all channels at once. More... | |
| int | iufReceiveChannelMapSave (iurcm_t channelMap, hid_t group_id) |
| iurcm_t | iufReceiveChannelMapLoad (hid_t group_id) |
Compare two IufReceiveChannelMap object with each other.
| reference | The IufReceiveChannelMap to compare to |
| actual | The IufReceiveChannelMap to compare with |
| iurcm_t iufReceiveChannelMapCreate | ( | int | numChannels | ) |
Create an empty IufReceiveChannelMap with a size of numChannels.
| int iufReceiveChannelMapDelete | ( | iurcm_t | channelMap | ) |
Delete an IufReceiveChannelMap.
| channelMap | the map of interest |
| int iufReceiveChannelMapGetChannel | ( | iurcm_t | channelMap, |
| int | index | ||
| ) |
Get the index value (the transducer element number) at channelMap mapIdx.
| channelMap | The IufReceiveChannelMap of interest |
| index | The channel number of the map. |
| int iufReceiveChannelMapGetNumChannels | ( | iurcm_t | channelMap | ) |
Get the number of channels that the map has.
| channelMap | The IufReceiveChannelMap of interest |
| int iufReceiveChannelMapGetNumDelays | ( | iurcm_t | channelMap | ) |
Same as iufReceiveChannelMapGetNumChannels.
| channelMap | the IufReceiveChannelMap of interest |
| float iufReceiveChannelMapGetStartDelay | ( | iurcm_t | channelMap, |
| int | index | ||
| ) |
Gets the (digitization) delay of each channel.
| channelMap | the IufReceiveChannelMap of interest |
| index | the channel index |
| iurcm_t iufReceiveChannelMapLoad | ( | hid_t | group_id | ) |
| int iufReceiveChannelMapSave | ( | iurcm_t | channelMap, |
| hid_t | group_id | ||
| ) |
| int iufReceiveChannelMapSetChannel | ( | iurcm_t | channelMap, |
| int | index, | ||
| int | transducerIdx | ||
| ) |
Sets the transducer index for a channel.
| channelMap | the IufReceiveChannelMap of interest |
| index | the channel index |
| transducerIdx | the transducer index |
| int iufReceiveChannelMapSetMap | ( | iurcm_t | channelMap, |
| int * | map | ||
| ) |
Sets a transducer index for all channels at once.
| channelMap | the IufReceiveChannelMap of interest |
| map | the array of transducer indices. |
| int iufReceiveChannelMapSetStartDelay | ( | iurcm_t | channelMap, |
| int | index, | ||
| float | delay | ||
| ) |
Sets the (digitization) delay of a channel [seconds]. If not set the value is 0.0f.
| channelMap | the IufReceiveChannelMap of interest |
| index | the channel index |
| delay | the channel delay in seconds |