Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkDICOMDatasetSorter.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 mitkDICOMDatasetSorter_h
14
#define mitkDICOMDatasetSorter_h
15
16
#include "itkObjectFactory.h"
17
#include "
mitkCommon.h
"
18
19
#include "
mitkDICOMDatasetAccess.h
"
20
#include "
mitkIOVolumeSplitReason.h
"
21
22
namespace
mitk
23
{
24
41
class
MITKDICOM_EXPORT
DICOMDatasetSorter
:
public
itk::LightObject
42
{
43
public
:
44
45
mitkClassMacroItkParent
(
DICOMDatasetSorter
, itk::LightObject );
46
50
virtual
DICOMTagList
GetTagsOfInterest() = 0;
51
53
void
SetInput(
DICOMDatasetList
filenames);
55
const
DICOMDatasetList
& GetInput()
const
;
56
58
virtual
void
Sort() = 0;
59
61
unsigned
int
GetNumberOfOutputs()
const
;
63
const
DICOMDatasetList
& GetOutput(
unsigned
int
index)
const
;
65
DICOMDatasetList
& GetOutput(
unsigned
int
index);
66
67
IOVolumeSplitReason::ConstPointer
GetSplitReason(
unsigned
int
index)
const
;
68
70
virtual
void
PrintConfiguration(std::ostream& os,
const
std::string& indent =
""
)
const
= 0;
71
72
virtual
bool
operator==
(
const
DICOMDatasetSorter
& other)
const
= 0;
73
74
protected
:
75
76
DICOMDatasetSorter
();
77
~
DICOMDatasetSorter
()
override
;
78
79
DICOMDatasetSorter
(
const
DICOMDatasetSorter
& other);
80
DICOMDatasetSorter
& operator=(
const
DICOMDatasetSorter
& other);
81
82
void
ClearOutputs();
83
void
SetNumberOfOutputs(
unsigned
int
numberOfOutputs);
84
void
SetOutput(
unsigned
int
index,
const
DICOMDatasetList
& output,
IOVolumeSplitReason::ConstPointer
splitReason =
nullptr
);
85
86
private
:
87
88
DICOMDatasetList
m_Input;
89
std::vector< DICOMDatasetList > m_Outputs;
90
std::vector< IOVolumeSplitReason::Pointer > m_SplitReasons;
91
};
92
93
}
94
95
#endif
mitk::IOVolumeSplitReason::ConstPointer
std::shared_ptr< const IOVolumeSplitReason > ConstPointer
Definition:
mitkIOVolumeSplitReason.h:30
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::DICOMTagList
std::vector< DICOMTag > DICOMTagList
Definition:
mitkDICOMTag.h:59
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
mitkCommon.h
mitkDICOMDatasetAccess.h
MITKDICOM_EXPORT
#define MITKDICOM_EXPORT
Definition:
MitkDICOMExports.h:15
mitk::DICOMDatasetSorter
The sorting/splitting building-block of DICOMITKSeriesGDCMReader.
Definition:
mitkDICOMDatasetSorter.h:41
mitk::DICOMDatasetList
std::vector< DICOMDatasetAccess * > DICOMDatasetList
Definition:
mitkDICOMDatasetAccess.h:70
mitkIOVolumeSplitReason.h
src
MITK
Modules
DICOM
include
mitkDICOMDatasetSorter.h
Generated on Sat Nov 23 2024 02:13:10 for Medical Imaging Interaction Toolkit by
1.8.17