IUF-SDK-3
Interventional Ultrasound Library
iufReceiveChannelMap.h
Go to the documentation of this file.
1 #ifndef IUFLIBRARY_IUFHLRECEIVECHANNELMAP_H
2 #define IUFLIBRARY_IUFHLRECEIVECHANNELMAP_H
3 
4 #include <iufTypes.h>
5 
6 // ADT
16 #define IURCM_INVALID (iurcm_t) NULL
17 
22 (
23  int numChannels
24 );
25 
30 (
31  iurcm_t channelMap
32 );
33 
38 (
39  iurcm_t reference,
40  iurcm_t actual
41 );
42 
47 (
48  iurcm_t channelMap
49 );
50 
55 (
56  iurcm_t channelMap,
57  int index
58 );
59 
64 (
65  iurcm_t channelMap
66 );
67 
72 (
73  iurcm_t channelMap,
74  int index
75 );
76 
81 (
82  iurcm_t channelMap,
83  int index,
84  int transducerIdx
85 );
86 
91 (
92  iurcm_t channelMap,
93  int *map
94 );
95 
100 (
101  iurcm_t channelMap,
102  int index,
103  float delay
104 );
105 
106 
107 #endif //IUFLIBRARY_IUFHLRECEIVECHANNELMAP_H
108 
int iufReceiveChannelMapGetNumDelays(iurcm_t channelMap)
Same as iufReceiveChannelMapGetNumChannels.
Definition: iufReceiveChannelMap.c:109
Definition: iufReceiveChannelMapADT.h:4
int iufReceiveChannelMapDelete(iurcm_t channelMap)
Delete an IufReceiveChannelMap.
Definition: iufReceiveChannelMap.c:37
int iufReceiveChannelMapGetNumChannels(iurcm_t channelMap)
Get the number of channels that the map has.
Definition: iufReceiveChannelMap.c:83
int iufReceiveChannelMapSetMap(iurcm_t channelMap, int *map)
Sets a transducer index for all channels at once.
Definition: iufReceiveChannelMap.c:181
int numChannels
Definition: iufReceiveChannelMapADT.h:6
int iufReceiveChannelMapGetChannel(iurcm_t channelMap, int index)
Get the index value (the transducer element number) at channelMap mapIdx.
Definition: iufReceiveChannelMap.c:92
int iufReceiveChannelMapSetChannel(iurcm_t channelMap, int index, int transducerIdx)
Sets the transducer index for a channel.
Definition: iufReceiveChannelMap.c:155
int * map
Definition: iufReceiveChannelMapADT.h:7
float iufReceiveChannelMapGetStartDelay(iurcm_t channelMap, int index)
Gets the (digitization) delay of each channel.
Definition: iufReceiveChannelMap.c:118
IUF_BOOL iufReceiveChannelMapCompare(iurcm_t reference, iurcm_t actual)
Compare two IufReceiveChannelMap object with each other.
Definition: iufReceiveChannelMap.c:57
int IUF_BOOL
Definition: iufTypes.h:8
IufReceiveChannelMap * iurcm_t
Definition: iufReceiveChannelMap.h:15
iurcm_t iufReceiveChannelMapCreate(int numChannels)
Create an empty IufReceiveChannelMap with a size of numChannels.
Definition: iufReceiveChannelMap.c:10
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.
Definition: iufReceiveChannelMap.c:136