40class DicomEnhancedSaveAddOnPointers;
52#if defined(_USE_ENHANCED_SAVE_COMMON_INSTANCE_REFERENCE)
54 enum { NumDerivationModes = 4 };
57 enum DerivationModes {
59 DerivationImageAndFrameOfReference,
66 static const char *
const DerivationModeStrings[NumDerivationModes];
133#if defined(_USE_ENHANCED_SAVE_COMMON_INSTANCE_REFERENCE)
Project global and OS specific declarations.
#define MLDICOMOUTPUTS_EXPORT
DLL export macro definition.
_EnhancedFieldAddOnListType _fieldAddOnList
Container which handles all internally used DicomModifyFieldAddOns.
void activateAttachments() override
std::string _setEnhancedIODTags(DCMTree::TreePtr resultTree, PagedImage &inputPagedImage, DCMTree::Const_TreePtr inputDcmTree)
EnumField * _supportedIODsFld
Selector for the IOD to export.
void handleNotification(Field *field) override
Handles field changes of the field field.
EnumField * _compressionFld
Selector for supported lossless compressions.
void _inheritFieldValuesFromDCMTree(DCMTree::Const_TreePtr dcmTree) override
Overloads base class field inheritance and adds the additional tags needed by this class.
BoolField * _strictChecksFld
SupportedIODs
Enumerators for supported IODs.
@ LegacyConvertedEnhancedMR
According to A.71 Legacy Converted Enhanced MR Image IOD in DICOM Standard.
std::string _checkConsistency() const override
virtual ~DicomEnhancedSave()
Destructor.
void _updateInputState() override
Overwrites base class and sets up additional stuff in commonInstanceReferenceModuleTags.
static const char *const SupportedIODsStrings[NumSupportedIODs]
String representations of supported IODs.
void _addAndSetEnhancedPixelDataTag(DCMTree::TreePtr resultTree, PagedImage &inputPagedImage)
std::string _setUpTreeContent() override
DicomEnhancedSave()
Constructor.
ML_MODULE_CLASS_HEADER(DicomEnhancedSave)
Implements interface for the runtime type system of the ML.
void _setUpCompression(DCMTree::TreePtr resultTree)
Add tags configuring the compression scheme.
virtual void _handleCommonInstanceReferenceFieldChanges(Field *field)
Handles possible changes for CommonInstanceReference fields if compiled.
void _removeTags(DCMTree::TreePtr dcmTree, bool alsoSMFStuff)
Removes tags not needed or not permitted in the IOD; remove SMF tree sequence only if alsoSMFStuff is...
BoolField * _suppressUnassignedContentWriteFld
DicomSaveBase(int numInputs=1, int numOutputs=0)
Constructor, currently 0-3 input images are allowed to be set by derived modules.
Header file of a class managing many DicomModifFieldAddOns to simplify usage of multiple AddOns.
Header file for the ML module base class DicomSaveBase.
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
DicomModifyFieldAddOnList< DicomModifyFieldAddOnBase, DicomEnhancedSaveAddOnPointers * > _EnhancedFieldAddOnListType
Container type which handles all internally used DicomModifyFieldAddOns.