31 #if defined(VolWriter_RECURSES)
32 #error Recursive header files inclusion detected in VolWriter.h
35 #define VolWriter_RECURSES
37 #if !defined VolWriter_h
45 #include <boost/static_assert.hpp>
46 #include <boost/type_traits.hpp>
47 #include "DGtal/base/Common.h"
48 #include "DGtal/base/CUnaryFunctor.h"
49 #include "DGtal/base/BasicFunctors.h"
67 template <
typename TImage,
typename TFunctor = functors::Identity>
88 const bool compressed=
true,
95 #include "DGtal/io/writers/VolWriter.ih"
102 #undef VolWriter_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Export a 3D Image using the Vol formats.
static bool exportVol(const std::string &filename, const Image &aImage, const bool compressed=true, const Functor &aFunctor=Functor())
BOOST_CONCEPT_ASSERT((concepts::CUnaryFunctor< TFunctor, Value, unsigned char >))
BOOST_STATIC_ASSERT(TImage::Domain::dimension==3)
Aim: Defines a unary functor, which associates arguments to results.