MeVisLab Toolbox Reference
mlMultiFileVolumeListRTOutput.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
6
12
13//----------------------------------------------------------------------------------
14#pragma once
15
16
17// Local includes
19
20// Base class of output module.
22
23// MLDcmtkBaseObjects include
24#include <mlRTBase.h>
25
26// ML includes
27#include <mlModuleIncludes.h>
28#include <mlListBase.h>
29
31
32// Forward to internally used classes.
33class MultiFileVolume;
34
35//----------------------------------------------------------------------------------
38//----------------------------------------------------------------------------------
40{
41public:
42
45
46protected:
47
51
53 virtual std::string _getInfosFromFile(const std::string &dcmFileName) const;
54
56 virtual void handleNotification(Field *field) override;
57
59 virtual std::string _updateReferencedObjectInfos();
60
61private:
62
64 StringField *_dcmInfoStringFld;
65
67 NotifyField* _getInfoStringFld;
68
70 BaseField* _rtObjectFld;
71
73 RTBase* _rtObject;
74
77
78};
79
Project global and OS specific declarations.
#define ML_MULTIFILE_VOLUME_LIST_RT_OUTPUTS_EXPORT
DLL export macro definition.
Field to encapsulate a pointer to an ML base object.
Definition mlFields.h:797
Base class for all fields used in the ML.
Definition mlField.h:73
The ML module base class MultiFileVolumeListBaseOutput used to implement further output modules for t...
The ML module class MultiFileVolumeListRTOutput provides additional outputs for radio therapy informa...
virtual void handleNotification(Field *field) override
Called if any field is changed.
MultiFileVolumeListRTOutput(int numInputs=0, int numOutputs=0)
Constructor.
virtual std::string _getInfosFromFile(const std::string &dcmFileName) const
Retrieve all information from give DICOM file name and return it in a std:string.
virtual void _updateVolumeInformation(MultiFileVolume *currVol) override
This is called by the super class if the volume has changed.
virtual std::string _updateReferencedObjectInfos()
Returns an information string about referenced objects if compiled, otherwise an empty string.
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
Field without value for notifications.
Definition mlFields.h:659
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:610
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Provides the base class for an additional output for a MultiFileVolumeList module.
DcmtkBase derived base object class for base objects that wrap RT related objects.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.