MeVisLab Toolbox Reference
mlRTObjectToDicomTree.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
12//----------------------------------------------------------------------------------
13
14#pragma once
15
16#include "librarySystem.h"
17#include <mlMutableDicomTree.h>
18#include <mlDRTDoseIODBase.h>
19#include <mlDRTImageIODBase.h>
21#include <mlDRTIonPlanIODBase.h>
22#include <mlDRTPlanIODBase.h>
25#include <mlModuleIncludes.h>
26
27ML_START_NAMESPACE
28
31{
32public:
33
36
38 ~RTObjectToDicomTree () override {};
39
41 void handleNotification (Field *field) override;
42
44 virtual void activateAttachments();
45
46private:
47
49 NotifyField* _updateFld;
51 BoolField* _autoApplyFld;
53 BaseField* _rtObjectFld;
55 BaseField* _dicomTreeRefCountedOutputFld;
56
58 BoolField* _isBaseInputValidFld;
60 BoolField* _isBaseOutputValidFld;
62 StringField* _statusFld;
63
65 RTBase* _rtBaseObject;
66 DCMTree::TreePtr _dicomTree;
67
68
69protected:
70
71 void _update();
75};
76
77ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDCMTKMLCONVERTERMODULES_EXPORT
Field to encapsulate a pointer to an ML base object.
Definition mlFields.h:729
Field to encapsulate a boolean value.
Definition mlFields.h:56
Base class for all fields used in the ML.
Definition mlField.h:73
Base class for an image processing module of the ML.
Definition mlModule.h:151
Field without value for notifications.
Definition mlFields.h:598
DcmtkBase derived base object class for base objects that wrap RT related objects.
Definition mlRTBase.h:34
Module that converts a RT Object Base to a DicomTree which can be used with other DicomModify modules...
virtual void activateAttachments()
Reset field values after module (re)load or clone.
RTObjectToDicomTree()
Constructor.
void handleNotification(Field *field) override
Handle field changes of the field field.
~RTObjectToDicomTree() override
Destructor.
Field to encapsulate a string value.
Definition mlFields.h:553
#define ML_MODULE_CLASS_HEADER(className)
Similar to ML_CLASS_HEADER for the usage of derived classes from Module.
Base object class for passing DRTDoseIOD objects between MeVisLab modules.
Base object class for passing DRTImageIOD objects between MeVisLab modules.
Base object class for passing DRTIonBeamsTreatmentRecordIOD objects between MeVisLab modules.
Base object class for passing DRTIonPlanIOD objects between MeVisLab modules.
Base object class for passing DRTPlanIOD objects between MeVisLab modules.
Base object class for passing DRTStructureSetIOD objects between MeVisLab modules.
Base object class for passing DRTTreatmentSummaryRecordIOD objects between MeVisLab modules.
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
Definition DCMTree_Lib.h:66