Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
AnglesSetterWidget Class Reference

This class describes the QWidget that allows user to change the X,Y ans Z angle of the arbitrary slice of a 2D image. More...

#include <AnglesSetterWidget.h>

Inherits QWidget.

Public Member Functions

 AnglesSetterWidget (QWidget *parent=0)
 Default construtor. More...
 
virtual ~AnglesSetterWidget ()
 Destructor. More...
 

Private Slots

void updateSlice (int sliceNumber)
 Update slice number to be displayed. More...
 
void xAngleDialValueChanged (int value)
 Method that update the angle dialog slider (text + value) More...
 
void yAngleDialValueChanged (int value)
 
void zAngleDialValueChanged (int value)
 

Private Member Functions

void updateAngleSlider (QDial *dial, QLabel *label)
 update the angle dialog slider (text + value) More...
 

Private Attributes

Ui::AnglesSetterWidget ui
 

Detailed Description

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.

Note
For initialization purpose, widget must be used for only one component (arbitrary). If several component are selected, do not build / display it.

Use corresponding .ui file created with Qt Designer.

Constructor & Destructor Documentation

◆ AnglesSetterWidget()

AnglesSetterWidget::AnglesSetterWidget ( QWidget *  parent = 0)

◆ ~AnglesSetterWidget()

AnglesSetterWidget::~AnglesSetterWidget ( )
virtual

Destructor.

Member Function Documentation

◆ updateAngleSlider()

void AnglesSetterWidget::updateAngleSlider ( QDial *  dial,
QLabel *  label 
)
private

update the angle dialog slider (text + value)

References ui.

Referenced by xAngleDialValueChanged(), yAngleDialValueChanged(), and zAngleDialValueChanged().

◆ updateSlice

void AnglesSetterWidget::updateSlice ( int  sliceNumber)
privateslot

Update slice number to be displayed.

Referenced by AnglesSetterWidget().

◆ xAngleDialValueChanged

void AnglesSetterWidget::xAngleDialValueChanged ( int  value)
privateslot

Method that update the angle dialog slider (text + value)

References ui, and updateAngleSlider().

Referenced by AnglesSetterWidget().

◆ yAngleDialValueChanged

void AnglesSetterWidget::yAngleDialValueChanged ( int  value)
privateslot

References ui, and updateAngleSlider().

Referenced by AnglesSetterWidget().

◆ zAngleDialValueChanged

void AnglesSetterWidget::zAngleDialValueChanged ( int  value)
privateslot

References ui, and updateAngleSlider().

Referenced by AnglesSetterWidget().

Member Data Documentation

◆ ui

Ui::AnglesSetterWidget AnglesSetterWidget::ui
private

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