13 #ifndef mitkDICOMImageBlockDescriptor_h
14 #define mitkDICOMImageBlockDescriptor_h
29 #include <unordered_map>
48 return "DICOMCachedValueLookupTable";
106 void SetProperty(
const std::string& key,
BaseProperty* value);
108 BaseProperty* GetProperty(
const std::string& key)
const;
111 std::string GetPropertyAsString(
const std::string&)
const;
121 void SetFlag(
const std::string& key,
bool value);
123 bool GetFlag(
const std::string& key,
bool defaultValue)
const;
126 void SetIntProperty(
const std::string& key,
int value);
128 int GetIntProperty(
const std::string& key,
int defaultValue)
const;
131 const std::string &contextName =
"",
132 bool fallBackOnDefaultContext =
true)
const override;
134 std::vector<std::string> GetPropertyKeys(
const std::string &contextName =
"",
135 bool includeDefaultContext =
false)
const override;
137 std::vector<std::string> GetPropertyContextNames()
const override;
142 void SetSliceIsLoaded(
unsigned int index,
bool isLoaded);
144 bool IsSliceLoaded(
unsigned int index)
const;
146 bool AllSlicesAreLoaded()
const;
162 void SetSOPClassUID(
const std::string& uid);
164 std::string GetSOPClassUID()
const;
166 std::string GetSOPClassUIDAsName()
const;
169 int GetNumberOfTimeSteps()
const;
171 int GetNumberOfFramesPerTimeStep()
const;
208 void Print(std::ostream& os,
bool filenameDetails)
const;
213 std::string GetPixelSpacing()
const;
214 std::string GetImagerPixelSpacing()
const;
218 void UpdateImageDescribingProperties()
const;
222 double stringtodouble(
const std::string& str)
const;
237 mutable bool m_PropertiesOutOfDate;
240 std::set<std::string> m_FoundAdditionalTags;