MeVisLab Toolbox Reference
mlDicomContributingEquipmentSettings.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
6 
11 //----------------------------------------------------------------------------------
12 #pragma once
13 
16 
17 ML_START_NAMESPACE
18 
22 
25 
33  void appendTo(DCMTree::TreePtr dcmTree,
34  const std::string &purposeOfReferenceCodeSequenceCodeValue="109106",
35  const std::string &purposeOfReferenceCodeSequenceCodingScheme="DCM",
36  const std::string &purposeOfReferenceCodeSequenceCodeMeaning="Enhanced Multi-frame Conversion Equipment",
37  const std::string &contributionDescriptionValue="Legacy Enhanced Image created from Classic Images");
38 
41 
43  static void copyTo(DCMTree::Const_TagPtr tagPtr, DCMTree::TreePtr outTree);
44 
49 
52 
56  DCMTree::TagPtr institutionName; // All other are Type 3.
72 };
73 
74 ML_END_NAMESPACE
Project global and OS specific declarations.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
boost::shared_ptr< const Tag > Const_TagPtr
Definition: DCMTree_Lib.h:63
boost::shared_ptr< const Tree > Const_TreePtr
Definition: DCMTree_Lib.h:73
boost::shared_ptr< Tag > TagPtr
shared-pointer to tag
Definition: DCMTree_Lib.h:59
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70
unsigned int RawTagId
Definition: DCMTree_Lib.h:147
Helper class to inherit, buffer and set an entry of a Contributing Equipment Sequence (0018,...
DCMTree::TreePtr recentlyAddedContributingEquipmentSequenceItem
Stores the most recently added item to the ContributingEquipmentSequence.
DCMTree::TagPtr purposeOfReferenceCodeSequence
Tag(s) of an item of Contributing Equipment Sequence (0018,A001), see C.12.1 SOP Common Module.
static void copyTo(DCMTree::Const_TagPtr tagPtr, DCMTree::TreePtr outTree)
Helper to copy tagPtr to outTree if tagPtr and outTree are valid otherwise it does nothing.
ContributingEquipmentSettings(DCMTree::Const_TreePtr inputTree)
Constructor initializing all members from inputTree as far as possible, all others are set to nullptr...
void appendTo(DCMTree::TreePtr dcmTree, const std::string &purposeOfReferenceCodeSequenceCodeValue="109106", const std::string &purposeOfReferenceCodeSequenceCodingScheme="DCM", const std::string &purposeOfReferenceCodeSequenceCodeMeaning="Enhanced Multi-frame Conversion Equipment", const std::string &contributionDescriptionValue="Legacy Enhanced Image created from Classic Images")
Ignore call if dcmTree is nullptr; otherwise copy (or if nullptr create) a contributingEquipmentSeque...
static DCMTree::TagPtr copyFrom(DCMTree::Const_TreePtr inputTree, DCMTree::RawTagId tagId)
Helper to copy tags from inputTree if possible or return nullptr if not available.
DCMTree::TagPtr contributingEquipmentSequence
Type 3 but "The new Composite Instance shall contain the Contributing Equipment Sequence (0018,...