Go to the source code of this file.
◆ IUA_INVALID
| #define IUA_INVALID (iua_t) NULL |
◆ iua_t
Meta data to describe an acquisition. Important for Ultrasound processing is to know the speedOfSound in m/s. In addition is requested to report the date of the experiment as an int in jjjjmmdd format together with a pDescription a string describing further acquisition notes.
◆ iufAcquisitionCompare()
Compares two acquisitions with each other.
- Returns
- Returns IUF_TRUE when the objects are equal and IUF_FALSE otherwise.
- Parameters
-
◆ iufAcquisitionCreate()
| iua_t iufAcquisitionCreate |
( |
float |
speedOfSound, |
|
|
int |
date, |
|
|
const char * |
pDescription |
|
) |
| |
Create an acquisition object.
- Returns
- Returns an acquisition object or IUA_INVALID in case of an error.
- Parameters
-
| speedOfSound | speed of sound in m/s */ |
| date | interger concatenation of year-month-day */ |
| pDescription | Acquisition notes */ |
◆ iufAcquisitionDelete()
| int iufAcquisitionDelete |
( |
iua_t |
acquisition | ) |
|
Deletes an acquisition object.
- Returns
- Returns IUF_E_OK when successful and IUF_ERR_VALUE otherwise.
- Parameters
-
◆ iufAcquisitionGetDate()
| int iufAcquisitionGetDate |
( |
iua_t |
acquisition | ) |
|
Gets the date of the acquisition.
- Returns
- Returns the date or -1 in case of an error.
- Parameters
-
◆ iufAcquisitionGetDescription()
| char* iufAcquisitionGetDescription |
( |
iua_t |
acquisition | ) |
|
Gets the description text of he acquisition.
- Returns
- Returns the notes or NULL in case of an error.
- Parameters
-
◆ iufAcquisitionGetSpeedOfSound()
| float iufAcquisitionGetSpeedOfSound |
( |
iua_t |
acquisition | ) |
|
Gets the speed of sound in m/s.
- Returns
- Returns the speed of sound or -1 in case of an error.
- Parameters
-