Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkSurfaceSerializer.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 mitkSurfaceSerializer_h_included
18 #define mitkSurfaceSerializer_h_included
19 
20 #include "mitkBaseDataSerializer.h"
21 
22 namespace mitk
23 {
28  {
29  public:
31  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
32 
33  virtual std::string Serialize() override;
34 
35  protected:
37  virtual ~SurfaceSerializer();
38  };
39 
40 } // namespace
41 
42 #endif
Base class for objects that serialize BaseData types.
DataCollection - Class to facilitate loading/accessing structured data.
virtual std::string Serialize() override
Serializes given BaseData object.
mitkClassMacro(SurfaceSerializer, BaseDataSerializer)
Serializes mitk::Surface for mitk::SceneIO.