Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkSurfaceVtkIO.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 _MITK_SURFACE_VTK_IO_H_
18 #define _MITK_SURFACE_VTK_IO_H_
19 
20 #include <mitkAbstractFileIO.h>
21 
22 #include <vtkPolyData.h>
23 #include <vtkSmartPointer.h>
24 
25 namespace mitk
26 {
41  {
42  public:
43  SurfaceVtkIO(const std::string &baseDataType, const CustomMimeType &mimeType, const std::string &description);
44 
45  virtual ConfidenceLevel GetWriterConfidenceLevel() const override;
46 
47  protected:
48  vtkSmartPointer<vtkPolyData> GetPolyData(unsigned int t, std::string &fileName);
49  };
50 }
51 
52 #endif //_MITK_SURFACE_VTK_IO_H_
DataCollection - Class to facilitate loading/accessing structured data.
vtkSmartPointer< vtkPolyData > GetPolyData(unsigned int t, std::string &fileName)
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
virtual ConfidenceLevel GetWriterConfidenceLevel() const override
SurfaceVtkIO(const std::string &baseDataType, const CustomMimeType &mimeType, const std::string &description)
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.