aimsgui  5.1.2
aims::QtFormatsWriter< T > Class Template Reference

#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
 
void writeFrame (const AimsData< uint8_t > &thing, const std::string &filename, unsigned z, unsigned t)
 

Detailed Description

template<typename T>
class aims::QtFormatsWriter< T >

Definition at line 53 of file qtformatsW.h.

Constructor & Destructor Documentation

◆ QtFormatsWriter()

template<typename T >
aims::QtFormatsWriter< T >::QtFormatsWriter ( const std::string &  name)
inline

Definition at line 56 of file qtformatsW.h.

◆ ~QtFormatsWriter()

template<typename T >
aims::QtFormatsWriter< T >::~QtFormatsWriter ( )
inline

Definition at line 57 of file qtformatsW.h.

Member Function Documentation

◆ format()

template<typename T >
std::string aims::QtFormatsWriter< T >::format
inline

Definition at line 121 of file qtformatsW.h.

References carto::FileUtil::extension(), and carto::stringUpper().

◆ write()

◆ writeFrame() [1/2]

template<typename T >
void aims::QtFormatsWriter< T >::writeFrame ( const AimsData< T > &  thing,
const std::string &  filename,
unsigned  zfame,
unsigned  tframe 
)
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< class >::dimX(), AimsData< class >::dimY(), carto::io_error::launchErrnoExcept(), AimsData< class >::sizeX(), and AimsData< class >::sizeY().

◆ writeFrame() [2/2]

void aims::QtFormatsWriter< uint8_t >::writeFrame ( const AimsData< uint8_t > &  thing,
const std::string &  filename,
unsigned  z,
unsigned  t 
)
inline

The documentation for this class was generated from the following file: