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 
30 ML_START_NAMESPACE
31 
32 // Forward to internally used classes.
33 class MultiFileVolume;
34 
35 //----------------------------------------------------------------------------------
38 //----------------------------------------------------------------------------------
40 {
41 public:
42 
44  MultiFileVolumeListRTOutput(int numInputs=0, int numOutputs=0);
45 
46 protected:
47 
50  virtual void _updateVolumeInformation(MultiFileVolume *currVol) override;
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 
61 private:
62 
64  StringField *_dcmInfoStringFld;
65 
67  NotifyField* _getInfoStringFld;
68 
70  BaseField* _rtObjectFld;
71 
73  RTBase* _rtObject;
74 
77 
78 };
79 
80 ML_END_NAMESPACE
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:1187
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:1049
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:1000
#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.