MeVisLab Toolbox Reference
mlDicomDeformableSpatialRegistrationModuleTagInterface.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
10 //----------------------------------------------------------------------------------
11 #pragma once
12 
15 
16 ML_START_NAMESPACE
17 
18 //----------------------------------------------------------------------------------
21 //----------------------------------------------------------------------------------
23 {
24 public:
27 
29  inline void setInputPagedImage(PagedImage *inImg){ _inImg = inImg; }
30 
32  void addFields() override;
33 
35  void inheritValues(DCMTree::Const_TreePtr dcmTree) override;
36 
40  std::string applyModifications(DCMTree::TreePtr dcmTree,
41  const FieldContainer *treeInfos=nullptr) override;
42 
46  std::string checkConsistency() const override;
47 
51 
55 
59 
63 
67 
70 
73 
76 
79 
80 private:
82  PagedImage *_inImg;
83 };
84 
85 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDICOMTAGINTERFACES_EXPORT
DLL export macro definition.
Manages the module field interface according to DICOM Deformable Spatial Registration C....
EnumField * _preDeformationMatrixTypeFld
The type of the deformation matrix specified in the PreDeformationMatrixRegistrationSequence.
Vector3Field * _imagePositionPatientFld
The ImagePositionPatient tag of the DeformableRegistrationGridSequence; usually derived from the conn...
EnumField * _postDeformationMatrixTypeFld
The type of the deformation matrix specified in the PostDeformationMatrixRegistrationSequence.
Vector6Field * _imageOrientationPatientFld
The ImageOrientationPatient tag of the DeformableRegistrationGridSequence; usually derived from the c...
void setInputPagedImage(PagedImage *inImg)
Sets the input image from which the vector grid data shall be retrieved.
Matrix4Field * _preDeformationMatrixFld
The deformation matrix specified in the PreDeformationMatrixRegistrationSequence.
void addFields() override
Add fields to field container of module.
std::string checkConsistency() const override
Checks for invalid parameters; return textual description on error, or empty string on success; requi...
EnumField * _sourceFrameOfReferenceUIDInheritanceSourceFld
Determines from where the value of the Source Frame Of Reference UID is inherited from: from the conn...
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Implements the copy of tag values from the given dcmTree to the fields.
EnumField * _worldMatrixInheritanceSourceFld
Determines from where the values of imagePositionPatient and imageOrientationPatient are inherited fr...
DicomDeformableSpatialRegistrationModuleTagInterface(Module &modRef)
Constructor, setting the reference of the module for which the fields shall be managed.
Matrix4Field * _postDeformationMatrixFld
The deformation matrix specified in the PostDeformationMatrixRegistrationSequence.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
See DicomModifyFieldAddOnBase::applyModifications() for documentation, furthermore it requires that s...
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
Field to encapsulate an enumerated value.
Definition: mlFields.h:363
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Field to encapsulate a 4x4 matrix.
Definition: mlFields.h:2420
Base class for an image processing module of the ML.
Definition: mlModule.h:156
Class which represents an image, which manages properties of an image and image data which is located...
Definition: mlPagedImage.h:70
Field to encapsulate a string value.
Definition: mlFields.h:1000
Field to encapsulate a vector of 3 double values.
Definition: mlFields.h:1538
Field to encapsulate a vector of 6 double values.
Definition: mlFields.h:1857
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
boost::shared_ptr< const Tree > Const_TreePtr
Definition: DCMTree_Lib.h:73
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70