fw4spl
Filter.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWDICOMIOFILTER_HELPER_FILTER_HPP__
8 #define __FWDICOMIOFILTER_HELPER_FILTER_HPP__
9 
10 #include "fwDicomIOFilter/IFilter.hpp"
11 #include "fwDicomIOFilter/config.hpp"
12 
13 #include <fwMedData/DicomSeries.hpp>
14 
15 namespace fwDicomIOFilter
16 {
17 namespace helper
18 {
19 
23 class FWDICOMIOFILTER_CLASS_API Filter
24 {
25 public:
26  typedef std::vector< ::fwMedData::DicomSeries::sptr > DicomSeriesContainerType;
27 
34  FWDICOMIOFILTER_API static bool applyFilter(DicomSeriesContainerType& dicomSeriesContainer,
35  ::fwDicomIOFilter::IFilter::sptr filter, bool forcedApply = false,
36  const ::fwLog::Logger::sptr& logger = ::fwLog::Logger::New());
37 
38 };
39 
40 } // namespace helper
41 } // namespace fwDicomIOFilter
42 
43 
44 #endif /* __FWDICOMIOFILTER_HELPER_FILTER_HPP__ */
fwDicomIOFilter contains filters used to pre-process images before reading.