17 #ifndef mitkDICOMImageBlockDescriptor_h
18 #define mitkDICOMImageBlockDescriptor_h
31 #include <unordered_map>
50 return "DICOMCachedValueLookupTable";
108 void SetProperty(
const std::string& key,
BaseProperty* value);
110 BaseProperty* GetProperty(
const std::string& key)
const;
113 std::string GetPropertyAsString(
const std::string&)
const;
116 void SetFlag(
const std::string& key,
bool value);
118 bool GetFlag(
const std::string& key,
bool defaultValue)
const;
121 void SetIntProperty(
const std::string& key,
int value);
123 int GetIntProperty(
const std::string& key,
int defaultValue)
const;
128 void SetSliceIsLoaded(
unsigned int index,
bool isLoaded);
130 bool IsSliceLoaded(
unsigned int index)
const;
132 bool AllSlicesAreLoaded()
const;
148 void SetSOPClassUID(
const std::string& uid);
150 std::string GetSOPClassUID()
const;
152 std::string GetSOPClassUIDAsName()
const;
155 int GetNumberOfTimeSteps()
const;
157 int GetNumberOfFramesPerTimeStep()
const;
176 void SetAdditionalTagsOfInterest(
const AdditionalTagsMapType& tagMap);
190 void SetTagLookupTableToPropertyFunctor(TagLookupTableToPropertyFunctor);
194 void Print(std::ostream& os,
bool filenameDetails)
const;
199 std::string GetPixelSpacing()
const;
200 std::string GetImagerPixelSpacing()
const;
204 void UpdateImageDescribingProperties()
const;
208 double stringtodouble(
const std::string& str)
const;
221 mutable bool m_PropertiesOutOfDate;
223 AdditionalTagsMapType m_AdditionalTagMap;
224 std::set<std::string> m_FoundAdditionalTags;
226 TagLookupTableToPropertyFunctor m_PropertyFunctor;
virtual Self & operator=(const Self &other)
DICOMCachedValueLookupTable Self
virtual Superclass & operator=(const Superclass &other)
std::vector< DICOMTag > DICOMTagList
#define MITKDICOMREADER_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
GenericLookupTable< DICOMCachedValueInfo > Superclass
virtual const char * GetNameOfClass() const
std::map< DICOMTagPath, std::string > AdditionalTagsMapType
Template class for generating lookup-tables.
static void info(const char *fmt,...)
std::function< mitk::BaseProperty::Pointer(const DICOMCachedValueLookupTable &) > TagLookupTableToPropertyFunctor
ReaderImplementationLevel
Describes how well the reader is tested for a certain file type (see mitk::DICOMFileReader).
PixelSpacingInterpretation
How the mitk::Image spacing should be interpreted (see mitk::DICOMFileReader).
unsigned int SliceInTimePoint
Abstract base class for properties.
std::vector< DICOMImageFrameInfo::Pointer > DICOMImageFrameList
Image class for storing images.
DICOMCachedValueLookupTable()
Output descriptor for DICOMFileReader.
Implements a weak reference to an object.
std::vector< bool > BoolList
virtual ~DICOMCachedValueLookupTable()