![]() |
aimsdata
4.7.0
Neuroimaging data handling
|
The template class for SPM write operation. More...
#include <aims/io/spmW.h>
Public Member Functions | |
SpmWriter (const std::string &name) | |
virtual | ~SpmWriter () |
void | write (const AimsData< T > &thing) |
Write the data with "name" file name to disk. More... | |
std::string | removeExtension (const std::string &name) |
Return a name without .hdr or .img extension. More... | |
Friends | |
SpmWriter< T > & | operator<< (SpmWriter< T > &writer, const AimsData< T > &thing) |
Output stream operator. More... | |
The template class for SPM write operation.
The template argument gives the type of the elements stored in the container.
|
inline |
|
inlinevirtual |
Definition at line 64 of file spmW.h.
References aims::SpmWriter< T >::removeExtension(), and aims::SpmWriter< T >::write().
|
inline |
Return a name without .hdr or .img extension.
Definition at line 87 of file spmW.h.
Referenced by aims::SpmWriter< T >::~SpmWriter().
void aims::SpmWriter< T >::write | ( | const AimsData< T > & | thing | ) |
Write the data with "name" file name to disk.
thing | const reference to the data to write |
Definition at line 52 of file spmW_d.h.
References carto::FileUtil::basename(), aims::canEncodeAsScaledS16(), aims::PythonHeader::copy(), AimsData< T >::dimT(), AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::dimZ(), carto::FileUtil::dirname(), ForEach4d, AimsData< T >::header(), aims::AffineTransformation3d::inverse(), soma::AffineTransformation3dBase::matrix(), nt, aims::AffineTransformation3d::rotation(), carto::FileUtil::separator(), aims::Settings::settings(), AimsData< T >::sizeT(), AimsData< T >::sizeX(), AimsData< T >::sizeY(), AimsData< T >::sizeZ(), soma::Transformation3d::transform(), AimsData< T >::volume(), and aims::DefaultItemWriter< T >::write().
Referenced by aims::operator<<(), aims::SpmFormat< T >::write(), and aims::SpmWriter< T >::~SpmWriter().