fw4spl
TagValueConfigurableSorter.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
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 #pragma once
8 
9 #include "fwDicomIOFilterQt/config.hpp"
10 
11 #include <fwDicomIOFilter/sorter/TagValueSorter.hpp>
12 
13 #include <fwMedData/DicomSeries.hpp>
14 
15 namespace fwDicomIOFilterQt
16 {
17 namespace sorter
18 {
19 
24 {
25 public:
27  (()), ::fwDicomIOFilter::factory::New< TagValueConfigurableSorter > );
28 
30  FWDICOMIOFILTERQT_API TagValueConfigurableSorter(::fwDicomIOFilter::IFilter::Key key);
31 
33  FWDICOMIOFILTERQT_API virtual ~TagValueConfigurableSorter();
34 
36  FWDICOMIOFILTERQT_API virtual std::string getName() const override;
37 
39  FWDICOMIOFILTERQT_API virtual std::string getDescription() const override;
40 
42  FWDICOMIOFILTERQT_API virtual bool isConfigurationRequired() const override;
43 
45  FWDICOMIOFILTERQT_API virtual bool isConfigurableWithGUI() const override;
46 
48  FWDICOMIOFILTERQT_API virtual void configureWithGUI() override;
49 
50 protected:
52  FWDICOMIOFILTERQT_API static const std::string s_FILTER_NAME;
53 
55  FWDICOMIOFILTERQT_API static const std::string s_FILTER_DESCRIPTION;
56 
57 };
58 
59 } // namespace sorter
60 } // namespace fwDicomIOFilterQt
static FWDICOMIOFILTERQT_API const std::string s_FILTER_DESCRIPTION
Filter description.
Filter that uses a tag to sort the instances.
Filter that uses a tag to sort 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.
fwDicomIOFilterQt contains filters used to pre-process images before reading.
static FWDICOMIOFILTERQT_API const std::string s_FILTER_NAME
Filter name.