This class offers methods to read objects of the class NavigationTool from the harddisc. The tools have to be saved in a special format by the class NavigationToolWriter to be loadable.
More...
#include <mitkNavigationToolReader.h>
This class offers methods to read objects of the class NavigationTool from the harddisc. The tools have to be saved in a special format by the class NavigationToolWriter to be loadable.
Documentation
Definition at line 34 of file mitkNavigationToolReader.h.
◆ NavigationToolReader()
mitk::NavigationToolReader::NavigationToolReader |
( |
| ) |
|
|
protected |
◆ ~NavigationToolReader()
mitk::NavigationToolReader::~NavigationToolReader |
( |
| ) |
|
|
overrideprotected |
◆ ConvertDataNodeToNavigationTool()
mitk::NavigationTool::Pointer mitk::NavigationToolReader::ConvertDataNodeToNavigationTool |
( |
mitk::DataNode::Pointer | node, |
|
|
std::string | toolPath ) |
|
protected |
◆ ConvertStringToPoint()
mitk::Point3D mitk::NavigationToolReader::ConvertStringToPoint |
( |
std::string | string | ) |
|
|
protected |
◆ ConvertStringToPointSet()
mitk::PointSet::Pointer mitk::NavigationToolReader::ConvertStringToPointSet |
( |
std::string | string | ) |
|
|
protected |
◆ ConvertStringToQuaternion()
mitk::Quaternion mitk::NavigationToolReader::ConvertStringToQuaternion |
( |
std::string | string | ) |
|
|
protected |
◆ DoRead()
mitk::NavigationTool::Pointer mitk::NavigationToolReader::DoRead |
( |
std::string | filename | ) |
|
This method reads a navigation tool from a file.
- Parameters
-
filename | The filename where the tool is stored, "C:\temp\myTool.igtTool" for example. |
- Returns
- Returns a pointer to the tool which was read. Returns nullptr, if something went wrong and no tool was read. In this case you may also want the error message which is availiable from the method GetErrorMessage().
Definition at line 41 of file mitkNavigationToolReader.cpp.
◆ GetFileWithoutPath()
std::string mitk::NavigationToolReader::GetFileWithoutPath |
( |
std::string | FileWithPath | ) |
|
|
protected |
◆ itkCloneMacro()
mitk::NavigationToolReader::itkCloneMacro |
( |
Self | | ) |
|
◆ itkFactorylessNewMacro()
mitk::NavigationToolReader::itkFactorylessNewMacro |
( |
Self | | ) |
|
◆ itkGetMacro()
mitk::NavigationToolReader::itkGetMacro |
( |
ErrorMessage | , |
|
|
std::string | ) |
◆ mitkClassMacroItkParent()
◆ split()
void mitk::NavigationToolReader::split |
( |
std::string & | text, |
|
|
std::string & | separators, |
|
|
std::vector< std::string > & | words ) |
|
protected |
◆ mitk::NavigationToolStorageDeserializer
◆ m_ErrorMessage
std::string mitk::NavigationToolReader::m_ErrorMessage |
|
protected |
◆ m_ToolfilePath
std::string mitk::NavigationToolReader::m_ToolfilePath |
|
protected |
The documentation for this class was generated from the following files: