Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
This class offers methods to load an object of the class NavigationToolStorage from the harddisc. More...
#include <mitkNavigationToolStorageDeserializer.h>
Public Member Functions | |
mitkClassMacroItkParent (NavigationToolStorageDeserializer, itk::Object) | |
mitkNewMacro1Param (Self, mitk::DataStorage::Pointer) | |
mitk::NavigationToolStorage::Pointer | Deserialize (std::string filename) |
Loads a collection of navigation tools represented by a mitk::NavigationToolStorage from a file. More... | |
virtual std::string | GetErrorMessage () |
Protected Member Functions | |
NavigationToolStorageDeserializer (mitk::DataStorage::Pointer dataStorage) | |
~NavigationToolStorageDeserializer () | |
std::string | convertIntToString (int i) |
void | decomressFiles (std::string file, std::string path) |
Protected Attributes | |
std::string | m_ErrorMessage |
mitk::DataStorage::Pointer | m_DataStorage |
std::string | m_tempDirectory |
This class offers methods to load an object of the class NavigationToolStorage from the harddisc.
Documentation
Definition at line 36 of file mitkNavigationToolStorageDeserializer.h.
|
protected |
Definition at line 35 of file mitkNavigationToolStorageDeserializer.cpp.
References mitk::IOUtil::CreateTemporaryDirectory(), mitk::IOUtil::GetTempPath(), m_DataStorage, and m_tempDirectory.
|
protected |
Definition at line 42 of file mitkNavigationToolStorageDeserializer.cpp.
References File, and MITK_ERROR.
|
protected |
Definition at line 84 of file mitkNavigationToolStorageDeserializer.cpp.
|
protected |
Throws | an Exception if particular file cannot be opened for reading |
Definition at line 93 of file mitkNavigationToolStorageDeserializer.cpp.
References MITK_ERROR, and mitkThrowException.
mitk::NavigationToolStorage::Pointer mitk::NavigationToolStorageDeserializer::Deserialize | ( | std::string | filename | ) |
Loads a collection of navigation tools represented by a mitk::NavigationToolStorage from a file.
mitk::IGTException | Throws an Exception if the file cannot be decopressed. |
mitk::IGTException | Throws an Exception if no tool was found inside the storage. |
Definition at line 56 of file mitkNavigationToolStorageDeserializer.cpp.
References m_DataStorage, mitkThrowException, mitk::NavigationToolReader::New(), and mitk::NavigationToolStorage::New().
|
virtual |
mitk::NavigationToolStorageDeserializer::mitkClassMacroItkParent | ( | NavigationToolStorageDeserializer | , |
itk::Object | |||
) |
mitk::NavigationToolStorageDeserializer::mitkNewMacro1Param | ( | Self | , |
mitk::DataStorage::Pointer | |||
) |
|
protected |
Definition at line 59 of file mitkNavigationToolStorageDeserializer.h.
Referenced by NavigationToolStorageDeserializer().
|
protected |
Definition at line 57 of file mitkNavigationToolStorageDeserializer.h.
|
protected |
Definition at line 61 of file mitkNavigationToolStorageDeserializer.h.
Referenced by NavigationToolStorageDeserializer().