13 #ifndef mitkDICOMFileReader_h 14 #define mitkDICOMFileReader_h 16 #include "itkObjectFactory.h" 25 #include <unordered_map> 61 static bool IsDICOM(
const std::string& filename );
63 virtual bool CanHandleFile(
const std::string& filename ) = 0;
66 void SetInputFiles(
const StringList& filenames );
71 virtual void AnalyzeInputFiles() = 0;
74 unsigned int GetNumberOfOutputs()
const;
82 virtual bool LoadImages() = 0;
87 virtual void SetTagCache(
const DICOMTagCache::Pointer& ) = 0;
90 void SetConfigurationLabel(
const std::string& );
92 std::string GetConfigurationLabel()
const;
94 void SetConfigurationDescription(
const std::string& );
96 std::string GetConfigurationDescription()
const;
99 void PrintConfiguration( std::ostream& os )
const;
101 void PrintOutputs( std::ostream& os,
bool filenameDetails =
false )
const;
120 virtual void SetAdditionalTagsOfInterest(
const AdditionalTagsMapType& tagList);
132 virtual void SetTagLookupTableToPropertyFunctor(
143 void SetNumberOfOutputs(
unsigned int numberOfOutputs );
150 virtual void InternalPrintConfiguration( std::ostream& os )
const = 0;
152 virtual AdditionalTagsMapType GetAdditionalTagsOfInterest()
const;
159 std::vector<DICOMImageBlockDescriptor> m_Outputs;
161 std::string m_ConfigLabel;
162 std::string m_ConfigDescription;
164 AdditionalTagsMapType m_AdditionalTagsOfInterest;
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
DataCollection - Class to facilitate loading/accessing structured data.
std::map< DICOMTagPath, std::string > AdditionalTagsMapType
std::function< mitk::BaseProperty::Pointer(const DICOMCachedValueLookupTable &) > TagLookupTableToPropertyFunctor
DICOMImageBlockDescriptor::AdditionalTagsMapType AdditionalTagsMapType
#define mitkClassMacroItkParent(className, SuperClassName)
Output descriptor for DICOMFileReader.
std::vector< std::string > StringList
std::vector< DICOMTagPath > DICOMTagPathList
Interface for DICOM readers that produce mitk::Images.