fw4spl
SOPClassUIDSplitter.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
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_SPLITTER_SOPCLASSUIDSPLITTER_HPP__
8 #define __FWDICOMIOFILTER_SPLITTER_SOPCLASSUIDSPLITTER_HPP__
9 
10 #include "fwDicomIOFilter/config.hpp"
11 #include "fwDicomIOFilter/splitter/TagValueSplitter.hpp"
12 
13 #include <fwMedData/DicomSeries.hpp>
14 
15 namespace fwDicomIOFilter
16 {
17 namespace splitter
18 {
19 
24 {
25 public:
27  (()), ::fwDicomIOFilter::factory::New< SOPClassUIDSplitter > );
28 
30  FWDICOMIOFILTER_API SOPClassUIDSplitter(::fwDicomIOFilter::IFilter::Key key);
31 
33  FWDICOMIOFILTER_API virtual ~SOPClassUIDSplitter();
34 
36  FWDICOMIOFILTER_API virtual DicomSeriesContainerType apply(
37  const ::fwMedData::DicomSeries::sptr& series, const ::fwLog::Logger::sptr& logger) const override;
38 
40  FWDICOMIOFILTER_API virtual std::string getName() const override;
41 
43  FWDICOMIOFILTER_API virtual std::string getDescription() const override;
44 
46  FWDICOMIOFILTER_API virtual bool isConfigurationRequired() const override;
47 
48 protected:
50  static const std::string s_FILTER_NAME;
51 
53  static const std::string s_FILTER_DESCRIPTION;
54 
55 };
56 
57 } // namespace splitter
58 } // namespace fwDicomIOFilter
59 
60 #endif /* __FWDICOMIOFILTER_SPLITTER_SOPCLASSUIDSPLITTER_HPP__ */
static const std::string s_FILTER_NAME
Filter name.
static const std::string s_FILTER_DESCRIPTION
Filter description.
fwDicomIOFilter contains filters used to pre-process images before reading.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Key class used to restrict access to Filter construction. See http://www.drdobbs.com/184402053.
Filter that uses the SOPClassUID tag to split the instances.
Filter that uses a tag to split the instances.