An object of this class represents a navigation tool in the view of the software. A few informations like an identifier, a toolname, a surface and a itk spatial object are stored in such an object. The classes NavigationToolReader and are availiable to write/read tools to/from the harddisc. If you need a collection of navigation tools the class NavigationToolStorage could be used.
More...
#include <mitkNavigationTool.h>
An object of this class represents a navigation tool in the view of the software. A few informations like an identifier, a toolname, a surface and a itk spatial object are stored in such an object. The classes NavigationToolReader and are availiable to write/read tools to/from the harddisc. If you need a collection of navigation tools the class NavigationToolStorage could be used.
Documentation
Definition at line 44 of file mitkNavigationTool.h.
mitk::NavigationTool::NavigationTool |
( |
| ) |
|
|
protected |
mitk::NavigationTool::~NavigationTool |
( |
| ) |
|
|
protected |
Pointer mitk::NavigationTool::Clone |
( |
| ) |
const |
virtual std::string mitk::NavigationTool::GetCalibrationFile |
( |
| ) |
const |
|
virtual |
virtual std::string mitk::NavigationTool::GetIdentifier |
( |
| ) |
const |
|
virtual |
virtual std::string mitk::NavigationTool::GetSerialNumber |
( |
| ) |
const |
|
virtual |
virtual itk::SpatialObject<3>::Pointer mitk::NavigationTool::GetSpatialObject |
( |
| ) |
const |
|
virtual |
- Returns
- Returns the tool calibration landmarks for calibration of the defined points in the tool coordinate system, e.g. 2 landmarks for a 5DoF tool and 3 landmarks for a 6DoF tool.
std::string mitk::NavigationTool::GetToolName |
( |
| ) |
|
- Returns
- Returns the name of this navigation tool. Returns an empty string if there is no name (for example because the data node has not been set yet).
Note: There is no setter for the name, because the name of the corresponding data node is used as tool name. So if you want to modify the name of this navigation tool only get the data node and modify its name.
Definition at line 118 of file mitkNavigationTool.cpp.
For overview, here are descriptons of the two types of tool landmarks:
tool calibration landmarks: These landmarks may be used clearly define the tools pose only by using landmarks in the tool coordinate system. E.g., two landmarks for a 5DoF tool and three landmarks for a 6DoF tool. These landmarks may be used, e.g., for a point based registration of a tool from image space to tracking space.
tool registration landmarks: These landmarks are designed for representing defined landmarks on a tools surface. The number of these landmarks might exeed the number of tool calibration landmarks for reasons of redundancy and averaging. They are used for, e.g., manually registering the pose of a tool by visual markers in a CT scan. If you would use these landmarks to do a point based registration from image space to tracking space later, you might overweight the tool because of two many landmarks compared to other markers.
- Returns
- Returns the tool registration landmarks which represent markers / special points on a tool that can be used for registration. The landmarks should be given in tool coordinates. If there are no landmarks defined for this tool the method returns an empty point set.
- Returns
- Returns the surface of this navigation tool. Returns NULL if there is no surface (for example because the data node has not been set yet).
Note: There is no setter for the surface, because the surface is the data of the corresponding data node. So if you want to set a new surface only get the data node and modify its data.
Definition at line 124 of file mitkNavigationTool.cpp.
virtual mitk::Point3D mitk::NavigationTool::GetToolTipPosition |
( |
| ) |
const |
|
virtual |
mitk::AffineTransform3D::Pointer mitk::NavigationTool::GetToolTipTransform |
( |
| ) |
|
virtual mitk::TrackingTool::Pointer mitk::NavigationTool::GetTrackingTool |
( |
| ) |
const |
|
virtual |
void mitk::NavigationTool::Graft |
( |
const DataObject * |
data | ) |
|
|
overridevirtual |
bool mitk::NavigationTool::IsToolTipSet |
( |
| ) |
|
mitk::NavigationTool::mitkClassMacroItkParent |
( |
NavigationTool |
, |
|
|
itk::DataObject |
|
|
) |
| |
static Pointer mitk::NavigationTool::New |
( |
| ) |
|
|
static |
void mitk::NavigationTool::SetCalibrationFile |
( |
const std::string |
filename | ) |
|
virtual void mitk::NavigationTool::SetIdentifier |
( |
std::string |
_arg | ) |
|
|
virtual |
virtual void mitk::NavigationTool::SetSerialNumber |
( |
std::string |
_arg | ) |
|
|
virtual |
virtual void mitk::NavigationTool::SetSpatialObject |
( |
itk::SpatialObject< 3 >::Pointer |
_arg | ) |
|
|
virtual |
Sets the tool calibration landmarks for calibration of defined points in the tool coordinate system, e.g. 2 landmarks for a 5DoF tool and 3 landmarks for a 6DoF tool.
Sets the tool registration landmarks which represent markers / special points on a tool that can be used for registration. The landmarks should be given in tool coordinates.
virtual void mitk::NavigationTool::SetToolTipOrientation |
( |
mitk::Quaternion |
_arg | ) |
|
|
virtual |
virtual void mitk::NavigationTool::SetToolTipPosition |
( |
mitk::Point3D |
_arg | ) |
|
|
virtual |
virtual void mitk::NavigationTool::SetTrackingTool |
( |
mitk::TrackingTool::Pointer |
_arg | ) |
|
|
virtual |
std::string mitk::NavigationTool::m_CalibrationFile |
|
protected |
std::string mitk::NavigationTool::m_Identifier |
|
protected |
std::string mitk::NavigationTool::m_SerialNumber |
|
protected |
A unique serial number of the tool which is needed to identify the tool correctly. This is very important in case of the NDI Aurora System.
Definition at line 180 of file mitkNavigationTool.h.
itk::SpatialObject<3>::Pointer mitk::NavigationTool::m_SpatialObject |
|
protected |
This member variable holds a mathamatical description of the tool.
Definition at line 173 of file mitkNavigationTool.h.
Holds landmarks for calibration of the defined points in the tool coordinate system, e.g. 2 landmarks for a 5DoF tool and 3 landmarks for a 6DoF tool.
Definition at line 188 of file mitkNavigationTool.h.
mitk::TrackingTool::Pointer mitk::NavigationTool::m_TrackingTool |
|
protected |
This member variable holds a pointer to the corresponding tracking tool in the hardware.
Definition at line 175 of file mitkNavigationTool.h.
The documentation for this class was generated from the following files: