MeVisLab Toolbox Reference
mlDicomModifyTagsVariousFieldAddOns.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
7 
12 //----------------------------------------------------------------------------------
13 #pragma once
14 
15 // Local includes
16 #include "MLDicomModifySystem.h"
17 
18 // Field AddOns tag manipulators.
25 
26 ML_START_NAMESPACE
27 
28 //----------------------------------------------------------------------------------
32 //----------------------------------------------------------------------------------
34 {
35 public:
36 
39 
41  void addFields() override;
42 
46 
49 
55  virtual std::string applyModifications(DCMTree::TreePtr dcmTree,
56  const FieldContainer *treeInfos=nullptr) override;
57 
58 private:
59 
61 
63  DicomModifyOrdinaryFieldAddOn _ordinaryTagManipulatorFieldAddOn;
65  DicomModifyOtherTagOperationsFieldAddOn _otherTagOperationsFieldAddOn;
67  DicomModifyPrivateRemoveFieldAddOn _privateRemoveTagManipulatorFieldAddOn;
69  DicomModifyPrivateAddFieldAddOn _privateAddTagManipulatorFieldAddOn;
71  DicomModifySequenceFieldAddOn _sequenceTagManipulatorFieldAddOn;
72 
74 
77 };
78 
79 ML_END_NAMESPACE
Project global and OS specific declarations.
#define ML_DICOM_MODIFY_EXPORT
DLL export macro definition.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
FieldAddOn class managing fields to represent functionality from DicomModifyOrdinary to modify ordina...
FieldAddOn class managing fields to represent functionality from DicomModifyOtherTagOperations to mod...
DicomModifyFieldAddOnBase class managing fields to represent functionality from DicomModifyPrivate to...
DicomModifyFieldAddOnBase class managing fields to represent functionality from DicomModifyPrivate to...
DicomModifyFieldAddOnBase class managing fields to represent functionality from DicomModifyOrdinary t...
Class composing many typical DicomModifyFieldAddOnBase classes to a single new and easy to use one an...
void addFields() override
Add fields to the FieldContainer.
virtual std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
Apply all DicomModify objects to dcmTree as well as all connected ones.
void handleFieldActivationChanges() override
Handles changes required after field changes without notifications according to Module::activateAttac...
FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications according to Module::handleNotification.
DicomModifyTagsVariousFieldAddOns(FieldContainer &fieldContainerRef)
Constructor creating all AddOns as members as well as ModifyList in/out connector....
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for all fields used in the ML.
Definition: mlField.h:73
#define ML_ABSTRACT_CLASS_HEADER(className)
Same like ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non existing export symbol.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
Header file of the DicomModifyFieldAddOnBase class DicomModifyOrdinaryFieldAddOn managing fields to r...
Header file of the DicomModifyFieldAddOnBase class DicomModifyOtherTagOperationsFieldAddOn which mana...
Header file of the DicomModifyFieldAddOnBase class DicomModifyPrivateAddFieldAddOn managing fields to...
Header file of the DicomModifyFieldAddOnBase class DicomModifyPrivateRemoveFieldAddOn managing fields...
Header file of the DicomModifyFieldAddOnBase class DicomModifySequenceFieldAddOn managing fields to r...
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70