Version: 8.3.0
SMESHGUI_ExtrusionDlg Class Reference

#include <SMESHGUI_ExtrusionDlg.h>

Inheritance diagram for SMESHGUI_ExtrusionDlg:

Public Member Functions

 SMESHGUI_ExtrusionDlg (SMESHGUI *)
 
 ~SMESHGUI_ExtrusionDlg ()
 
void showPreview ()
 
void hidePreview ()
 

Protected Slots

virtual void onDisplaySimulation (bool)
 
virtual void reject ()
 
void toDisplaySimulation ()
 

Protected Member Functions

void connectPreviewControl ()
 
virtual void setIsApplyAndClose (const bool theFlag)
 
virtual bool isApplyAndClose () const
 

Protected Attributes

SMESHGUImySMESHGUI
 
SMESHGUI_MeshEditPreviewmySimulation
 
QCheckBox * myPreviewCheckBox
 
bool myIsApplyAndClose
 

Private Slots

void CheckIsEnable ()
 
void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void ClickOnRadio ()
 
void SetEditCurrentArgument ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onOpenView ()
 
void onCloseView ()
 
void OnScaleAdded ()
 
void OnScaleRemoved ()
 

Private Member Functions

void Init (bool=true)
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
int GetConstructorId ()
 
void getExtrusionVector (SMESH::DirStruct &aVector)
 
void extrusionByNormal (SMESH::SMESH_MeshEditor_ptr meshEditor, const bool makeGroups=false)
 
bool getScaleParams (SMESH::double_array *&scales, SMESH::double_array *&basePoint)
 
bool isValid ()
 
bool isValuesValid ()
 

Private Attributes

LightApp_SelectionMgr * mySelectionMgr
 
SVTK_Selector * mySelector
 
QList< double > myScalesList
 
SMESHGUI_3TypesSelectorSelectorWdg
 
QRadioButton * ExtrMethod_RBut0
 
QRadioButton * ExtrMethod_RBut1
 
QRadioButton * ExtrMethod_RBut2
 
QGroupBoxGroupArguments
 
QLabel * TextLabelVector
 
QLabel * TextLabelDistance
 
QPushButton * SelectVectorButton
 
QLabel * TextLabelDx
 
SMESHGUI_SpinBoxSpinBox_Dx
 
QLabel * TextLabelDy
 
SMESHGUI_SpinBoxSpinBox_Dy
 
QLabel * TextLabelDz
 
SMESHGUI_SpinBoxSpinBox_Dz
 
QLabel * TextLabelVx
 
SMESHGUI_SpinBoxSpinBox_Vx
 
QLabel * TextLabelVy
 
SMESHGUI_SpinBoxSpinBox_Vy
 
QLabel * TextLabelVz
 
SMESHGUI_SpinBoxSpinBox_Vz
 
QLabel * TextLabelDist
 
SMESHGUI_SpinBoxSpinBox_VDist
 
QLabel * TextLabelNbSteps
 
SalomeApp_IntSpinBox * SpinBox_NbSteps
 
QCheckBox * ByAverageNormalCheck
 
QCheckBox * UseInputElemsOnlyCheck
 
QCheckBox * MakeGroupsCheck
 
QGroupBoxBasePointGrp
 
QPushButton * SelectBasePointButton
 
SMESHGUI_SpinBoxBasePoint_XSpin
 
SMESHGUI_SpinBoxBasePoint_YSpin
 
SMESHGUI_SpinBoxBasePoint_ZSpin
 
QGroupBoxScalesGrp
 
QListWidget * ScalesList
 
QToolButton * AddScaleButton
 
QToolButton * RemoveScaleButton
 
SMESHGUI_SpinBoxScaleSpin
 
QCheckBox * LinearScalesCheck
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QString myHelpFileName
 
QString myIDs
 

Constructor & Destructor Documentation

SMESHGUI_ExtrusionDlg::~SMESHGUI_ExtrusionDlg ( )

Member Function Documentation

void SMESHGUI_ExtrusionDlg::ActivateThisDialog ( )
privateslot
void SMESHGUI_ExtrusionDlg::CheckIsEnable ( )
privateslot
void SMESHGUI_ExtrusionDlg::ClickOnHelp ( )
privateslot
void SMESHGUI_ExtrusionDlg::ClickOnOk ( )
privateslot

References ClickOnApply(), and reject().

Referenced by SMESHGUI_ExtrusionDlg().

