SMILX  1.01
Public Slots | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
milxQtRegistrationWindow Class Reference

This class is the registration window/form. More...

#include <milxQtRegistrationWindow.h>

Inheritance diagram for milxQtRegistrationWindow:

Public Slots

void accept ()
 
void reject ()
 
void referenceComboChange (int newIndex)
 
void algoComboChange (int newIndex)
 
void advancedOptionsClicked ()
 
void addImageClicked ()
 
void selectAllClicked ()
 
void unselectAllClicked ()
 
void browseBtnClicked ()
 
void regComplete ()
 
void regError (QString functionName, QString errorMsg)
 An error happened during the registration or average function.
 
void clearList ()
 
void averageComputed ()
 

Public Member Functions

 milxQtRegistrationWindow (QWidget *theParent)
 The standard constructor. More...
 
virtual ~milxQtRegistrationWindow ()
 The standard destructor.
 
void initUI ()
 The standard constructor.
 
void setAlgo (RegType regType)
 Set the type of algorithm and change the form accordingly (display the correct fields)
 
void updateImageListCombo ()
 Update the list of images in the combo box.
 
void updateOpenImages ()
 Update the list of open images in SMILI.
 
bool isImageInList (QString path)
 Is the image already listed in our list of images.
 
RegType getCurrentAlgo ()
 Return the current algorithm selected in the combo box.
 
void updateParameters ()
 Update images parameters, set the values of the form to images.
 
milxQtRegistrationParams getParamsAffineItk ()
 Return the parameters for a Itk Affine registration.
 
milxQtRegistrationParams getParamsDemonItk ()
 Return the parameters for a Itk Demon registration.
 
milxQtRegistrationParams getParamsF3DNifti ()
 Return the parameters for a Nifti F3D registration.
 
milxQtRegistrationParams getParamsAladinNifti ()
 Return the parameters for an Nifti Aladin registration.
 
milxQtRegistrationParams getParamsElastixAffine ()
 Return the parameters for a Elastix Affine registration.
 
milxQtRegistrationParams getParamsElastixBSpline ()
 Return the parameters for a Elastix BSpline registration.
 
void addImage (milxQtRegistration *)
 Add an image to our list of images.
 
void disableUI ()
 Disable the user interface.
 
void enableUI ()
 Enable the user interface.
 
void performRegistrations ()
 Perform the next registration.
 
void workCompleted ()
 Everything has been completed.
 
QString getDefaultOutputFolder ()
 Return the default output folder.
 

Public Attributes

QList< milxQtRegistration * > images
 List of images for the combobox and list of selectable images.
 

Protected Member Functions

void createConnections ()
 

Protected Attributes

Ui::dlgRegistrationWindow ui
 User interface.
 
milxQtMainMainWindow
 Main window of SMILIX.
 
milxQtRegistrationAdvancedOptionsadvancedOptionsWindow
 Advanced options window.
 
bool workInProgress
 Is there any work in progress.
 
bool computeAverage
 Do we need to compute the average of the registrations.
 
milxQtRegistrationAlgosregAlgos
 reg algorithm to compute average
 
QString atlasPath
 Path to the outputed atlas.
 
bool openResults
 Store if we need to open the results.
 

Detailed Description

This class is the registration window/form.

Definition at line 18 of file milxQtRegistrationWindow.h.

Constructor & Destructor Documentation

◆ milxQtRegistrationWindow()

milxQtRegistrationWindow::milxQtRegistrationWindow ( QWidget *  theParent = 0)

The standard constructor.

Create connections with UI.

The average (Atlas) has been computed.

Clear the list of images.

A registration has been completed.

Button browse clicked.

Button unselect all clicked.

Button select all clicked.

Button add image clicked.

Open the advanced option windows.

Algo combo box changed.

Reference combo box changed.

Click on button Cancel.

Click on button Ok.

Definition at line 13 of file milxQtRegistrationWindow.cpp.


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