Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
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>
Public Member Functions | |
mitkClassMacroItkParent (NavigationToolReader, itk::Object) | |
Pointer | Clone () const |
mitk::NavigationTool::Pointer | DoRead (std::string filename) |
This method reads a navigation tool from a file. More... | |
virtual std::string | GetErrorMessage () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
NavigationToolReader () | |
~NavigationToolReader () | |
mitk::NavigationTool::Pointer | ConvertDataNodeToNavigationTool (mitk::DataNode::Pointer node, std::string toolPath) |
std::string | GetFileWithoutPath (std::string FileWithPath) |
mitk::PointSet::Pointer | ConvertStringToPointSet (std::string string) |
mitk::Point3D | ConvertStringToPoint (std::string string) |
mitk::Quaternion | ConvertStringToQuaternion (std::string string) |
void | split (std::string &text, std::string &separators, std::vector< std::string > &words) |
Protected Attributes | |
std::string | m_ErrorMessage |
std::string | m_ToolfilePath |
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 38 of file mitkNavigationToolReader.h.
|
protected |
Definition at line 36 of file mitkNavigationToolReader.cpp.
References mitk::IOUtil::GetTempPath(), and m_ToolfilePath.
|
protected |
Definition at line 41 of file mitkNavigationToolReader.cpp.
Pointer mitk::NavigationToolReader::Clone | ( | ) | const |
|
protected |
Definition at line 79 of file mitkNavigationToolReader.cpp.
References mitk::OpenIGTLinkTypeInformation::GetTrackingDeviceName(), mitk::NDIPolarisTypeInformation::GetTrackingDeviceName(), mitk::NDIAuroraTypeInformation::GetTrackingDeviceName(), mitk::MicronTrackerTypeInformation::GetTrackingDeviceName(), mitk::VirtualTrackerTypeInformation::GetTrackingDeviceName(), mitk::NPOptitrackTrackingTypeInformation::GetTrackingDeviceName(), mitk::UnspecifiedTrackingTypeInformation::GetTrackingDeviceName(), MITK_WARN, mitk::NavigationTool::New(), mitk::DataNode::New(), and mitk::PointSet::New().
|
protected |
Definition at line 220 of file mitkNavigationToolReader.cpp.
References split().
|
protected |
Definition at line 197 of file mitkNavigationToolReader.cpp.
References mitk::PointSet::New(), and split().
|
protected |
Definition at line 235 of file mitkNavigationToolReader.cpp.
References split().
mitk::NavigationTool::Pointer mitk::NavigationToolReader::DoRead | ( | std::string | filename | ) |
This method reads a navigation tool from a file.
filename | The filename where the tool is stored, "C:\temp\myTool.igtTool" for example. |
Definition at line 45 of file mitkNavigationToolReader.cpp.
References mitk::SceneIO::New().
|
virtual |
|
protected |
Definition at line 191 of file mitkNavigationToolReader.cpp.
mitk::NavigationToolReader::mitkClassMacroItkParent | ( | NavigationToolReader | , |
itk::Object | |||
) |
|
static |
|
protected |
Definition at line 251 of file mitkNavigationToolReader.cpp.
|
protected |
Definition at line 61 of file mitkNavigationToolReader.h.
|
protected |
Definition at line 63 of file mitkNavigationToolReader.h.
Referenced by NavigationToolReader().