DGtal  0.9.4beta
Public Member Functions | Static Public Member Functions
DGtal::GenericWriter< TContainer, 3, DGtal::uint64_t, TFunctor > Struct Template Reference

#include <DGtal/io/writers/GenericWriter.h>

Public Member Functions

 BOOST_CONCEPT_ASSERT ((concepts::CUnaryFunctor< TFunctor, typename TContainer::Value, DGtal::uint64_t >))
 
 BOOST_CONCEPT_ASSERT ((concepts::CConstImage< TContainer >))
 

Static Public Member Functions

static bool exportFile (const std::string &filename, const TContainer &anImage, const TFunctor &aFunctor=TFunctor())
 

Detailed Description

template<typename TContainer, typename TFunctor>
struct DGtal::GenericWriter< TContainer, 3, DGtal::uint64_t, TFunctor >

GenericWriter Template partial specialisation for volume images of dimension 3 and DGtal::uint64_t value type (which allows to export longvol file format).

Definition at line 136 of file GenericWriter.h.

Member Function Documentation

template<typename TContainer , typename TFunctor >
DGtal::GenericWriter< TContainer, 3, DGtal::uint64_t, TFunctor >::BOOST_CONCEPT_ASSERT ( (concepts::CUnaryFunctor< TFunctor, typename TContainer::Value, DGtal::uint64_t >)  )
template<typename TContainer , typename TFunctor >
DGtal::GenericWriter< TContainer, 3, DGtal::uint64_t, TFunctor >::BOOST_CONCEPT_ASSERT ( (concepts::CConstImage< TContainer >)  )
template<typename TContainer , typename TFunctor >
static bool DGtal::GenericWriter< TContainer, 3, DGtal::uint64_t, TFunctor >::exportFile ( const std::string &  filename,
const TContainer &  anImage,
const TFunctor &  aFunctor = TFunctor() 
)
static

Export a volume image.

Parameters
filenamethe filename of the saved image (with a extension name).
anImagethe image to be saved.
aFunctorto apply image transformation before saving.

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