Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
Manages the module field interface according to DICOM Image Plane Module, C.7.6.2.
DicomImagePlaneModuleTagInterface(Module &modRef)
Constructor, setting the reference of the module for which the fields shall be managed.
DoubleField * _sliceThicknessFld
The Thickness of pixels in the z-dimension to be written; usually derived from a connected input.
Vector2Field * _pixelSpacingFld
Fields.
Vector3Field * _imagePositionPatientFld
The ImagePositionPatient tag to be written; usually derived from a connected input.
Vector6Field * _imageOrientationPatientFld
The ImageOrientationPatient tag to be written; usually derived from a connected input.
void addFields() override
Add fields to field container of module.
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
Field to encapsulate a double value.
Defines the class FieldContainer to encapsulate a vector of fields (see class Field).
Base class for an image processing module of the ML.
Field to encapsulate a vector of two double values.
Field to encapsulate a vector of three double values.
Field to encapsulate a vector of six double values.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.