This class describes the QWidget that allows user to change the X,Y ans Z angle of the arbitrary slice of a 2D image. Moreover it also allows one to change the slice number using a slider. More...
#include <AnglesAndTranslationWidget.h>
Inheritance diagram for AnglesAndTranslationWidget:
Collaboration diagram for AnglesAndTranslationWidget:Public Member Functions | |
| AnglesAndTranslationWidget (AnglesAndTranslationAction *, QWidget *parent=0) | |
| Default construtor. More... | |
| void | updateGUI () |
| update the UI depending on the action More... | |
| virtual | ~AnglesAndTranslationWidget () |
| Destructor. More... | |
Private Slots | |
| void | resetTransform () |
| void | show3DViewer (bool) |
| void | showAllViewer (bool) |
| void | showArbitraryViewer (bool) |
| switch to a specific viewer More... | |
| void | translationSliderChanged (int) |
| void | translationSpinBoxChanged (double) |
| Update the translation value. More... | |
| void | xAngleDialValueChanged (int) |
| Method that update the angle dialog slider (text + value) More... | |
| void | yAngleDialValueChanged (int) |
| void | zAngleDialValueChanged (int) |
Private Member Functions | |
| void | updateAngleSliderLabel (QDial *) |
| update the angle dialog slider label using the current dial value More... | |
Private Attributes | |
| AnglesAndTranslationAction * | myAction |
| the action to refer to More... | |
| Ui::AnglesAndTranslationWidget | ui |
This class describes the QWidget that allows user to change the X,Y ans Z angle of the arbitrary slice of a 2D image. Moreover it also allows one to change the slice number using a slider.
Use corresponding .ui file created with Qt Designer.
| AnglesAndTranslationWidget::AnglesAndTranslationWidget | ( | AnglesAndTranslationAction * | a, |
| QWidget * | parent = 0 |
||
| ) |
Default construtor.
References a, myAction, resetTransform(), show3DViewer(), showAllViewer(), showArbitraryViewer(), translationSliderChanged(), translationSpinBoxChanged(), ui, xAngleDialValueChanged(), yAngleDialValueChanged(), and zAngleDialValueChanged().
Here is the call graph for this function:
|
virtual |
Destructor.
|
privateslot |
References myAction, and AnglesAndTranslationAction::resetTransform().
Referenced by AnglesAndTranslationWidget().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
References myAction, and MedicalImageViewer::VIEWER_3D.
Referenced by AnglesAndTranslationWidget().
Here is the caller graph for this function:
|
privateslot |
References myAction, and MedicalImageViewer::VIEWER_ALL.
Referenced by AnglesAndTranslationWidget().
Here is the caller graph for this function:
|
privateslot |
switch to a specific viewer
References myAction, and MedicalImageViewer::VIEWER_ARBITRARY.
Referenced by AnglesAndTranslationWidget().
Here is the caller graph for this function:
|
privateslot |
References myAction.
Referenced by AnglesAndTranslationWidget().
Here is the caller graph for this function:
|
privateslot |
Update the translation value.
References myAction.
Referenced by AnglesAndTranslationWidget().
Here is the caller graph for this function:
|
private |
update the angle dialog slider label using the current dial value
References ui.
Referenced by updateGUI(), xAngleDialValueChanged(), yAngleDialValueChanged(), and zAngleDialValueChanged().
Here is the caller graph for this function:| void AnglesAndTranslationWidget::updateGUI | ( | ) |
update the UI depending on the action
References myAction, ui, and updateAngleSliderLabel().
Here is the call graph for this function:
|
privateslot |
Method that update the angle dialog slider (text + value)
References myAction, ui, and updateAngleSliderLabel().
Referenced by AnglesAndTranslationWidget().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
References myAction, ui, and updateAngleSliderLabel().
Referenced by AnglesAndTranslationWidget().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
References myAction, ui, and updateAngleSliderLabel().
Referenced by AnglesAndTranslationWidget().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
the action to refer to
Referenced by AnglesAndTranslationWidget(), resetTransform(), show3DViewer(), showAllViewer(), showArbitraryViewer(), translationSliderChanged(), translationSpinBoxChanged(), updateGUI(), xAngleDialValueChanged(), yAngleDialValueChanged(), and zAngleDialValueChanged().
|
private |