itkpp.hpp 1.01 KB
Newer Older
1
/* ***** BEGIN LICENSE BLOCK *****
Julien Waechter's avatar
Julien Waechter committed
2
 * FW4SPL - Copyright (C) IRCAD, 2009-2012.
3
4
5
6
 * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
 * published by the Free Software Foundation.
 * ****** END LICENSE BLOCK ****** */

Julien Waechter's avatar
Julien Waechter committed
7
8
#ifndef _FWITKIO_ITKPP_HPP_
#define _FWITKIO_ITKPP_HPP_
9
10
11
12
13
14
15
16
17
18

#include <boost/shared_ptr.hpp>

#include <itkpp/MaskScanner.h>
#include <itkpp/ImageWithScanner.h>
#include <itkpp/ImageToImageFilterForImageWithScanner.h>
#include <itkpp/ImageWithScannerIteratorCollection.h>

#include <fwData/Image.hpp>

19
#include "fwItkIO/config.hpp"
20

21
namespace fwItkIO
22
23
24
25
26
27
28
29
30
31
32
33
34
{


/*
 * Create an image with scanner
 * ITKIMAGE template parameter must be instantiated with itk::Image< PIXELTYPE , VDIM > and not with itk::ImageWithScanner< PIXELTYPE , VDIM >,
 * otherwise the cast filter will wait for
*/
template< class PIXELTYPE , int VDimension , class ScannerType >
typename ScannerType::Pointer  itkppScannerFactory( ::fwData::Image::sptr imageData);

}

35
#include "fwItkIO/itkpp.hxx"
36

Julien Waechter's avatar
Julien Waechter committed
37
#endif // _FWITKIO_ITKPP_HPP_