This class offers methods to write objects of the class navigation tool permanently to the harddisk. The objects are saved in a special fileformat which can be read by the class NavigationToolReader to restore the object.
More...
#include <mitkNavigationToolWriter.h>
This class offers methods to write objects of the class navigation tool permanently to the harddisk. The objects are saved in a special fileformat which can be read by the class NavigationToolReader to restore the object.
Documentation
Definition at line 35 of file mitkNavigationToolWriter.h.
◆ NavigationToolWriter()
mitk::NavigationToolWriter::NavigationToolWriter |
( |
| ) |
|
|
protected |
◆ ~NavigationToolWriter()
mitk::NavigationToolWriter::~NavigationToolWriter |
( |
| ) |
|
|
overrideprotected |
◆ ConvertPointSetToString()
std::string mitk::NavigationToolWriter::ConvertPointSetToString |
( |
mitk::PointSet::Pointer | pointSet | ) |
|
|
protected |
◆ ConvertPointToString()
std::string mitk::NavigationToolWriter::ConvertPointToString |
( |
mitk::Point3D | point | ) |
|
|
protected |
◆ ConvertQuaternionToString()
std::string mitk::NavigationToolWriter::ConvertQuaternionToString |
( |
mitk::Quaternion | quat | ) |
|
|
protected |
◆ ConvertToDataNode()
mitk::DataNode::Pointer mitk::NavigationToolWriter::ConvertToDataNode |
( |
mitk::NavigationTool::Pointer | Tool | ) |
|
|
protected |
◆ DoWrite()
bool mitk::NavigationToolWriter::DoWrite |
( |
std::string | FileName, |
|
|
mitk::NavigationTool::Pointer | Tool ) |
Writes a navigation tool to a file.
- Parameters
-
FileName | The filename (complete, with path, C:/temp/myTool.igtTool for example) |
Tool | The tool which should be written to the file. |
- Returns
- Returns true if the file was written successfully, false if not. In the second case you can get the error message by using the method GetErrorMessage().
Definition at line 38 of file mitkNavigationToolWriter.cpp.
◆ GetFileWithoutPath()
std::string mitk::NavigationToolWriter::GetFileWithoutPath |
( |
std::string | FileWithPath | ) |
|
|
protected |
◆ itkCloneMacro()
mitk::NavigationToolWriter::itkCloneMacro |
( |
Self | | ) |
|
◆ itkFactorylessNewMacro()
mitk::NavigationToolWriter::itkFactorylessNewMacro |
( |
Self | | ) |
|
◆ itkGetMacro()
mitk::NavigationToolWriter::itkGetMacro |
( |
ErrorMessage | , |
|
|
std::string | ) |
◆ mitkClassMacroItkParent()
◆ mitk::NavigationToolStorageSerializer
◆ m_ErrorMessage
std::string mitk::NavigationToolWriter::m_ErrorMessage |
|
protected |
The documentation for this class was generated from the following files: