9 #include "fwDicomIOFilter/config.hpp" 10 #include "fwDicomIOFilter/splitter/ISplitter.hpp" 12 #include <fwMedData/DicomSeries.hpp> 14 #include <dcmtk/dcmdata/dctagkey.h> 28 (()), ::fwDicomIOFilter::factory::New< TagValueInstanceRemoveSplitter > );
37 FWDICOMIOFILTER_API
virtual DicomSeriesContainerType apply(
38 const ::fwMedData::DicomSeries::sptr& series, const ::fwLog::Logger::sptr& logger)
const override;
41 FWDICOMIOFILTER_API
virtual std::string getName()
const override;
44 FWDICOMIOFILTER_API
virtual std::string getDescription()
const override;
47 FWDICOMIOFILTER_API
virtual bool isConfigurationRequired()
const override;
79 return this->m_tagValue;
85 return this->m_tagValue;
91 this->m_tagValue = _tagValue;
const std::string & getTagValue() const
Tag value used to determine if an instance must be removed.
static const std::string s_FILTER_DESCRIPTION
Filter description.
Filter that remove instances according to tag value.
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.
DcmTagKey & getTag()
Tag used to sort instances.
const DcmTagKey & getTag() const
Tag used to sort instances.
std::string & getTagValue()
Tag value used to determine if an instance must be removed.
static const std::string s_FILTER_NAME
Filter name.
DcmTagKey m_tag
Tag used to sort instances.
void setTag(const DcmTagKey &_tag)
Tag used to sort instances.
Base class for Dicom instance splitter.
std::string m_tagValue
Tag value used to determine if an instance must be removed.
void setTagValue(const std::string &_tagValue)
Tag value used to determine if an instance must be removed.