IUF-SDK-3
Interventional Ultrasound Library
iuf2DNonParametricSourcePrivate.h File Reference
#include <hdf5.h>
#include <iuf2DNonParametricSource.h>

Go to the source code of this file.

Functions

int iuf2DNonParametricSourceSave (iu2dnps_t source, hid_t handle)
 Saves a 2D non-parametric ultrasound source to an HDF5 handle. More...
 
iu2dnps_t iuf2DNonParametricSourceLoad (hid_t handle)
 Loads a 2D non-parametric ultrasound source fom a HDF5 handle. More...
 

Function Documentation

◆ iuf2DNonParametricSourceLoad()

iu2dnps_t iuf2DNonParametricSourceLoad ( hid_t  handle)

Loads a 2D non-parametric ultrasound source fom a HDF5 handle.

Returns
Returns the 2D non-parametric source when successfull or IU2DP_INVALID in case of an error.
Parameters
handleThe HDF5 handle to load from

◆ iuf2DNonParametricSourceSave()

int iuf2DNonParametricSourceSave ( iu2dnps_t  source,
hid_t  handle 
)

Saves a 2D non-parametric ultrasound source to an HDF5 handle.

Returns
Returns IUF_E_OK on success or IUF_ERR_VALUE in case of an error.
Parameters
sourceThe 2D non-parameric source to save
handleThe HDF5 handle to save to