Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkToolDistanceWidget Class Reference

QmitkToolDistanceWidget. More...

#include <QmitkToolDistanceWidget.h>

Inheritance diagram for QmitkToolDistanceWidget:
Collaboration diagram for QmitkToolDistanceWidget:

Public Types

typedef QVector< QVector< QLabel * > > DistanceLabelType
 

Public Slots

void SetDistanceLabelValuesInvalid ()
 This method set's all distance entries in the matrix to "---". Can be used e.g. if tracking is stopped. More...
 

Public Member Functions

 QmitkToolDistanceWidget (QWidget *parent)
 default constructor More...
 
virtual ~QmitkToolDistanceWidget ()
 default destructor More...
 
void ShowDistanceValues (itk::ProcessObject::DataObjectPointerArray &outputs)
 This method displays the matrix with the distances between the tracking source's outputs in a QGridLayout. More...
 
void CreateToolDistanceMatrix (itk::ProcessObject::DataObjectPointerArray &outputs)
 This method creates the initial distances matrix and labels it with the connected tool names. More...
 
void ClearDistanceMatrix ()
 This method clears the whole tool distances matrix. More...
 

Protected Member Functions

void CreateConnections ()
 
void CreateQtPartControl (QWidget *parent)
 

Protected Attributes

Ui::QmitkToolDistanceWidgetControls * m_Controls
 gui widgets More...
 

Detailed Description

QmitkToolDistanceWidget.

Widget for setting up and controlling an update timer in an IGT-Pipeline.

Definition at line 37 of file QmitkToolDistanceWidget.h.

Member Typedef Documentation

typedef QVector<QVector<QLabel*> > QmitkToolDistanceWidget::DistanceLabelType

Definition at line 42 of file QmitkToolDistanceWidget.h.

Constructor & Destructor Documentation

QmitkToolDistanceWidget::QmitkToolDistanceWidget ( QWidget *  parent)

default constructor

Definition at line 27 of file QmitkToolDistanceWidget.cpp.

References CreateQtPartControl().

QmitkToolDistanceWidget::~QmitkToolDistanceWidget ( )
virtual

default destructor

Definition at line 33 of file QmitkToolDistanceWidget.cpp.

References ClearDistanceMatrix(), and m_Controls.

Member Function Documentation

void QmitkToolDistanceWidget::ClearDistanceMatrix ( )

This method clears the whole tool distances matrix.

Definition at line 159 of file QmitkToolDistanceWidget.cpp.

References m_Controls.

Referenced by ~QmitkToolDistanceWidget().

void QmitkToolDistanceWidget::CreateConnections ( )
protected

Definition at line 54 of file QmitkToolDistanceWidget.cpp.

Referenced by CreateQtPartControl().

void QmitkToolDistanceWidget::CreateQtPartControl ( QWidget *  parent)
protected

Definition at line 41 of file QmitkToolDistanceWidget.cpp.

References CreateConnections(), and m_Controls.

Referenced by QmitkToolDistanceWidget().

void QmitkToolDistanceWidget::CreateToolDistanceMatrix ( itk::ProcessObject::DataObjectPointerArray &  outputs)

This method creates the initial distances matrix and labels it with the connected tool names.

Definition at line 59 of file QmitkToolDistanceWidget.cpp.

References mitk::NavigationData::GetName(), and m_Controls.

void QmitkToolDistanceWidget::SetDistanceLabelValuesInvalid ( )
slot

This method set's all distance entries in the matrix to "---". Can be used e.g. if tracking is stopped.

Definition at line 175 of file QmitkToolDistanceWidget.cpp.

void QmitkToolDistanceWidget::ShowDistanceValues ( itk::ProcessObject::DataObjectPointerArray &  outputs)

This method displays the matrix with the distances between the tracking source's outputs in a QGridLayout.

Definition at line 124 of file QmitkToolDistanceWidget.cpp.

References mitk::NavigationData::GetPosition(), and mitk::NavigationData::IsDataValid().

Member Data Documentation

Ui::QmitkToolDistanceWidgetControls* QmitkToolDistanceWidget::m_Controls
protected

The documentation for this class was generated from the following files: