fw4spl
ImageTypeSplitter.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_IMAGETYPESPLITTER_HPP__
8 #define __FWDICOMIOFILTER_SPLITTER_IMAGETYPESPLITTER_HPP__
9 
10 #include "fwDicomIOFilter/config.hpp"
11 #include "fwDicomIOFilter/splitter/TagValueSplitter.hpp"
12 
13 namespace fwDicomIOFilter
14 {
15 namespace splitter
16 {
17 
21 class FWDICOMIOFILTER_CLASS_API ImageTypeSplitter : public ::fwDicomIOFilter::splitter::TagValueSplitter
22 {
23 public:
25  (()), ::fwDicomIOFilter::factory::New< ImageTypeSplitter > );
26 
28  FWDICOMIOFILTER_API ImageTypeSplitter(::fwDicomIOFilter::IFilter::Key key);
29 
31  FWDICOMIOFILTER_API virtual ~ImageTypeSplitter();
32 
34  FWDICOMIOFILTER_API virtual std::string getName() const override;
35 
37  FWDICOMIOFILTER_API virtual std::string getDescription() const override;
38 
40  FWDICOMIOFILTER_API virtual bool isConfigurationRequired() const override;
41 
42 protected:
44  static const std::string s_FILTER_NAME;
45 
47  static const std::string s_FILTER_DESCRIPTION;
48 
49 };
50 
51 } // namespace splitter
52 } // namespace fwDicomIOFilter
53 
54 #endif /* __FWDICOMIOFILTER_SPLITTER_IMAGETYPESPLITTER_HPP__ */
fwDicomIOFilter contains filters used to pre-process images before reading.
Filter that uses the ImageType tag to split the instances.
#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.
static const std::string s_FILTER_NAME
Filter name.
static const std::string s_FILTER_DESCRIPTION
Filter description.
Filter that uses a tag to split the instances.
Base class for Dicom instance splitter.
Definition: ISplitter.hpp:23