MeVisLab Toolbox Reference
mlDicomTreeToRTObject.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
12//----------------------------------------------------------------------------------
13#pragma once
14
15#include "librarySystem.h"
16#include <mlModuleIncludes.h>
17#include <DCMTree_Lib.h>
18
19ML_START_NAMESPACE
20
21class RTBase;
22
25{
26public:
27
30
32 virtual ~DicomTreeToRTObject () override{};
33
35 virtual void handleNotification (Field *field) override;
36
38 virtual void activateAttachments() override;
39
40private:
41
43 NotifyField* _updateFld;
45 BoolField* _autoApplyFld;
47 BaseField* _rtObjectOutputFld;
49 BaseField* _dicomTreeRefCountedInputFld;
50
52 BoolField* _isBaseInputValidFld;
54 BoolField* _isBaseOutputValidFld;
56 StringField* _statusFld;
57
59 RTBase* _rtBaseObject;
60 DCMTree::TreePtr _dicomTree;
61
62
63protected:
64
65 void _update();
70};
71
72ML_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
Module that converts a RT Object Base to a DicomTree which can be used with other DicomModify modules...
virtual void activateAttachments() override
Reset field values after module (re)load or clone.
virtual ~DicomTreeToRTObject() override
Destructor.
virtual void handleNotification(Field *field) override
Handle field changes of the field field.
DicomTreeToRTObject()
Constructor.
bool _createRTObjectOutputBaseObject()
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
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.
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
Definition DCMTree_Lib.h:66