MeVisLab Toolbox Reference
DICOMCachedIOFileHandlePythonPlugin.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
6
12//----------------------------------------------------------------------------------
13#pragma once
14
15// Local includes.
17
18// DICOMCachedIO includes.
20
23
24template<typename CT>
25class DICOMCachedIOFileHandleBase;
26typedef DICOMCachedIOFileHandleBase<char> DICOMCachedIOFileHandle;
29
30// QT includes.
31#include <FMEThirdPartyWarningsDisable.h>
32#include <QObject>
33#include <FMEThirdPartyWarningsRestore.h>
34
52class DICOMCachedIOFileHandlePythonPlugin: public QObject, public ML_NAMESPACE::DICOMCachedIOFileHandlePlugin
53{
55
56public:
67 virtual std::string resolveFilename(const ML_NAMESPACE::DICOMCachedIOFileHandle &fileHandle) override;
68public slots:
71 virtual void setResolvedFilename(QString filename);
72protected:
74 std::string _filename;
75
76 signals:
81};
Project global and OS specific declarations.
The DICOMCachedIOFileHandlePythonPlugin class can be used to resolve DICOMCachedIOFileHandle from pyt...
virtual void setResolvedFilename(QString filename)
Function to set the resolved filename.
virtual std::string resolveFilename(const ml::DICOMCachedIOFileHandle &fileHandle) override
Resolves a filename for a given DICOMCachedIOFileHandle.
void updateFilename(QString *oldFilename)
Qt or python objects can connect to this signal.
Header file for class resolving filenames from a given identifier (url,etc...) for DICOM importing mo...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
DICOMCachedIOFileHandleBase< char > DICOMCachedIOFileHandle
"Forward" to DICOMCachedIOFileHandle.