MeVisLab Toolbox Reference
mlDirectDicomImportImporterBase.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// Local includes
15
16// Progress and log handler from ReleaseTools.
17#include <mlProgressLogger.h>
18
19// ML includes
20#include <mlTypeDefs.h>
21#include <FMEThirdPartyWarningsDisable.h>
22#include <string>
23#include <FMEThirdPartyWarningsRestore.h>
24
25// Message Base class.
27
28// Forward to internally used classes.
29class imageData;
30
31ML_START_NAMESPACE
32
33// Forward to internally used classes.
34class DirectDicomImport;
35class MultiFileVolumeList;
36class FileListFilterPluginBase;
37namespace FileListTools {
38 class FileList;
39}
40
41//----------------------------------------------------------------------------------
43//----------------------------------------------------------------------------------
45
46 public:
47
50
53
57 virtual void appendFields(FieldContainer & /*fieldContainer*/){ };
58
60 virtual void handleNotification(Field &/*field*/){ };
61
64 virtual void import(const FileListTools::FileList &fileList) = 0;
65
68 void updateProgressIndicator(const std::string &info,
69 float percState) override;
70
74 void _updateConsole(bool fullUpdate=true) override;
75
77 virtual DicomConfigurableMessageFilterBaseRefCountedPtr getMessageCollector() const;
78
79 protected:
83
84 private:
85
88 DirectDicomImport &_ddiOp;
89
95};
96
97ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORT_EXPORT
Only for diagnostic purposes.
virtual MultiFileVolumeList & _getOutVolumeList()
virtual DicomConfigurableMessageFilterBaseRefCountedPtr getMessageCollector() const
Privides access to the message collector of the internally referenced DDI instance.
~DirectDicomImportImporterBase() override
Destructor.
virtual void handleNotification(Field &)
Handles all field changes related to fields created in appendFields().
DirectDicomImportImporterBase(DirectDicomImport &ddiOp)
Constructor using a DirectDicomImport instance associated with.
void updateProgressIndicator(const std::string &info, float percState) override
void _updateConsole(bool fullUpdate=true) override
A tool class to manage a list of file/frame names/urls associated with attributes.
ProgressLogger(std::stringstream *outputStream=nullptr, NotifyField *intCheckField=nullptr, StringField *statusField=nullptr, bool useRichTextCoding=true)