Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkNavigationToolStorageSerializer.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 (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 
13 #ifndef NAVIGATIONTOOLSTORAGESERIALIZER_H_INCLUDED
14 #define NAVIGATIONTOOLSTORAGESERIALIZER_H_INCLUDED
15 
16 //itk headers
17 #include <itkObjectFactory.h>
18 
19 //mitk headers
20 #include <mitkCommon.h>
22 #include <MitkIGTExports.h>
23 
24 namespace mitk {
32  {
33  public:
35  itkFactorylessNewMacro(Self)
36  itkCloneMacro(Self)
37 
38 
43  void Serialize(const std::string& filename, mitk::NavigationToolStorage::Pointer storage);
44 
45  protected:
48 
49  std::string convertIntToString(int i);
50 
51  std::string m_tempDirectory;
52 
53  };
54 } // namespace mitk
55 #endif //NAVIGATIONTOOLSTORAGESERIALIZER
DataCollection - Class to facilitate loading/accessing structured data.
This class offers methods to save an object of the class NavigationToolStorage to the harddisc...
#define MITKIGT_EXPORT
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49