A.I.M.S


aims::JpegWriter< T > Class Template Reference

#include <aims/io/jpegW.h>

Public Member Functions

 JpegWriter (const std::string &name)
 
 ~JpegWriter ()
 
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 removeExtension (const std::string &name) const
 Return a name without .jpg extension. More...
 

Detailed Description

template<class T>
class aims::JpegWriter< T >

Definition at line 56 of file jpegW.h.

Constructor & Destructor Documentation

template<class T >
aims::JpegWriter< T >::JpegWriter ( const std::string &  name)
inline

Definition at line 59 of file jpegW.h.

template<class T >
aims::JpegWriter< T >::~JpegWriter ( )
inline

Definition at line 60 of file jpegW.h.

Member Function Documentation

template<class T >
std::string aims::JpegWriter< T >::removeExtension ( const std::string &  name) const

Return a name without .jpg extension.

template<class T >
void aims::JpegWriter< 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 117 of file jpegW.h.

References AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::sizeX(), and AimsData< T >::sizeY().


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