Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitkNavigationToolStorageDeserializer.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 NAVIGATIONTOOLSTORAGEDESERIALIZER_H_INCLUDED
14 #define NAVIGATIONTOOLSTORAGEDESERIALIZER_H_INCLUDED
15 
16 //itk headers
17 #include <itkObjectFactory.h>
18 
19 //mitk headers
20 #include <mitkCommon.h>
21 #include <mitkDataStorage.h>
23 #include <MitkIGTExports.h>
24 
25 namespace mitk {
33  {
34  public:
37 
45  mitk::NavigationToolStorage::Pointer Deserialize(std::string filename);
46 
47  itkGetMacro(ErrorMessage,std::string);
48 
49  protected:
52 
53  std::string m_ErrorMessage;
54 
56 
57  std::string m_tempDirectory;
58 
59  std::string convertIntToString(int i);
60 
64  void decompressFiles(std::string file,std::string path);
65 
66  };
67 } // namespace mitk
68 #endif //NAVIGATIONTOOLSTORAGEDESERIALIZER
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKIGT_EXPORT
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
This class offers methods to load an object of the class NavigationToolStorage from the harddisc...