An object of this class offers an UI to create or modify NavigationTools.
More...
#include <QmitkNavigationToolCreationWidget.h>
An object of this class offers an UI to create or modify NavigationTools.
Documentation:
Be sure to call the initialize method before you start the widget
otherwise some errors might occure.
Definition at line 45 of file QmitkNavigationToolCreationWidget.h.
◆ QmitkNavigationToolCreationWidget()
QmitkNavigationToolCreationWidget::QmitkNavigationToolCreationWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ ~QmitkNavigationToolCreationWidget()
QmitkNavigationToolCreationWidget::~QmitkNavigationToolCreationWidget |
( |
| ) |
|
|
override |
◆ Canceled
void QmitkNavigationToolCreationWidget::Canceled |
( |
| ) |
|
|
signal |
This signal is emitted if the user canceled the creation of the tool.
◆ CreateConnections()
virtual void QmitkNavigationToolCreationWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections.
◆ CreateQtPartControl()
virtual void QmitkNavigationToolCreationWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ GetCreatedTool()
mitk::NavigationTool::Pointer QmitkNavigationToolCreationWidget::GetCreatedTool |
( |
| ) |
|
- Returns
- Returns the created tool. Returns nullptr if no tool was created yet.
◆ GetValuesFromGuiElements
void QmitkNavigationToolCreationWidget::GetValuesFromGuiElements |
( |
| ) |
|
|
protectedslot |
◆ Initialize()
void QmitkNavigationToolCreationWidget::Initialize |
( |
mitk::DataStorage * |
dataStorage, |
|
|
const std::string & |
supposedIdentifier, |
|
|
const std::string & |
supposedName = "NewTool" |
|
) |
| |
Initializes the widget.
- Parameters
-
dataStorage | The data storage is needed to offer the possibility to choose surfaces from the data storage for tool visualization. |
supposedIdentifier | This Identifier is supposed for the user. It is needed because every identifier in a navigation tool storage must be unique and we don't know the others. |
supposedName | |
◆ NavigationToolFinished
void QmitkNavigationToolCreationWidget::NavigationToolFinished |
( |
| ) |
|
|
signal |
This signal is emitted if the user finished the creation of the tool.
◆ OnCancel
void QmitkNavigationToolCreationWidget::OnCancel |
( |
| ) |
|
|
protectedslot |
◆ OnEditToolTip
void QmitkNavigationToolCreationWidget::OnEditToolTip |
( |
| ) |
|
|
protectedslot |
◆ OnEditToolTipFinished
void QmitkNavigationToolCreationWidget::OnEditToolTipFinished |
( |
mitk::AffineTransform3D::Pointer |
toolTip | ) |
|
|
protectedslot |
◆ OnFinished
void QmitkNavigationToolCreationWidget::OnFinished |
( |
| ) |
|
|
protectedslot |
◆ OnLoadCalibrationFile
void QmitkNavigationToolCreationWidget::OnLoadCalibrationFile |
( |
| ) |
|
|
protectedslot |
◆ OnLoadSurface
void QmitkNavigationToolCreationWidget::OnLoadSurface |
( |
| ) |
|
|
protectedslot |
◆ OnSurfaceUseToggled
void QmitkNavigationToolCreationWidget::OnSurfaceUseToggled |
( |
| ) |
|
|
protectedslot |
◆ SetDefaultData()
void QmitkNavigationToolCreationWidget::SetDefaultData |
( |
mitk::NavigationTool::Pointer |
DefaultTool | ) |
|
Sets the default data of all input fields. The default data is used from the default tool which is given as parameter.
◆ SetTrackingDeviceType()
Sets the default tracking device type. You may also define if it is changeable or not.
◆ ShowToolPreview()
void QmitkNavigationToolCreationWidget::ShowToolPreview |
( |
std::string |
_name | ) |
|
This Function will add a new node to the Data Manager with given name to enable a preview of the m_ToolToBeEdited.
◆ m_calLandmarkNode
◆ m_Controls
Ui::QmitkNavigationToolCreationWidgetControls* QmitkNavigationToolCreationWidget::m_Controls |
|
protected |
◆ m_DataStorage
◆ m_FinalTool
mitk::NavigationTool::Pointer QmitkNavigationToolCreationWidget::m_FinalTool |
|
protected |
◆ m_regLandmarkNode
◆ m_ToolToBeEdited
mitk::NavigationTool::Pointer QmitkNavigationToolCreationWidget::m_ToolToBeEdited |
|
protected |
this pointer holds the tool which is edited. If finished is clicked, it will be copied to the final tool, if it is cancled, it is reseted and not used. This can be regarded as the clipboard for all changes.
Definition at line 128 of file QmitkNavigationToolCreationWidget.h.
◆ m_ToolTransformationWidget
◆ VIEW_ID
const std::string QmitkNavigationToolCreationWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: