Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDICOMNullFileReader.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkDICOMNullFileReader_h
18 #define mitkDICOMNullFileReader_h
19 
20 #include "mitkDICOMFileReader.h"
21 
22 namespace mitk
23 {
24 
26 {
27  public:
28 
31  itkNewMacro( DICOMNullFileReader );
32 
33  virtual void AnalyzeInputFiles() override;
34 
35  // void AllocateOutputImages();
36  virtual bool LoadImages() override;
37 
38  virtual bool CanHandleFile(const std::string& filename) override;
39 
40  bool operator==(const DICOMFileReader& other) const override;
41 
42  virtual DICOMTagPathList GetTagsOfInterest() const override { return DICOMTagPathList(); }
43  virtual void SetTagCache( const DICOMTagCache::Pointer& ) override {}
44 
45  protected:
46 
48  virtual ~DICOMNullFileReader();
49 
52 
53  void InternalPrintConfiguration(std::ostream& os) const override;
54 
55  private:
56 };
57 
58 }
59 
60 #endif
itk::SmartPointer< Self > Pointer
void InternalPrintConfiguration(std::ostream &os) const override
Configuration description for human reader, to be implemented by sub-classes.
virtual DICOMTagPathList GetTagsOfInterest() const override
DataCollection - Class to facilitate loading/accessing structured data.
virtual bool CanHandleFile(const std::string &filename) override
Indicate whether this reader can handle given file.
mitkClassMacro(DICOMNullFileReader, DICOMFileReader)
virtual bool LoadImages() override
static const std::string filename
virtual void AnalyzeInputFiles() override
Analyze input files.
std::vector< DICOMTagPath > DICOMTagPathList
virtual void SetTagCache(const DICOMTagCache::Pointer &) override
A way to provide external knowledge about files and tag values is appreciated.
bool operator==(const DICOMFileReader &other) const override
mitkCloneMacro(DICOMNullFileReader)
Interface for DICOM readers that produce mitk::Images.
DICOMNullFileReader & operator=(const DICOMNullFileReader &other)