aimsgui
5.0.5
|
#include <aims/io/qtformatsW.h>
Public Member Functions | |
QtFormatsWriter (const std::string &name) | |
~QtFormatsWriter () | |
void | write (const AimsData< T > &thing) |
void | writeFrame (const AimsData< T > &thing, const std::string &filename, unsigned zfame, unsigned tframe) |
called by write(), but you can call it for single frame writing (axial slice) More... | |
std::string | format () const |
template<> | |
void | writeFrame (const AimsData< uint8_t > &thing, const std::string &filename, unsigned z, unsigned t) |
Definition at line 53 of file qtformatsW.h.
|
inline |
Definition at line 56 of file qtformatsW.h.
|
inline |
Definition at line 57 of file qtformatsW.h.
References aims::QtFormatsWriter< T >::format(), aims::QtFormatsWriter< T >::write(), and aims::QtFormatsWriter< T >::writeFrame().
|
inline |
Definition at line 121 of file qtformatsW.h.
References carto::FileUtil::extension(), and carto::stringUpper().
Referenced by aims::QtFormatsWriter< T >::write(), aims::QtFormatsWriter< T >::writeFrame(), and aims::QtFormatsWriter< T >::~QtFormatsWriter().
|
inline |
Definition at line 84 of file qtformatsW.h.
References aims::PythonHeader::copy(), AimsData< T >::dimT(), AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::dimZ(), carto::FileUtil::dirname(), aims::QtFormatsWriter< T >::format(), AimsData< T >::header(), carto::FileUtil::removeExtension(), carto::FileUtil::separator(), AimsData< T >::sizeT(), AimsData< T >::sizeX(), AimsData< T >::sizeY(), AimsData< T >::sizeZ(), and aims::QtFormatsWriter< T >::writeFrame().
Referenced by aims::QtFormatsWriter< T >::~QtFormatsWriter().
|
inline |
called by write(), but you can call it for single frame writing (axial slice)
Definition at line 133 of file qtformatsW.h.
References AimsData< T >::dimX(), AimsData< T >::dimY(), aims::QtFormatsWriter< T >::format(), carto::io_error::launchErrnoExcept(), AimsData< T >::sizeX(), and AimsData< T >::sizeY().
Referenced by aims::QtFormatsWriter< T >::write(), and aims::QtFormatsWriter< T >::~QtFormatsWriter().
|
inline |
Definition at line 156 of file qtformatsW.h.
References carto::VoxelRGBA::alpha(), carto::VoxelRGB::blue(), carto::VoxelRGBA::blue(), AimsData< T >::dimX(), AimsData< T >::dimY(), carto::FileUtil::extension(), carto::VoxelRGB::green(), carto::VoxelRGBA::green(), carto::io_error::launchErrnoExcept(), carto::VoxelRGB::red(), carto::VoxelRGBA::red(), AimsData< T >::sizeX(), AimsData< T >::sizeY(), and carto::stringUpper().