QmitkToolTrackingStatusWidget.
More...
#include <QmitkToolTrackingStatusWidget.h>
|
| QmitkToolTrackingStatusWidget (QWidget *parent) |
| default constructor More...
|
|
| ~QmitkToolTrackingStatusWidget () override |
| default destructor More...
|
|
void | ShowStatusLabels () |
| Sets up the labels in this widget's QGridLayout for showing the track status of the tracking tools. More...
|
|
void | SetNavigationDatas (std::vector< mitk::NavigationData::Pointer > *navDatas) |
| Sets the ND for this widget. More...
|
|
void | AddNavigationData (mitk::NavigationData::Pointer nd) |
| Adds the NavigationData to the existing ones. More...
|
|
void | Refresh (int posPrecision=2, int quatPrecision=2) |
| Changes background color of status labels (green or red) to show if actual navigation data of each tool is valid. Depending on usage of SetShowPosition(bool) or SetShowQuaternions(bool) the position coordinates and quaternion values of each tool are shown. The number of decimal places is set with the parameters posPrecision and quatPrecision. More...
|
|
void | RemoveStatusLabels () |
| Removes all status labels. More...
|
|
void | SetShowPositions (bool enable) |
| Enables / disables if the tool positions are shown. Default is off. More...
|
|
void | SetShowQuaternions (bool enable) |
| Enables / disables if the tool quaternions are shown. Default is off. More...
|
|
void | SetTextAlignment (Qt::AlignmentFlag alignment) |
| Sets the text alignment of the tool labels. Default is center. Example: Use Qt::AlignLeft for left alignment. More...
|
|
void | SetStyle (QmitkToolTrackingStatusWidget::Style newStyle) |
| Sets the alignment style of this widget: GridLowerStyle: Tool labels are at the lower side of the widget in grid alignment VerticalUpperStyle: Tool labels are at the upper side in a vertical alignment (default) More...
|
|
void | PreShowTools (mitk::NavigationToolStorage::Pointer toolStorage) |
| Shows tool labels for the tools in the tool storage. This method can be called BEFORE connecting the navigation data to make a preview of the tools. More...
|
|
void | OnServiceEvent (const us::ServiceEvent event) |
|
QmitkToolTrackingStatusWidget.
Widget for setting up and controlling an update timer in an IGT-Pipeline.
Definition at line 31 of file QmitkToolTrackingStatusWidget.h.
◆ NavigationDataPointerArray
◆ Style
◆ QmitkToolTrackingStatusWidget()
QmitkToolTrackingStatusWidget::QmitkToolTrackingStatusWidget |
( |
QWidget * |
parent | ) |
|
◆ ~QmitkToolTrackingStatusWidget()
QmitkToolTrackingStatusWidget::~QmitkToolTrackingStatusWidget |
( |
| ) |
|
|
override |
◆ AddNavigationData()
void QmitkToolTrackingStatusWidget::AddNavigationData |
( |
mitk::NavigationData::Pointer |
nd | ) |
|
Adds the NavigationData to the existing ones.
◆ CreateConnections()
void QmitkToolTrackingStatusWidget::CreateConnections |
( |
| ) |
|
|
protected |
◆ CreateQtPartControl()
void QmitkToolTrackingStatusWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protected |
◆ OnServiceEvent()
void QmitkToolTrackingStatusWidget::OnServiceEvent |
( |
const us::ServiceEvent |
event | ) |
|
◆ PreShowTools()
void QmitkToolTrackingStatusWidget::PreShowTools |
( |
mitk::NavigationToolStorage::Pointer |
toolStorage | ) |
|
Shows tool labels for the tools in the tool storage. This method can be called BEFORE connecting the navigation data to make a preview of the tools.
◆ Refresh()
void QmitkToolTrackingStatusWidget::Refresh |
( |
int |
posPrecision = 2 , |
|
|
int |
quatPrecision = 2 |
|
) |
| |
Changes background color of status labels (green or red) to show if actual navigation data of each tool is valid. Depending on usage of SetShowPosition(bool) or SetShowQuaternions(bool) the position coordinates and quaternion values of each tool are shown. The number of decimal places is set with the parameters posPrecision and quatPrecision.
◆ RemoveStatusLabels()
void QmitkToolTrackingStatusWidget::RemoveStatusLabels |
( |
| ) |
|
Removes all status labels.
◆ SetNavigationDatas()
void QmitkToolTrackingStatusWidget::SetNavigationDatas |
( |
std::vector< mitk::NavigationData::Pointer > * |
navDatas | ) |
|
Sets the ND for this widget.
◆ SetShowPositions()
void QmitkToolTrackingStatusWidget::SetShowPositions |
( |
bool |
enable | ) |
|
Enables / disables if the tool positions are shown. Default is off.
◆ SetShowQuaternions()
void QmitkToolTrackingStatusWidget::SetShowQuaternions |
( |
bool |
enable | ) |
|
Enables / disables if the tool quaternions are shown. Default is off.
◆ SetStyle()
Sets the alignment style of this widget: GridLowerStyle: Tool labels are at the lower side of the widget in grid alignment VerticalUpperStyle: Tool labels are at the upper side in a vertical alignment (default)
◆ SetTextAlignment()
void QmitkToolTrackingStatusWidget::SetTextAlignment |
( |
Qt::AlignmentFlag |
alignment | ) |
|
Sets the text alignment of the tool labels. Default is center. Example: Use Qt::AlignLeft for left alignment.
◆ ShowStatusLabels()
void QmitkToolTrackingStatusWidget::ShowStatusLabels |
( |
| ) |
|
Sets up the labels in this widget's QGridLayout for showing the track status of the tracking tools.
◆ m_Controls
Ui::QmitkToolTrackingStatusWidgetControls* QmitkToolTrackingStatusWidget::m_Controls |
|
protected |
The documentation for this class was generated from the following file: