Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkImageVtkLegacyIO.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 MITKIMAGEVTKLEGACYIO_H
18 #define MITKIMAGEVTKLEGACYIO_H
19 
20 #include "mitkAbstractFileIO.h"
21 
22 namespace mitk
23 {
25  {
26  public:
28 
29  // -------------- AbstractFileReader -------------
30 
32  virtual std::vector<BaseData::Pointer> Read() override;
33 
34  virtual ConfidenceLevel GetReaderConfidenceLevel() const override;
35 
36  // -------------- AbstractFileWriter -------------
37 
38  virtual void Write() override;
39 
40  virtual ConfidenceLevel GetWriterConfidenceLevel() const override;
41 
42  private:
43  ImageVtkLegacyIO *IOClone() const override;
44  };
45 }
46 #endif // MITKIMAGEVTKLEGACYIO_H
DataCollection - Class to facilitate loading/accessing structured data.
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
virtual void Write() override
Write the base data to the specified location or output stream.
virtual ConfidenceLevel GetReaderConfidenceLevel() const override
virtual ConfidenceLevel GetWriterConfidenceLevel() const override
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data...
Definition: mitkIFileIO.h:49
Abstract class for implementing a reader and writer.
virtual std::vector< BaseData::Pointer > Read() override
Reads a path or stream and creates a list of BaseData objects.