DGtal
0.6.devel
|
#include <VolWriter.h>
Public Types | |
typedef TImage | Image |
typedef TImage::Value | Value |
typedef TFunctor | Functor |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CUnaryFunctor< TFunctor, Value, unsigned char >)) | |
BOOST_STATIC_ASSERT (TImage::Domain::dimension==3) |
Static Public Member Functions | |
static bool | exportVol (const std::string &filename, const Image &aImage, const Functor &aFunctor=Functor()) throw (DGtal::IOException) |
Aim: Export a 3D Image using the Vol formats.
Description of template struct 'VolWriter'
A functor can be specified to convert image values to Vol values (unsigned char).
TImage | the Image type. |
TFunctor | the type of functor used in the export. |
Definition at line 68 of file VolWriter.h.
typedef TFunctor DGtal::VolWriter< TImage, TFunctor >::Functor |
Definition at line 73 of file VolWriter.h.
typedef TImage DGtal::VolWriter< TImage, TFunctor >::Image |
Definition at line 71 of file VolWriter.h.
typedef TImage::Value DGtal::VolWriter< TImage, TFunctor >::Value |
Definition at line 72 of file VolWriter.h.
DGtal::VolWriter< TImage, TFunctor >::BOOST_CONCEPT_ASSERT | ( | (CUnaryFunctor< TFunctor, Value, unsigned char >) | ) |
DGtal::VolWriter< TImage, TFunctor >::BOOST_STATIC_ASSERT | ( | TImage::Domain::dimension | = =3 | ) |
|
static |
Export an Image with the Vol format.
filename | name of the output file |
aImage | the image to export |
aFunctor | functor used to cast image values |
Definition at line 44 of file VolWriter.ih.