22 #ifndef __mlDicomModifyImagePlaneModuleFieldAddOn_H
23 #define __mlDicomModifyImagePlaneModuleFieldAddOn_H
35 bool createInputModifyTagsPluginBaseConnectorField=
false,
36 bool createOutputModifyTagsPluginBaseConnectorField=
false);
45 void updateModifiers();
47 BoolField *_modifyImageOrientationPatientField;
49 BoolField *_modifyImagePositionPatientField;
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
Field to encapsulate a boolean value.
DicomModifyImagePlaneModuleFieldAddOn(FieldContainer &fieldContainer, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Can be used to implement the copy of tag values from the given dcmTree to the fields.
void addFields() override
Add fields to field container of the FieldAddOn.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
virtual std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=NULL) override
Applies first the changes to the dcmTree as described in DicomModifyList::applyModifications() and th...
Defines the class FieldContainer to encapsulate a vector of fields (see class Field).
Field to encapsulate a string value.
#define ML_ABSTRACT_CLASS_HEADER(className)
Similar to ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non-existing export symbol.
Extended DicomModifyFieldAddOnBase class providing additionally: -Method to set input dicom tree fiel...
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.