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 |
◆ Clone()
Pointer mitk::NavigationToolWriter::Clone |
( |
| ) |
const |
◆ ConvertPointSetToString()
◆ ConvertPointToString()
std::string mitk::NavigationToolWriter::ConvertPointToString |
( |
mitk::Point3D |
point | ) |
|
|
protected |
◆ ConvertQuaternionToString()
std::string mitk::NavigationToolWriter::ConvertQuaternionToString |
( |
mitk::Quaternion |
quat | ) |
|
|
protected |
◆ ConvertToDataNode()
◆ 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().
◆ GetErrorMessage()
virtual std::string mitk::NavigationToolWriter::GetErrorMessage |
( |
| ) |
|
|
virtual |
◆ GetFileWithoutPath()
std::string mitk::NavigationToolWriter::GetFileWithoutPath |
( |
std::string |
FileWithPath | ) |
|
|
protected |
◆ mitkClassMacroItkParent()
◆ New()
static Pointer mitk::NavigationToolWriter::New |
( |
| ) |
|
|
static |
◆ m_ErrorMessage
std::string mitk::NavigationToolWriter::m_ErrorMessage |
|
protected |
The documentation for this class was generated from the following file: