NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
QmitkRMSErrorWidget Class Reference

Simple helper widget to allow user to select targets and moving points, and every time you set a transformation matrix, will update the text edit field to display the RMS error between the transformed moving points and the fixed points. More...

Inheritance diagram for QmitkRMSErrorWidget:
Inheritance graph
[legend]
Collaboration diagram for QmitkRMSErrorWidget:
Collaboration graph
[legend]

Public Member Functions

 QmitkRMSErrorWidget (QWidget *parent=0)
 
virtual ~QmitkRMSErrorWidget ()
 
void SetDataStorage (const mitk::DataStorage *dataStorage)
 
void Update ()
 Recalculates the RMS. More...
 

Detailed Description

Simple helper widget to allow user to select targets and moving points, and every time you set a transformation matrix, will update the text edit field to display the RMS error between the transformed moving points and the fixed points.

Constructor & Destructor Documentation

QmitkRMSErrorWidget::QmitkRMSErrorWidget ( QWidget *  parent = 0)
QmitkRMSErrorWidget::~QmitkRMSErrorWidget ( )
virtual

Member Function Documentation

void QmitkRMSErrorWidget::SetDataStorage ( const mitk::DataStorage *  dataStorage)
void QmitkRMSErrorWidget::Update ( void  )

Recalculates the RMS.

This could have been done by registering to the DataSource and listening to the selected node modified events. However, in order to keep things simple, clients can simply call this at the right time.


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