void SMESHGUI_ExtrusionDlg::DeactivateActiveDialog ( )
privateslot
void SMESHGUI_ExtrusionDlg::enterEvent ( QEvent *  )
private
void SMESHGUI_ExtrusionDlg::extrusionByNormal ( SMESH::SMESH_MeshEditor_ptr  meshEditor,
const bool  makeGroups = false 
)
private
int SMESHGUI_ExtrusionDlg::GetConstructorId ( )
private
bool SMESHGUI_ExtrusionDlg::getScaleParams ( SMESH::double_array *&  scales,
SMESH::double_array *&  basePoint 
)
private
bool SMESHGUI_PreviewDlg::isApplyAndClose ( ) const
protectedvirtualinherited
void SMESHGUI_ExtrusionDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

void SMESHGUI_ExtrusionDlg::onCloseView ( )
privateslot
void SMESHGUI_ExtrusionDlg::onOpenView ( )
privateslot
void SMESHGUI_ExtrusionDlg::OnScaleAdded ( )
privateslot
void SMESHGUI_ExtrusionDlg::OnScaleRemoved ( )
privateslot

References myScalesList, and ScalesList.

Referenced by SMESHGUI_ExtrusionDlg().

void SMESHGUI_PreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited
void SMESHGUI_PreviewDlg::showPreview ( )
inherited

Field Documentation

QToolButton* SMESHGUI_ExtrusionDlg::AddScaleButton
private

Referenced by SMESHGUI_ExtrusionDlg().

SMESHGUI_SpinBox* SMESHGUI_ExtrusionDlg::BasePoint_XSpin
private
SMESHGUI_SpinBox* SMESHGUI_ExtrusionDlg::BasePoint_YSpin
private
SMESHGUI_SpinBox* SMESHGUI_ExtrusionDlg::BasePoint_ZSpin
private
QGroupBox* SMESHGUI_ExtrusionDlg::BasePointGrp
private
QPushButton* SMESHGUI_ExtrusionDlg::buttonApply
private
QPushButton* SMESHGUI_ExtrusionDlg::buttonCancel
private

Referenced by SMESHGUI_ExtrusionDlg().

QPushButton* SMESHGUI_ExtrusionDlg::buttonHelp
private

Referenced by SMESHGUI_ExtrusionDlg().

QPushButton* SMESHGUI_ExtrusionDlg::buttonOk
private
QCheckBox* SMESHGUI_ExtrusionDlg::ByAverageNormalCheck
private
QRadioButton* SMESHGUI_ExtrusionDlg::ExtrMethod_RBut0
private
QRadioButton* SMESHGUI_ExtrusionDlg::ExtrMethod_RBut1
private
QRadioButton* SMESHGUI_ExtrusionDlg::ExtrMethod_RBut2
private
QGroupBox* SMESHGUI_ExtrusionDlg::GroupArguments
private
QGroupBox* SMESHGUI_ExtrusionDlg::GroupButtons
private
QCheckBox* SMESHGUI_ExtrusionDlg::LinearScalesCheck
private
QCheckBox* SMESHGUI_ExtrusionDlg::MakeGroupsCheck
private
QString SMESHGUI_ExtrusionDlg::myHelpFileName
private
QString SMESHGUI_ExtrusionDlg::myIDs
private
bool SMESHGUI_PreviewDlg::myIsApplyAndClose
protectedinherited
QList<double> SMESHGUI_ExtrusionDlg::myScalesList
private
LightApp_SelectionMgr* SMESHGUI_ExtrusionDlg::mySelectionMgr
private
SVTK_Selector* SMESHGUI_ExtrusionDlg::mySelector
private
QToolButton* SMESHGUI_ExtrusionDlg::RemoveScaleButton
private

Referenced by SMESHGUI_ExtrusionDlg().

QGroupBox* SMESHGUI_ExtrusionDlg::ScalesGrp
private
QListWidget* SMESHGUI_ExtrusionDlg::ScalesList
private
SMESHGUI_SpinBox* SMESHGUI_ExtrusionDlg::ScaleSpin
private
QPushButton* SMESHGUI_ExtrusionDlg::SelectBasePointButton
private
QPushButton* SMESHGUI_ExtrusionDlg::SelectVectorButton
private
SalomeApp_IntSpinBox* SMESHGUI_ExtrusionDlg::SpinBox_NbSteps
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDist
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDistance
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDx
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDy
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDz
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelNbSteps
private

Referenced by SMESHGUI_ExtrusionDlg().

QLabel* SMESHGUI_ExtrusionDlg::TextLabelVector
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelVx
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelVy
private
QLabel* SMESHGUI_ExtrusionDlg::TextLabelVz
private
QCheckBox* SMESHGUI_ExtrusionDlg::UseInputElemsOnlyCheck
private