7 #include "fwDicomIOFilter/sorter/InstanceNumberSorter.hpp" 8 #include "fwDicomIOFilter/registry/macros.hpp" 9 #include "fwDicomIOFilter/exceptions/FilterFailure.hpp" 11 #include <dcmtk/config/osconfig.h> 12 #include <dcmtk/dcmnet/diutil.h> 13 #include <dcmtk/dcmdata/dcfilefo.h> 14 #include <dcmtk/dcmdata/dcdeftag.h> 15 #include <dcmtk/dcmimgle/dcmimage.h> 26 "Sort instances using <i>InstanceNumber</i> tag.";
33 this->
setTag(DCM_InstanceNumber);
virtual FWDICOMIOFILTER_API std::string getName() const override
Return the name of the filter.
fwDicomIOFilter contains filters used to pre-process images before reading.
Filter that uses a tag to sort the instances.
Filter that uses the InstanceNumber tag to sort the instances.
Key class used to restrict access to Filter construction. See http://www.drdobbs.com/184402053.
static const std::string s_FILTER_DESCRIPTION
Filter description.
virtual FWDICOMIOFILTER_API std::string getDescription() const override
Return the description of the filter.
virtual FWDICOMIOFILTER_API bool isConfigurationRequired() const override
Return true if a configuration is required.
virtual FWDICOMIOFILTER_API ~InstanceNumberSorter()
Destructor.
static const std::string s_FILTER_NAME
Filter name.
void setTag(const DcmTagKey &_tag)
Tag used to sort instances.
FWDICOMIOFILTER_API InstanceNumberSorter(::fwDicomIOFilter::IFilter::Key key)
Constructor.