31 #if defined(ITKIOTrait_RECURSES)
32 #error Recursive header files inclusion detected in ITKIOTrait.h
35 #define ITKIOTrait_RECURSES
37 #if !defined ITKIOTrait_h
41 #include "DGtal/base/BasicFunctors.h"
48 [[maybe_unused]]
const auto ITK_IO_IMAGE_EXT = {
"nii",
"gz" ,
"mha",
"mhd",
"tiff",
"nrrd",
60 template <
typename Value>
94 #undef ITKIOTrait_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
const auto ITK_IO_IMAGE_EXT
functors::Cast< bool > DefaultReadFunctor
functors::Cast< unsigned char > DefaultWriteFunctor
Aim: Provide type trait for ITK reader and ITK writer.
ITKIOTrait & operator=(const ITKIOTrait &other)
functors::Cast< ValueOut > DefaultWriteFunctor
functors::Cast< Value > DefaultReadFunctor
ITKIOTrait(const ITKIOTrait &other)
Aim: Define a simple functor using the static cast operator.