MeVisLab Toolbox Reference
mlMultiFileVolumeListFIDOutput.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 
19 ML_START_NAMESPACE
20 
21 // Forward to internally used classes.
22 class MultiFileVolume;
23 
24 //----------------------------------------------------------------------------------
27 //----------------------------------------------------------------------------------
29 {
30 public:
32  MultiFileVolumeListFIDOutput(int numInputs=0, int numOutputs=0);
33 
36 
37 protected:
38 
40  void activateAttachments() override;
41 
43  void handleNotification(Field *field) override;
44 
47  void _updateVolumeInformation(MultiFileVolume *currVol) override;
48 
49 private:
50 
52  void _initializeFieldsAndMembers();
53 
55  void _resetLoadedMembers();
56 
57 
59  StringField *_infoFld;
60 
62  BaseField *_outXMarkerListFld;
63 
65  XMarkerList _outXMarkerList;
66 
69  NotifyField *_updateFIDOutputInformationDoneFld;
70 
73 };
74 
75 ML_END_NAMESPACE
#define MLDIRECTDICOMIMPORTOUTPUTS_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 MultiFileVolumeListFIDOutput providing an additional output for FID (fiducial) DI...
void _updateVolumeInformation(MultiFileVolume *currVol) override
This is called by the super class if the volume has changed.
~MultiFileVolumeListFIDOutput() override
Destructor.
void handleNotification(Field *field) override
Handles changes of fields.
MultiFileVolumeListFIDOutput(int numInputs=0, int numOutputs=0)
Constructor.
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:1049
Field to encapsulate a string value.
Definition: mlFields.h:1000
Base object class XMarkerList (derived from BaseListTemplate) specialized for XMarker items.
#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.