Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
An object of this class offers an UI to modify a tooltip of an IGT navigation tool. More...
#include <QmitkNavigationToolCreationAdvancedWidget.h>
Signals | |
void | DialogCloseRequested () |
void | RetrieveDataForManualToolTipManipulation () |
Public Member Functions | |
QmitkNavigationToolCreationAdvancedWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
~QmitkNavigationToolCreationAdvancedWidget () | |
void | SetDataStorage (mitk::DataStorage::Pointer dataStorage) |
void | SetToolTipSurface (bool cone, mitk::DataNode::Pointer node=NULL) |
void | SetDefaultTooltip (mitk::AffineTransform3D::Pointer defaultToolTip) |
mitk::AffineTransform3D::Pointer | GetManipulatedToolTip () |
void | ReInitialize () |
Static Public Attributes | |
static const std::string | VIEW_ID |
Protected Slots | |
void | OnClose () |
void | OnApplyManipulatedToolTip () |
Protected Member Functions | |
virtual void | CreateConnections () |
virtual void | CreateQtPartControl (QWidget *parent) |
void | RetrieveAndInitializeDataForTooltipManipulation () |
Protected Attributes | |
Ui::QmitkNavigationToolCreationAdvancedWidgetControls * | m_Controls |
mitk::AffineTransform3D::Pointer | m_DefaultToolTip |
mitk::DataStorage::Pointer | m_DataStorage |
mitk::Surface::Pointer | m_ToolTipSurface |
mitk::Surface::Pointer | m_ManipulatedToolTip |
manipulated surface object, which holds the tooltip as geometry More... | |
std::string | m_SurfaceNodeName |
An object of this class offers an UI to modify a tooltip of an IGT navigation tool.
Documentation: The user can modify translation and orientation of the tooltip. The current tooltip might be provided as default data, then the widget starts with the given values for translation and orientation.
As long as the UI is open, there will also be a (temporary) preview data node, so the user can see the effect of his manipulations.
Please call the method SetDataStorage to initialize the UI with the data storage of the current application.
Definition at line 49 of file QmitkNavigationToolCreationAdvancedWidget.h.
QmitkNavigationToolCreationAdvancedWidget::QmitkNavigationToolCreationAdvancedWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 31 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References CreateConnections(), and CreateQtPartControl().
QmitkNavigationToolCreationAdvancedWidget::~QmitkNavigationToolCreationAdvancedWidget | ( | ) |
Definition at line 39 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
|
protectedvirtual |
Definition at line 53 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_Controls, OnApplyManipulatedToolTip(), and OnClose().
Referenced by QmitkNavigationToolCreationAdvancedWidget().
|
protectedvirtual |
Definition at line 43 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_Controls.
Referenced by QmitkNavigationToolCreationAdvancedWidget().
|
signal |
Referenced by OnClose().
mitk::AffineTransform3D::Pointer QmitkNavigationToolCreationAdvancedWidget::GetManipulatedToolTip | ( | ) |
Definition at line 199 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_ManipulatedToolTip, and mitk::New().
Referenced by QmitkNavigationToolCreationWidget::OnFinished(), and QmitkNavigationToolCreationWidget::OnShowAdvancedOptions().
|
protectedslot |
Definition at line 191 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_DataStorage, m_ManipulatedToolTip, and OnClose().
Referenced by CreateConnections().
|
protectedslot |
Definition at line 62 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References DialogCloseRequested(), and m_DataStorage.
Referenced by CreateConnections(), and OnApplyManipulatedToolTip().
void QmitkNavigationToolCreationAdvancedWidget::ReInitialize | ( | ) |
Reinitializes the view, e.g. after it was closed.
Definition at line 83 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References mitk::RenderingManager::GetInstance(), mitk::RenderingManager::InitializeViewsByBoundingObjects(), m_Controls, m_DataStorage, m_ManipulatedToolTip, m_SurfaceNodeName, m_ToolTipSurface, mitk::Geometry3D::New(), mitk::DataNode::New(), and RetrieveAndInitializeDataForTooltipManipulation().
Referenced by QmitkNavigationToolCreationWidget::OnShowAdvancedOptions().
|
protected |
Definition at line 119 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_Controls, m_DataStorage, m_DefaultToolTip, m_ManipulatedToolTip, m_SurfaceNodeName, m_ToolTipSurface, mitkThrow, mitk::Geometry3D::New(), mitk::DataNode::New(), and RetrieveDataForManualToolTipManipulation().
Referenced by ReInitialize().
|
signal |
Referenced by RetrieveAndInitializeDataForTooltipManipulation().
void QmitkNavigationToolCreationAdvancedWidget::SetDataStorage | ( | mitk::DataStorage::Pointer | dataStorage | ) |
Initializes the view with the a data storage. This data storage is needed for the preview node during tooltip manipulation.
Definition at line 78 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_DataStorage.
Referenced by QmitkNavigationToolCreationWidget::Initialize().
void QmitkNavigationToolCreationAdvancedWidget::SetDefaultTooltip | ( | mitk::AffineTransform3D::Pointer | defaultToolTip | ) |
Sets a default tooltip transform, which will shown in the beginning. If the windows is already open, the transform will be set to default immediately.
Definition at line 160 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_DefaultToolTip.
Referenced by QmitkNavigationToolCreationWidget::OnShowAdvancedOptions(), and QmitkNavigationToolCreationWidget::SetDefaultData().
void QmitkNavigationToolCreationAdvancedWidget::SetToolTipSurface | ( | bool | cone, |
mitk::DataNode::Pointer | node = NULL |
||
) |
Sets the current tooltip surface, also for preview purposes (the preview node will be a clone of this surface). If there is no surface, a simple cone can be used. Please set cone to true in this case.
Definition at line 165 of file QmitkNavigationToolCreationAdvancedWidget.cpp.
References m_SurfaceNodeName, m_ToolTipSurface, mitk::Surface::New(), and mitk::New().
Referenced by QmitkNavigationToolCreationWidget::OnRetrieveDataForManualTooltipManipulation().
|
protected |
Definition at line 100 of file QmitkNavigationToolCreationAdvancedWidget.h.
Referenced by CreateConnections(), CreateQtPartControl(), ReInitialize(), and RetrieveAndInitializeDataForTooltipManipulation().
|
protected |
Definition at line 104 of file QmitkNavigationToolCreationAdvancedWidget.h.
Referenced by OnApplyManipulatedToolTip(), OnClose(), ReInitialize(), RetrieveAndInitializeDataForTooltipManipulation(), and SetDataStorage().
|
protected |
Definition at line 102 of file QmitkNavigationToolCreationAdvancedWidget.h.
Referenced by RetrieveAndInitializeDataForTooltipManipulation(), and SetDefaultTooltip().
|
protected |
manipulated surface object, which holds the tooltip as geometry
Definition at line 106 of file QmitkNavigationToolCreationAdvancedWidget.h.
Referenced by GetManipulatedToolTip(), OnApplyManipulatedToolTip(), ReInitialize(), and RetrieveAndInitializeDataForTooltipManipulation().
|
protected |
Definition at line 107 of file QmitkNavigationToolCreationAdvancedWidget.h.
Referenced by ReInitialize(), RetrieveAndInitializeDataForTooltipManipulation(), and SetToolTipSurface().
|
protected |
Definition at line 105 of file QmitkNavigationToolCreationAdvancedWidget.h.
Referenced by ReInitialize(), RetrieveAndInitializeDataForTooltipManipulation(), and SetToolTipSurface().
|
static |
Definition at line 54 of file QmitkNavigationToolCreationAdvancedWidget.h.