Medical Imaging Interaction Toolkit  2023.12.00
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 mitkNavigationToolStorageDeserializer_h
14 #define mitkNavigationToolStorageDeserializer_h
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 {
32  class MITKIGT_EXPORT NavigationToolStorageDeserializer : public itk::Object
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
mitkDataStorage.h
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
itk::SmartPointer< Self >
mitk::NavigationToolStorageDeserializer::m_tempDirectory
std::string m_tempDirectory
Definition: mitkNavigationToolStorageDeserializer.h:57
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::NavigationToolStorageDeserializer::m_ErrorMessage
std::string m_ErrorMessage
Definition: mitkNavigationToolStorageDeserializer.h:53
mitk::NavigationToolStorageDeserializer
This class offers methods to load an object of the class NavigationToolStorage from the harddisc.
Definition: mitkNavigationToolStorageDeserializer.h:32
mitk::NavigationToolStorageDeserializer::m_DataStorage
mitk::DataStorage::Pointer m_DataStorage
Definition: mitkNavigationToolStorageDeserializer.h:55
mitkCommon.h
mitkNavigationToolStorage.h