NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
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...
Public Member Functions | |
QmitkRMSErrorWidget (QWidget *parent=0) | |
virtual | ~QmitkRMSErrorWidget () |
void | SetDataStorage (const mitk::DataStorage *dataStorage) |
void | Update () |
Recalculates the RMS. More... | |
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.
QmitkRMSErrorWidget::QmitkRMSErrorWidget | ( | QWidget * | parent = 0 | ) |
|
virtual |
void QmitkRMSErrorWidget::SetDataStorage | ( | const mitk::DataStorage * | dataStorage | ) |
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.