13 #ifndef mitkDICOMImageBlockDescriptor_h 14 #define mitkDICOMImageBlockDescriptor_h 28 #include <unordered_map> 47 return "DICOMCachedValueLookupTable";
51 Superclass&
operator=(
const Superclass& other)
override {
return Superclass::operator=(other); }
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;
182 void SetAdditionalTagsOfInterest(
const AdditionalTagsMapType& tagMap);
196 void SetTagLookupTableToPropertyFunctor(TagLookupTableToPropertyFunctor);
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;
229 AdditionalTagsMapType m_AdditionalTagMap;
230 std::set<std::string> m_FoundAdditionalTags;
232 TagLookupTableToPropertyFunctor m_PropertyFunctor;
DICOMCachedValueLookupTable Self
std::vector< DICOMTag > DICOMTagList
const char * GetNameOfClass() const override
DataCollection - Class to facilitate loading/accessing structured data.
GenericLookupTable< DICOMCachedValueInfo > Superclass
PixelSpacingInterpretation
How the mitk::Image spacing should be interpreted (see mitk::DICOMFileReader).
std::map< DICOMTagPath, std::string > AdditionalTagsMapType
Template class for generating lookup-tables.
std::function< mitk::BaseProperty::Pointer(const DICOMCachedValueLookupTable &) > TagLookupTableToPropertyFunctor
Superclass & operator=(const Superclass &other) override
unsigned int SliceInTimePoint
Abstract base class for properties.
std::vector< DICOMImageFrameInfo::Pointer > DICOMImageFrameList
Image class for storing images.
DICOMCachedValueLookupTable()
Output descriptor for DICOMFileReader.
ReaderImplementationLevel
Describes how well the reader is tested for a certain file type (see mitk::DICOMFileReader).
std::vector< bool > BoolList
~DICOMCachedValueLookupTable() override