13 #ifndef mitkDICOMImageBlockDescriptor_h
14 #define mitkDICOMImageBlockDescriptor_h
28 #include <unordered_map>
47 return "DICOMCachedValueLookupTable";
105 void SetProperty(
const std::string& key,
BaseProperty* value);
107 BaseProperty* GetProperty(
const std::string& key)
const;
110 std::string GetPropertyAsString(
const std::string&)
const;
113 void SetFlag(
const std::string& key,
bool value);
115 bool GetFlag(
const std::string& key,
bool defaultValue)
const;
118 void SetIntProperty(
const std::string& key,
int value);
120 int GetIntProperty(
const std::string& key,
int defaultValue)
const;
123 const std::string &contextName =
"",
124 bool fallBackOnDefaultContext =
true)
const override;
126 std::vector<std::string> GetPropertyKeys(
const std::string &contextName =
"",
127 bool includeDefaultContext =
false)
const override;
129 std::vector<std::string> GetPropertyContextNames()
const override;
134 void SetSliceIsLoaded(
unsigned int index,
bool isLoaded);
136 bool IsSliceLoaded(
unsigned int index)
const;
138 bool AllSlicesAreLoaded()
const;
154 void SetSOPClassUID(
const std::string& uid);
156 std::string GetSOPClassUID()
const;
158 std::string GetSOPClassUIDAsName()
const;
161 int GetNumberOfTimeSteps()
const;
163 int GetNumberOfFramesPerTimeStep()
const;
200 void Print(std::ostream& os,
bool filenameDetails)
const;
205 std::string GetPixelSpacing()
const;
206 std::string GetImagerPixelSpacing()
const;
210 void UpdateImageDescribingProperties()
const;
214 double stringtodouble(
const std::string& str)
const;
227 mutable bool m_PropertiesOutOfDate;
230 std::set<std::string> m_FoundAdditionalTags;