MeVisLab Toolbox Reference
mlMultiFileVolumeListDOCOutput.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
13// Base class of output module.
15
16// ML includes
17#include <mlXMarkerList.h>
18
20
21// Forward to internally used classes.
22class MultiFileVolume;
23
24//----------------------------------------------------------------------------------
27//----------------------------------------------------------------------------------
29{
30public:
33
36
37protected:
38
40 void activateAttachments() override;
41
44
48
49private:
50
52 void _initializeFieldsAndMembers();
53
55 void _resetLoadedMembers();
56
59 std::string _saveDocument();
60
63 void _updateCDADump(const MLuint8 *data, const size_t numBytes);
64
66 StringField *_infoFld;
67
69 EnumField *_documentTypeFld;
70
72 StringField *_fileNameFld;
73
75 StringField *_fullFileNameFld;
76
78 NotifyField *_saveDocumentFld;
79
81 BoolField *_showCDADumpFld;
82
84 StringField *_cdaDumpFld;
85
88 NotifyField *_updateDOCOutputInformationDoneFld;
89
92};
93
#define MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
DLL export macro definition.
Field to encapsulate a boolean value.
Definition mlFields.h:58
Field to encapsulate an enumerated value.
Definition mlFields.h:195
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 MultiFileVolumeListDOCOutput providing an additional output for (encapsulated doc...
void _updateVolumeInformation(MultiFileVolume *currVol) override
This is called by the super class if the volume has changed.
void handleNotification(Field *field) override
Handles changes of fields.
MultiFileVolumeListDOCOutput(int numInputs=0, int numOutputs=0)
Constructor.
~MultiFileVolumeListDOCOutput() override
Destructor.
void activateAttachments() override
Called after changes of fields without handleNotification calls.
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
Field without value for notifications.
Definition mlFields.h:659
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
unsigned char MLuint8
Definition mlTypeDefs.h:109