7 #ifndef __FWITKIO_ITK_HPP__ 8 #define __FWITKIO_ITK_HPP__ 11 #include <fwData/Image.hpp> 13 #include "fwItkIO/config.hpp" 26 template<
class ITKIMAGE>
27 ::fwData::Image::sptr
dataImageFactory(
typename ITKIMAGE::Pointer itkImage,
bool bufferManagerIsDataImage =
true );
37 template<
class ITKIMAGE>
38 void dataImageFactory(
typename ITKIMAGE::Pointer itkImage, ::fwData::Image::sptr _dataImage,
39 bool bufferManagerIsDataImage =
true );
52 template<
class ITKIMAGE>
53 typename ITKIMAGE::Pointer
itkImageFactory( ::fwData::Image::csptr imageData,
bool bufferManagerIsDataImage =
true );
57 #include "fwItkIO/itk.hxx" 59 #endif // __FWITKIO_ITK_HPP__ The namespace fwItkIO contains reader, writer and helper for itk image.
ITKIMAGE::Pointer itkImageFactory(::fwData::Image::csptr imageData, bool bufferManagerIsDataImage=true)
Create an ITK image from an fwData::Image.
::fwData::Image::sptr dataImageFactory(typename ITKIMAGE::Pointer itkImage, bool bufferManagerIsDataImage=true)
Allocate a new data Image from an itk one.