Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkBaseDICOMReaderService.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkBaseDICOMReaderService_h
14
#define mitkBaseDICOMReaderService_h
15
16
#include <
mitkAbstractFileReader.h
>
17
#include <
mitkDICOMFileReader.h
>
18
19
#include "
MitkDICOMExports.h
"
20
21
namespace
mitk
{
22
27
class
MITKDICOM_EXPORT
BaseDICOMReaderService
:
public
AbstractFileReader
28
{
29
public
:
30
using
AbstractFileReader::Read
;
31
32
IFileReader::ConfidenceLevel
GetConfidenceLevel()
const override
;
33
34
protected
:
35
BaseDICOMReaderService
(
const
std::string& description);
36
BaseDICOMReaderService
(
const
mitk::CustomMimeType
& customType,
const
std::string& description);
37
40
std::vector<itk::SmartPointer<BaseData>> DoRead()
override
;
41
44
mitk::StringList
GetDICOMFilesInSameDirectory
()
const
;
45
48
virtual
mitk::DICOMFileReader::Pointer GetReader(
const
mitk::StringList
& relevantFiles)
const
= 0;
49
50
void
SetOnlyRegardOwnSeries(
bool
);
51
bool
GetOnlyRegardOwnSeries()
const
;
52
53
private
:
58
bool
m_OnlyRegardOwnSeries =
true
;
59
};
60
61
62
class
IPropertyProvider
;
63
66
std::string
MITKDICOM_EXPORT
GenerateNameFromDICOMProperties
(
const
mitk::IPropertyProvider
* provider);
67
68
}
69
70
#endif
mitk::AbstractFileReader
Base class for creating mitk::BaseData objects from files or streams.
Definition:
mitkAbstractFileReader.h:42
mitk::CustomMimeType
The CustomMimeType class represents a custom mime-type which may be registered as a service object....
Definition:
mitkCustomMimeType.h:44
MitkDICOMExports.h
mitk::GetDICOMFilesInSameDirectory
DICOMFilePathList MITKDICOM_EXPORT GetDICOMFilesInSameDirectory(const std::string &filePath)
mitkDICOMFileReader.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkAbstractFileReader.h
mitk::IPropertyProvider
Definition:
mitkIPropertyProvider.h:24
MITKDICOM_EXPORT
#define MITKDICOM_EXPORT
Definition:
MitkDICOMExports.h:15
mitk::GenerateNameFromDICOMProperties
std::string MITKDICOM_EXPORT GenerateNameFromDICOMProperties(const mitk::IPropertyProvider *provider)
mitk::IFileIO::ConfidenceLevel
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data.
Definition:
mitkIFileIO.h:45
mitk::StringList
std::vector< std::string > StringList
Definition:
mitkDICOMEnums.h:22
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
mitk::BaseDICOMReaderService
Definition:
mitkBaseDICOMReaderService.h:27
src
MITK
Modules
DICOM
include
mitkBaseDICOMReaderService.h
Generated on Mon Dec 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17