Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::DICOMDatasetSorter Class Referenceabstract

The sorting/splitting building-block of DICOMITKSeriesGDCMReader. More...

#include <mitkDICOMDatasetSorter.h>

Inheritance diagram for mitk::DICOMDatasetSorter:
Collaboration diagram for mitk::DICOMDatasetSorter:

Public Member Functions

 mitkClassMacroItkParent (DICOMDatasetSorter, itk::LightObject) virtual DICOMTagList GetTagsOfInterest()=0
 Return the tags of interest (to facilitate scanning) More...
 
void SetInput (DICOMDatasetList filenames)
 Input for sorting. More...
 
const DICOMDatasetListGetInput () const
 Input for sorting. More...
 
virtual void Sort ()=0
 Sort input datasets into one or multiple outputs. More...
 
unsigned int GetNumberOfOutputs () const
 Output of the sorting process. More...
 
const DICOMDatasetListGetOutput (unsigned int index) const
 Output of the sorting process. More...
 
DICOMDatasetListGetOutput (unsigned int index)
 Output of the sorting process. More...
 
virtual void PrintConfiguration (std::ostream &os, const std::string &indent="") const =0
 Print configuration details into stream. More...
 
virtual bool operator== (const DICOMDatasetSorter &other) const =0
 

Protected Member Functions

 DICOMDatasetSorter ()
 
virtual ~DICOMDatasetSorter ()
 
 DICOMDatasetSorter (const DICOMDatasetSorter &other)
 
DICOMDatasetSorteroperator= (const DICOMDatasetSorter &other)
 
void ClearOutputs ()
 
void SetNumberOfOutputs (unsigned int numberOfOutputs)
 
void SetOutput (unsigned int index, const DICOMDatasetList &output)
 

Detailed Description

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 prodecure 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 44 of file mitkDICOMDatasetSorter.h.

Constructor & Destructor Documentation

mitk::DICOMDatasetSorter::DICOMDatasetSorter ( )
protected

Definition at line 20 of file mitkDICOMDatasetSorter.cpp.

mitk::DICOMDatasetSorter::~DICOMDatasetSorter ( )
protectedvirtual

Definition at line 26 of file mitkDICOMDatasetSorter.cpp.

mitk::DICOMDatasetSorter::DICOMDatasetSorter ( const DICOMDatasetSorter other)
protected

Definition at line 31 of file mitkDICOMDatasetSorter.cpp.

Member Function Documentation

void mitk::DICOMDatasetSorter::ClearOutputs ( )
protected

Definition at line 72 of file mitkDICOMDatasetSorter.cpp.

const mitk::DICOMDatasetList & mitk::DICOMDatasetSorter::GetInput ( void  ) const

Input for sorting.

Definition at line 58 of file mitkDICOMDatasetSorter.cpp.

unsigned int mitk::DICOMDatasetSorter::GetNumberOfOutputs ( ) const

Output of the sorting process.

Definition at line 65 of file mitkDICOMDatasetSorter.cpp.

const mitk::DICOMDatasetList & mitk::DICOMDatasetSorter::GetOutput ( unsigned int  index) const

Output of the sorting process.

Definition at line 102 of file mitkDICOMDatasetSorter.cpp.

mitk::DICOMDatasetList & mitk::DICOMDatasetSorter::GetOutput ( unsigned int  index)

Output of the sorting process.

Definition at line 109 of file mitkDICOMDatasetSorter.cpp.

mitk::DICOMDatasetSorter::mitkClassMacroItkParent ( DICOMDatasetSorter  ,
itk::LightObject   
)
pure virtual

Return the tags of interest (to facilitate scanning)

virtual bool mitk::DICOMDatasetSorter::operator== ( const DICOMDatasetSorter other) const
pure virtual
virtual void mitk::DICOMDatasetSorter::PrintConfiguration ( std::ostream &  os,
const std::string &  indent = "" 
) const
pure virtual
void mitk::DICOMDatasetSorter::SetInput ( DICOMDatasetList  filenames)

Input for sorting.

Definition at line 51 of file mitkDICOMDatasetSorter.cpp.

void mitk::DICOMDatasetSorter::SetNumberOfOutputs ( unsigned int  numberOfOutputs)
protected

Definition at line 79 of file mitkDICOMDatasetSorter.cpp.

void mitk::DICOMDatasetSorter::SetOutput ( unsigned int  index,
const DICOMDatasetList output 
)
protected

Definition at line 86 of file mitkDICOMDatasetSorter.cpp.

virtual void mitk::DICOMDatasetSorter::Sort ( )
pure virtual

Sort input datasets into one or multiple outputs.

Implemented in mitk::DICOMTagBasedSorter, mitk::EquiDistantBlocksSorter, mitk::NormalDirectionConsistencySorter, and mitk::DICOMFilenameSorter.


The documentation for this class was generated from the following files: