SHAPER  9.12.0
XGUI_DeflectionDialog Class Reference

A class of dialog to chose a deflection value. More...

Inheritance diagram for XGUI_DeflectionDialog:
Inheritance graph

Public Member Functions

 XGUI_DeflectionDialog (QWidget *theParent)
 Constructor. More...
 
void setDeflection (const double &theDeflection)
 Initializes the dialog with the given value. More...
 
double getDeflection () const
 Returns the current deflection value. More...
 

Detailed Description

A class of dialog to chose a deflection value.

The deflection value is in range [0, 1]

Constructor & Destructor Documentation

◆ XGUI_DeflectionDialog()

XGUI_DeflectionDialog::XGUI_DeflectionDialog ( QWidget theParent)

Constructor.

Parameters
theParenta parent widget for the dialog

Member Function Documentation

◆ setDeflection()

void XGUI_DeflectionDialog::setDeflection ( const double &  theDeflection)

Initializes the dialog with the given value.

Parameters
theValuethe deflection value

◆ getDeflection()

double XGUI_DeflectionDialog::getDeflection ( ) const

Returns the current deflection value.

Returns
a double value