Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkClassicDICOMSeriesReaderService.cpp
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 
14 
16 
17 namespace mitk {
18 
20  : BaseDICOMReaderService("MITK DICOM Reader v2 (classic config)")
21 {
22  this->RegisterService();
23 }
24 
25  DICOMFileReader::Pointer ClassicDICOMSeriesReaderService::GetReader(const mitk::StringList&) const
26 {
27  mitk::ClassicDICOMSeriesReader::Pointer reader = mitk::ClassicDICOMSeriesReader::New();
28  return reader.GetPointer();
29 };
30 
31 
32  ClassicDICOMSeriesReaderService* ClassicDICOMSeriesReaderService::Clone() const
33  {
34  return new ClassicDICOMSeriesReaderService(*this);
35  }
36 
37 }
DataCollection - Class to facilitate loading/accessing structured data.
us::ServiceRegistration< IFileReader > RegisterService(us::ModuleContext *context=us::GetModuleContext())
std::vector< std::string > StringList
mitk::DICOMFileReader::Pointer GetReader(const mitk::StringList &relevantFiles) const override