comparison OrthancFramework/Sources/DicomParsing/DicomModification.h @ 5495:4b3f5986eca1

Added a 'KeepLabels' option in /modify routes (default = false)
author Alain Mazy <am@osimis.io>
date Mon, 22 Jan 2024 17:14:11 +0100
parents 48b8dae6dc77
children f7adfb22e20e
comparison
equal deleted inserted replaced
5491:42e6593aa78e 5495:4b3f5986eca1
129 SetOfTags removals_; 129 SetOfTags removals_;
130 SetOfTags clearings_; 130 SetOfTags clearings_;
131 SetOfTags keep_; 131 SetOfTags keep_;
132 Replacements replacements_; 132 Replacements replacements_;
133 bool removePrivateTags_; 133 bool removePrivateTags_;
134 bool keepLabels_;
134 ResourceType level_; 135 ResourceType level_;
135 UidMap uidMap_; 136 UidMap uidMap_;
136 SetOfTags privateTagsToKeep_; 137 SetOfTags privateTagsToKeep_;
137 bool allowManualIdentifiers_; 138 bool allowManualIdentifiers_;
138 bool keepStudyInstanceUid_; 139 bool keepStudyInstanceUid_;
221 222
222 void SetRemovePrivateTags(bool removed); 223 void SetRemovePrivateTags(bool removed);
223 224
224 bool ArePrivateTagsRemoved() const; 225 bool ArePrivateTagsRemoved() const;
225 226
227 void SetKeepLabels(bool keep);
228
229 bool AreLabelsKept() const;
230
226 void SetLevel(ResourceType level); 231 void SetLevel(ResourceType level);
227 232
228 ResourceType GetLevel() const; 233 ResourceType GetLevel() const;
229 234
230 void SetupAnonymization(DicomVersion version); 235 void SetupAnonymization(DicomVersion version);