aimsdata 6.0.0
Neuroimaging data handling
aims::DataManip Namespace Reference

Functions

template<typename T>
void adjustVoxelSize (T &, const T &)
 utility function to copy voxel sizes from an object to another (if applicable)
 
template<typename T>
void insertElement (T &dest, int index, const T &src)
 insert a sub-element in a container data (time bucket/mesh/texture, or volume of labels...)
 
template<typename T>
carto::PropertySetgetHeader (T &obj)
 
template<typename T>
void setHeaderInfo (T &obj, const carto::GenericObject &srcheader)
 

Function Documentation

◆ adjustVoxelSize()

template<typename T>
void aims::DataManip::adjustVoxelSize ( T & ,
const T &  )

utility function to copy voxel sizes from an object to another (if applicable)

◆ getHeader()

template<typename T>
carto::PropertySet & aims::DataManip::getHeader ( T & obj)

◆ insertElement()

template<typename T>
void aims::DataManip::insertElement ( T & dest,
int index,
const T & src )

insert a sub-element in a container data (time bucket/mesh/texture, or volume of labels...)

◆ setHeaderInfo()

template<typename T>
void aims::DataManip::setHeaderInfo ( T & obj,
const carto::GenericObject & srcheader )