1 #ifndef IUFLIBRARY_IUFHLTGC_H 2 #define IUFLIBRARY_IUFHLTGC_H 10 #define IUTGC_INVALID (iutgc_t) NULL 74 #endif //IUFLIBRARY_IUFHLTGC_H int iufTGCDelete(iutgc_t tgc)
Frees the memory of the TGC object.
Definition: iufTGC.c:44
int iufTGCCompare(iutgc_t reference, iutgc_t actual)
Checks if two TGCs are equal.
Definition: iufTGC.c:58
int numTGCValues
Definition: iufTGC.c:9
int iufTGCSet(iutgc_t tgc, int index, float time, float gain)
Set a [time,gain] pair of the TGC function at index.
Definition: iufTGC.c:121
int iufTGCGetNumValues(iutgc_t tgc)
Get the number of [time,gain] pairs that the TGC function has.
Definition: iufTGC.c:77
float iufTGCGetTime(iutgc_t tgc, int index)
Get the time value of a point in the TGC function at index.
Definition: iufTGC.c:87
IufTGC * iutgc_t
Definition: iufTGC.h:9
iutgc_t iufTGCCreate(int numTGCValues)
Create an empty TGC function of numTGC values.
Definition: iufTGC.c:16
float iufTGCGetGain(iutgc_t tgc, int index)
Get the gain value of a point in the TGC function at index.
Definition: iufTGC.c:103