#include <SMESHGUI_SmoothingDlg.h>
SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg |
( |
SMESHGUI * |
theModule | ) |
|
References buttonApply, buttonCancel, buttonHelp, buttonOk, CheckBoxMesh, CheckBoxParametric, ClickOnApply(), ClickOnHelp(), ClickOnOk(), ComboBoxMethod, Constructor1, DeactivateActiveDialog(), SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), SMESH::GROUP, GroupArguments, GroupButtons, GroupConstructors, Init(), LineEditElements, LineEditNodes, SMESH_LogicalFilter::LO_OR, MARGIN, SMESH::MESHorSUBMESH, myConstructorId, myElemFilterBtn, myHelpFileName, myIdValidator, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, mySelector, mySMESHGUI, onCloseView(), onOpenView(), onSelectMesh(), onTextChange(), SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), SelectElementsButton, SelectionIntoArgument(), SelectNodesButton, SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), setElemFilters(), setNodeFilters(), SMESHGUI_SpinBox::SetValue(), SPACING, SpinBox_AspectRatio, SpinBox_IterationLimit, TextLabelAspectRatio, TextLabelElements, TextLabelLimit, TextLabelMethod, and TextLabelNodes.
SMESHGUI_SmoothingDlg::~SMESHGUI_SmoothingDlg |
( |
| ) |
|
void SMESHGUI_SmoothingDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
bool SMESHGUI_SmoothingDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::SMESH_MeshEditor::CENTROIDAL_SMOOTH, CheckBoxMesh, CheckBoxParametric, ComboBoxMethod, SMESH::eDisplay, SMESHGUI_SpinBox::GetValue(), SMESHGUI::isActiveStudyLocked(), isValid(), SMESH::SMESH_MeshEditor::LAPLACIAN_SMOOTH, LineEditElements, LineEditNodes, SMESHGUI::Modified(), myMesh, myNbOkElements, myNbOkNodes, mySelectedObject, mySMESHGUI, SMESH::RepaintCurrentView(), SpinBox_AspectRatio, SpinBox_IterationLimit, and SMESH::Update().
Referenced by ClickOnOk(), and SMESHGUI_SmoothingDlg().
void SMESHGUI_SmoothingDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SmoothingDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SmoothingDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SmoothingDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
SMESHGUI_SmoothingDlg::Handle |
( |
SALOME_InteractiveObject |
| ) |
|
|
private |
void SMESHGUI_SmoothingDlg::Init |
( |
| ) |
|
|
private |
bool SMESHGUI_SmoothingDlg::isValid |
( |
| ) |
|
|
private |
void SMESHGUI_SmoothingDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_SmoothingDlg::onCloseView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SmoothingDlg::onOpenView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SmoothingDlg::onSelectMesh |
( |
bool |
toSelectMesh | ) |
|
|
privateslot |
References SMESH::GetViewWindow(), LineEditElements, LineEditNodes, myEditCurrentArgument, myElemFilterBtn, myIdValidator, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, mySMESHGUI, onTextChange(), SelectionIntoArgument(), SMESH::SetPointRepresentation(), and TextLabelElements.
Referenced by Init(), and SMESHGUI_SmoothingDlg().
void SMESHGUI_SmoothingDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References buttonApply, buttonOk, SMESH::EDGE, SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), LineEditElements, LineEditNodes, myActor, myBusy, myMesh, myNbOkElements, myNbOkNodes, mySelector, and mySMESHGUI.
Referenced by onSelectMesh(), and SMESHGUI_SmoothingDlg().
void SMESHGUI_SmoothingDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
void SMESHGUI_SmoothingDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References buttonApply, buttonOk, CheckBoxMesh, SMESH::FindActorByObject(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedIObjects(), SMESH::GetNameOfSelectedNodes(), GroupButtons, Handle(), LineEditElements, LineEditNodes, myActor, myBusy, myEditCurrentArgument, myFilterDlg, myMesh, myNbOkElements, myNbOkNodes, mySelectedObject, mySelectionMgr, and mySelector.
Referenced by ActivateThisDialog(), onSelectMesh(), SetEditCurrentArgument(), and SMESHGUI_SmoothingDlg().
void SMESHGUI_SmoothingDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
References CheckBoxMesh, SMESH::GetViewWindow(), LineEditElements, LineEditNodes, myConstructorId, myEditCurrentArgument, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, mySMESHGUI, SelectElementsButton, SelectionIntoArgument(), SelectNodesButton, and SMESH::SetPointRepresentation().
Referenced by SMESHGUI_SmoothingDlg().
void SMESHGUI_SmoothingDlg::setElemFilters |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SmoothingDlg::setFilters |
( |
const bool |
theIsElem | ) |
|
|
private |
References SMESH::ALL, SMESHGUI_FilterDlg::Init(), LineEditElements, LineEditNodes, myFilterDlg, myMesh, mySMESHGUI, SMESH::NODE, SMESHGUI_FilterDlg::SetMesh(), SMESHGUI_FilterDlg::SetSelection(), and SMESHGUI_FilterDlg::SetSourceWg().
Referenced by setElemFilters(), and setNodeFilters().
void SMESHGUI_SmoothingDlg::setNodeFilters |
( |
| ) |
|
|
privateslot |
QPushButton* SMESHGUI_SmoothingDlg::buttonApply |
|
private |
QPushButton* SMESHGUI_SmoothingDlg::buttonCancel |
|
private |
QPushButton* SMESHGUI_SmoothingDlg::buttonHelp |
|
private |
QPushButton* SMESHGUI_SmoothingDlg::buttonOk |
|
private |
QCheckBox* SMESHGUI_SmoothingDlg::CheckBoxMesh |
|
private |
QCheckBox* SMESHGUI_SmoothingDlg::CheckBoxParametric |
|
private |
QComboBox* SMESHGUI_SmoothingDlg::ComboBoxMethod |
|
private |
QRadioButton* SMESHGUI_SmoothingDlg::Constructor1 |
|
private |
QGroupBox* SMESHGUI_SmoothingDlg::GroupArguments |
|
private |
QGroupBox* SMESHGUI_SmoothingDlg::GroupButtons |
|
private |
QGroupBox* SMESHGUI_SmoothingDlg::GroupConstructors |
|
private |
QLineEdit* SMESHGUI_SmoothingDlg::LineEditElements |
|
private |
QLineEdit* SMESHGUI_SmoothingDlg::LineEditNodes |
|
private |
bool SMESHGUI_SmoothingDlg::myBusy |
|
private |
int SMESHGUI_SmoothingDlg::myConstructorId |
|
private |
QLineEdit* SMESHGUI_SmoothingDlg::myEditCurrentArgument |
|
private |
QPushButton* SMESHGUI_SmoothingDlg::myElemFilterBtn |
|
private |
QString SMESHGUI_SmoothingDlg::myHelpFileName |
|
private |
SMESH::SMESH_Mesh_var SMESHGUI_SmoothingDlg::myMesh |
|
private |
int SMESHGUI_SmoothingDlg::myNbOkElements |
|
private |
int SMESHGUI_SmoothingDlg::myNbOkNodes |
|
private |
SMESH::SMESH_IDSource_var SMESHGUI_SmoothingDlg::mySelectedObject |
|
private |
LightApp_SelectionMgr* SMESHGUI_SmoothingDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_SmoothingDlg::mySelector |
|
private |
SMESHGUI* SMESHGUI_SmoothingDlg::mySMESHGUI |
|
private |
Referenced by ActivateThisDialog(), ClickOnApply(), ClickOnHelp(), DeactivateActiveDialog(), enterEvent(), onOpenView(), onSelectMesh(), onTextChange(), reject(), SetEditCurrentArgument(), setFilters(), and SMESHGUI_SmoothingDlg().
QPushButton* SMESHGUI_SmoothingDlg::SelectElementsButton |
|
private |
QPushButton* SMESHGUI_SmoothingDlg::SelectNodesButton |
|
private |
SalomeApp_IntSpinBox* SMESHGUI_SmoothingDlg::SpinBox_IterationLimit |
|
private |
QLabel* SMESHGUI_SmoothingDlg::TextLabelAspectRatio |
|
private |
QLabel* SMESHGUI_SmoothingDlg::TextLabelElements |
|
private |
QLabel* SMESHGUI_SmoothingDlg::TextLabelLimit |
|
private |
QLabel* SMESHGUI_SmoothingDlg::TextLabelMethod |
|
private |
QLabel* SMESHGUI_SmoothingDlg::TextLabelNodes |
|
private |