The sorting/splitting building-block of DICOMITKSeriesGDCMReader.
More...
#include <mitkDICOMDatasetSorter.h>
The sorting/splitting building-block of DICOMITKSeriesGDCMReader.
This class describes the interface of the sorting/splitting process described as part of DICOMITKSeriesGDCMReader::AnalyzeInputFiles() (see Loading strategy).
The procedure is simple:
- take a list of input datasets (DICOMDatasetAccess)
- sort them (to be defined by sub-classes, based on specific tags)
- return the sorting result as outputs (the single input might be distributed into multiple outputs)
The simplest and most generic form of sorting is implemented in sub-class DICOMTagBasedSorter.
Definition at line 41 of file mitkDICOMDatasetSorter.h.
◆ DICOMDatasetSorter() [1/2]
| mitk::DICOMDatasetSorter::DICOMDatasetSorter |
( |
| ) |
|
|
protected |
◆ ~DICOMDatasetSorter()
| mitk::DICOMDatasetSorter::~DICOMDatasetSorter |
( |
| ) |
|
|
overrideprotected |
◆ DICOMDatasetSorter() [2/2]
◆ ClearOutputs()
| void mitk::DICOMDatasetSorter::ClearOutputs |
( |
| ) |
|
|
protected |
◆ GetInput()
Get the input datasets.
- Returns
- Const reference to the input dataset list.
◆ GetNumberOfOutputs()
| unsigned int mitk::DICOMDatasetSorter::GetNumberOfOutputs |
( |
| ) |
const |
Get the number of output groups after sorting.
- Returns
- The number of output dataset lists.
◆ GetOutput() [1/2]
Get a specific output group (non-const).
- Parameters
-
| [in] | index | The index of the output group to retrieve. |
- Returns
- Reference to the output dataset list.
- Precondition
- index must be less than GetNumberOfOutputs().
◆ GetOutput() [2/2]
| const DICOMDatasetList& mitk::DICOMDatasetSorter::GetOutput |
( |
unsigned int |
index | ) |
const |
Get a specific output group (const).
- Parameters
-
| [in] | index | The index of the output group to retrieve. |
- Returns
- Const reference to the output dataset list.
- Precondition
- index must be less than GetNumberOfOutputs().
◆ GetSplitReason()
Get the split reason for a specific output group.
- Parameters
-
| [in] | index | The index of the output group. |
- Returns
- A const smart pointer to the split reason, or nullptr if not set.
- Precondition
- index must be less than GetNumberOfOutputs().
◆ GetTagsOfInterest()
| virtual DICOMTagList mitk::DICOMDatasetSorter::GetTagsOfInterest |
( |
| ) |
|
|
pure virtual |
◆ mitkClassMacroItkParent()
| mitk::DICOMDatasetSorter::mitkClassMacroItkParent |
( |
DICOMDatasetSorter |
, |
|
|
itk::LightObject |
|
|
) |
| |
◆ operator=()
◆ operator==()
| virtual bool mitk::DICOMDatasetSorter::operator== |
( |
const DICOMDatasetSorter & |
other | ) |
const |
|
pure virtual |
◆ PrintConfiguration()
| virtual void mitk::DICOMDatasetSorter::PrintConfiguration |
( |
std::ostream & |
os, |
|
|
const std::string & |
indent = "" |
|
) |
| const |
|
pure virtual |
◆ SetInput()
Set the input datasets for sorting.
- Parameters
-
◆ SetNumberOfOutputs()
| void mitk::DICOMDatasetSorter::SetNumberOfOutputs |
( |
unsigned int |
numberOfOutputs | ) |
|
|
protected |
◆ SetOutput()
◆ Sort()
| virtual void mitk::DICOMDatasetSorter::Sort |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: