#include <SMESHGUI_SymmetryDlg.h>
◆ SMESHGUI_SymmetryDlg()
SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg |
( |
SMESHGUI * |
theModule | ) |
|
References ActionBox, ActionGroup, buttonApply, buttonCancel, buttonHelp, buttonOk, CheckBoxMesh, ClickOnApply(), ClickOnHelp(), ClickOnOk(), SMESHGUI_MultiPreviewDlg::connectPreviewControl(), ConstructorsBox, ConstructorsClicked(), COORD_MAX, COORD_MIN, COPY_ELEMS_BUTTON, DeactivateActiveDialog(), SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), SMESH::GROUP, GroupArguments, GroupButtons, GroupConstructors, GroupMirror, Init(), LineEditElements, LineEditNewMesh, SMESH_LogicalFilter::LO_OR, MAKE_MESH_BUTTON, MakeGroupsCheck, MARGIN, SMESH::MESHorSUBMESH, MOVE_ELEMS_BUTTON, myFilterBtn, myHelpFileName, myIdValidator, myMeshOrSubMeshOrGroupFilter, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, mySelectionMgr, mySelector, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onActionClicked(), onCloseView(), onOpenView(), onSelectMesh(), onTextChange(), onVectorChanged(), RadioButton1, RadioButton2, RadioButton3, SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), SelectElementsButton, SelectionIntoArgument(), SelectPointButton, SelectVectorButton, SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), setFilters(), SPACING, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, TextLabelDX, TextLabelDY, TextLabelDZ, TextLabelElements, TextLabelPoint, TextLabelVector, TextLabelX, TextLabelY, TextLabelZ, and SMESHGUI_MultiPreviewDlg::toDisplaySimulation().
◆ ~SMESHGUI_SymmetryDlg()
SMESHGUI_SymmetryDlg::~SMESHGUI_SymmetryDlg |
( |
| ) |
|
◆ ActivateThisDialog
void SMESHGUI_SymmetryDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
◆ ClickOnApply
bool SMESHGUI_SymmetryDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::_PTR(), ActionGroup, CheckBoxMesh, COPY_ELEMS_BUTTON, SMESH::FindActorByObject(), GetConstructorId(), getMirror(), Init(), SMESHGUI_MultiPreviewDlg::isApplyAndClose(), IsMirrorOk(), SMESHGUI::isStudyLocked(), isValid(), LineEditNewMesh, MAKE_MESH_BUTTON, MakeGroupsCheck, SMESHGUI::Modified(), MOVE_ELEMS_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, myObjectsNames, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, SMESH::UniqueMeshName(), and SMESH::Update().
Referenced by ClickOnOk(), and SMESHGUI_SymmetryDlg().
◆ ClickOnHelp
void SMESHGUI_SymmetryDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
◆ ClickOnOk
void SMESHGUI_SymmetryDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
◆ connectPreviewControl()
void SMESHGUI_MultiPreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
◆ ConstructorsClicked
void SMESHGUI_SymmetryDlg::ConstructorsClicked |
( |
int |
constructorId | ) |
|
|
privateslot |
References CheckBoxMesh, SMESH::GetViewWindow(), GroupMirror, LineEditElements, myEditCurrentArgument, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onDisplaySimulation(), onSelectMesh(), SelectionIntoArgument(), SelectVectorButton, SMESH::SetPointRepresentation(), SpinBox_DX, SpinBox_DY, SpinBox_DZ, TextLabelDX, TextLabelDY, TextLabelDZ, and TextLabelVector.
Referenced by SMESHGUI_SymmetryDlg().
◆ DeactivateActiveDialog
void SMESHGUI_SymmetryDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
◆ enterEvent()
void SMESHGUI_SymmetryDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
◆ GetConstructorId()
int SMESHGUI_SymmetryDlg::GetConstructorId |
( |
| ) |
|
|
private |
◆ getMirror()
References SMESH::SMESH_MeshEditor::AXIS, GetConstructorId(), SMESHGUI_SpinBox::GetValue(), SMESH::SMESH_MeshEditor::PLANE, SMESH::SMESH_MeshEditor::POINT, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, SMESH::AxisStruct::vx, SMESH::AxisStruct::vy, SMESH::AxisStruct::vz, SMESH::AxisStruct::x, SMESH::AxisStruct::y, and SMESH::AxisStruct::z.
Referenced by ClickOnApply(), and onDisplaySimulation().
◆ hidePreview()
void SMESHGUI_MultiPreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
References SMESHGUI_MultiPreviewDlg::mySimulationList.
Referenced by SMESHGUI_OffsetDlg::onDisplaySimulation(), SMESHGUI_RotationDlg::onDisplaySimulation(), SMESHGUI_ScaleDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_TranslationDlg::onDisplaySimulation(), SMESHGUI_OffsetDlg::onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), and SMESHGUI_MultiPreviewDlg::setSimulationPreview().
◆ Init()
void SMESHGUI_SymmetryDlg::Init |
( |
bool |
ResetControls = true | ) |
|
|
private |
References ActionGroup, buttonApply, buttonOk, CheckBoxMesh, SMESH::GetViewWindow(), SMESHGUI_MultiPreviewDlg::isApplyAndClose(), LineEditElements, MOVE_ELEMS_BUTTON, myActor, myBusy, myEditCurrentArgument, myElementsId, myMeshes, myNbOkElements, myObjects, myObjectsNames, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onDisplaySimulation(), onSelectMesh(), SMESHGUI_SpinBox::SetValue(), SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, and SpinBox_Z.
Referenced by ClickOnApply(), and SMESHGUI_SymmetryDlg().
◆ isApplyAndClose()
bool SMESHGUI_MultiPreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ IsMirrorOk()
bool SMESHGUI_SymmetryDlg::IsMirrorOk |
( |
| ) |
|
|
private |
◆ isValid()
bool SMESHGUI_SymmetryDlg::isValid |
( |
| ) |
|
|
private |
◆ keyPressEvent()
void SMESHGUI_SymmetryDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
◆ onActionClicked
void SMESHGUI_SymmetryDlg::onActionClicked |
( |
int |
button | ) |
|
|
privateslot |
◆ onCloseView
void SMESHGUI_SymmetryDlg::onCloseView |
( |
| ) |
|
|
privateslot |
◆ onDisplaySimulation
void SMESHGUI_SymmetryDlg::onDisplaySimulation |
( |
bool |
toDisplayPreview | ) |
|
|
protectedvirtualslot |
References ActionGroup, CheckBoxMesh, COPY_ELEMS_BUTTON, getMirror(), SMESHGUI_MultiPreviewDlg::hidePreview(), IsMirrorOk(), isValid(), MAKE_MESH_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, and SMESHGUI_MultiPreviewDlg::setSimulationPreview().
Referenced by ConstructorsClicked(), Init(), and SelectionIntoArgument().
◆ onFilterAccepted
void SMESHGUI_SymmetryDlg::onFilterAccepted |
( |
| ) |
|
|
protectedslot |
◆ onOpenView
void SMESHGUI_SymmetryDlg::onOpenView |
( |
| ) |
|
|
privateslot |
◆ onSelectMesh
void SMESHGUI_SymmetryDlg::onSelectMesh |
( |
bool |
toSelectMesh | ) |
|
|
privateslot |
References SMESH::GetViewWindow(), SMESHGUI_MultiPreviewDlg::hidePreview(), LineEditElements, myEditCurrentArgument, myFilterBtn, myIdValidator, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onTextChange(), SelectionIntoArgument(), SMESH::SetPointRepresentation(), and TextLabelElements.
Referenced by ConstructorsClicked(), Init(), and SMESHGUI_SymmetryDlg().
◆ onTextChange
void SMESHGUI_SymmetryDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References buttonApply, buttonOk, SMDS_Mesh::FindElement(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), Handle(), IsMirrorOk(), LineEditElements, myActor, myBusy, myElementsId, myNbOkElements, mySelector, and SMESHGUI_MultiPreviewDlg::mySMESHGUI.
Referenced by onSelectMesh(), and SMESHGUI_SymmetryDlg().
◆ onVectorChanged
void SMESHGUI_SymmetryDlg::onVectorChanged |
( |
| ) |
|
|
privateslot |
◆ reject
void SMESHGUI_SymmetryDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
◆ SelectionIntoArgument
void SMESHGUI_SymmetryDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References SMESH::_PTR(), ActionGroup, buttonApply, buttonOk, CheckBoxMesh, SMESH::FindActorByEntry(), SMESH::FindActorByObject(), SMDS_Mesh::FindNode(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedElements(), SMESH::GetNameOfSelectedIObjects(), SMESH::GetNameOfSelectedNodes(), SMESH_Actor::GetObject(), SMESHGUI_SpinBox::GetValue(), GroupButtons, Handle(), IsMirrorOk(), LineEditElements, MakeGroupsCheck, MOVE_ELEMS_BUTTON, myActor, myBusy, myEditCurrentArgument, myElementsId, myFilterDlg, myMeshes, myNbOkElements, myObjects, myObjectsNames, mySelectionMgr, mySelector, onDisplaySimulation(), setNewMeshName(), SMESHGUI_SpinBox::SetValue(), SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by ActivateThisDialog(), ConstructorsClicked(), onSelectMesh(), SetEditCurrentArgument(), and SMESHGUI_SymmetryDlg().
◆ SetEditCurrentArgument
void SMESHGUI_SymmetryDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
References CheckBoxMesh, SMESH::GetViewWindow(), LineEditElements, myEditCurrentArgument, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SelectElementsButton, SelectionIntoArgument(), SelectPointButton, SelectVectorButton, SMESH::SetPointRepresentation(), SpinBox_DX, and SpinBox_X.
Referenced by SMESHGUI_SymmetryDlg().
◆ setFilters
void SMESHGUI_SymmetryDlg::setFilters |
( |
| ) |
|
|
privateslot |
References SMESH::ALL, SMESH::BALL, SMESH::EDGE, SMESH::ELEM0D, SMESH::FACE, SMESHGUI_FilterDlg::Init(), LineEditElements, myFilterDlg, myMeshes, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onFilterAccepted(), SMESHGUI_FilterDlg::SetMesh(), SMESHGUI_FilterDlg::SetSelection(), SMESHGUI_FilterDlg::SetSourceWg(), and SMESH::VOLUME.
Referenced by SMESHGUI_SymmetryDlg().
◆ setIsApplyAndClose()
void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
◆ setNewMeshName()
void SMESHGUI_SymmetryDlg::setNewMeshName |
( |
| ) |
|
|
private |
◆ setSimulationPreview()
void SMESHGUI_MultiPreviewDlg::setSimulationPreview |
( |
QList< SMESH::MeshPreviewStruct_var > & |
theMeshPreviewStruct | ) |
|
|
inherited |
◆ showPreview()
void SMESHGUI_MultiPreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
◆ toDisplaySimulation
void SMESHGUI_MultiPreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
◆ ActionBox
◆ ActionGroup
QButtonGroup* SMESHGUI_SymmetryDlg::ActionGroup |
|
private |
◆ buttonApply
QPushButton* SMESHGUI_SymmetryDlg::buttonApply |
|
private |
◆ buttonCancel
QPushButton* SMESHGUI_SymmetryDlg::buttonCancel |
|
private |
◆ buttonHelp
QPushButton* SMESHGUI_SymmetryDlg::buttonHelp |
|
private |
◆ buttonOk
QPushButton* SMESHGUI_SymmetryDlg::buttonOk |
|
private |
◆ CheckBoxMesh
QCheckBox* SMESHGUI_SymmetryDlg::CheckBoxMesh |
|
private |
◆ ConstructorsBox
QGroupBox* SMESHGUI_SymmetryDlg::ConstructorsBox |
|
private |
◆ GroupArguments
QGroupBox* SMESHGUI_SymmetryDlg::GroupArguments |
|
private |
◆ GroupButtons
QGroupBox* SMESHGUI_SymmetryDlg::GroupButtons |
|
private |
◆ GroupConstructors
QButtonGroup* SMESHGUI_SymmetryDlg::GroupConstructors |
|
private |
◆ GroupMirror
◆ LineEditElements
QLineEdit* SMESHGUI_SymmetryDlg::LineEditElements |
|
private |
◆ LineEditNewMesh
QLineEdit* SMESHGUI_SymmetryDlg::LineEditNewMesh |
|
private |
◆ MakeGroupsCheck
QCheckBox* SMESHGUI_SymmetryDlg::MakeGroupsCheck |
|
private |
◆ myActor
◆ myBusy
bool SMESHGUI_SymmetryDlg::myBusy |
|
private |
◆ myEditCurrentArgument
QWidget* SMESHGUI_SymmetryDlg::myEditCurrentArgument |
|
private |
◆ myElementsId
QString SMESHGUI_SymmetryDlg::myElementsId |
|
private |
◆ myFilterBtn
QPushButton* SMESHGUI_SymmetryDlg::myFilterBtn |
|
private |
◆ myFilterDlg
◆ myHelpFileName
QString SMESHGUI_SymmetryDlg::myHelpFileName |
|
private |
◆ myIdValidator
◆ myIsApplyAndClose
bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose |
|
protectedinherited |
◆ myMeshes
QList<SMESH::SMESH_Mesh_var> SMESHGUI_SymmetryDlg::myMeshes |
|
private |
◆ myMeshOrSubMeshOrGroupFilter
◆ myNbOkElements
int SMESHGUI_SymmetryDlg::myNbOkElements |
|
private |
◆ myObjects
QList<SMESH::SMESH_IDSource_var> SMESHGUI_SymmetryDlg::myObjects |
|
private |
◆ myObjectsNames
QList<QString> SMESHGUI_SymmetryDlg::myObjectsNames |
|
private |
◆ myPreviewCheckBox
QCheckBox* SMESHGUI_MultiPreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_MultiPreviewDlg::connectPreviewControl(), SMESHGUI_OffsetDlg::Init(), SMESHGUI_RotationDlg::Init(), SMESHGUI_ScaleDlg::Init(), Init(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_OffsetDlg::onDisplaySimulation(), SMESHGUI_RotationDlg::onDisplaySimulation(), SMESHGUI_ScaleDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_TranslationDlg::onDisplaySimulation(), SMESHGUI_OffsetDlg::SMESHGUI_OffsetDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().
◆ mySelectionMgr
LightApp_SelectionMgr* SMESHGUI_SymmetryDlg::mySelectionMgr |
|
private |
◆ mySelector
SVTK_Selector* SMESHGUI_SymmetryDlg::mySelector |
|
private |
◆ mySimulationList
◆ mySMESHGUI
SMESHGUI* SMESHGUI_MultiPreviewDlg::mySMESHGUI |
|
protectedinherited |
Referenced by SMESHGUI_OffsetDlg::ActivateThisDialog(), SMESHGUI_RotationDlg::ActivateThisDialog(), SMESHGUI_ScaleDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_TranslationDlg::ActivateThisDialog(), SMESHGUI_OffsetDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_OffsetDlg::ClickOnHelp(), SMESHGUI_RotationDlg::ClickOnHelp(), SMESHGUI_ScaleDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_TranslationDlg::ClickOnHelp(), SMESHGUI_ScaleDlg::ConstructorsClicked(), ConstructorsClicked(), SMESHGUI_TranslationDlg::ConstructorsClicked(), SMESHGUI_OffsetDlg::DeactivateActiveDialog(), SMESHGUI_RotationDlg::DeactivateActiveDialog(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_TranslationDlg::DeactivateActiveDialog(), SMESHGUI_OffsetDlg::enterEvent(), SMESHGUI_RotationDlg::enterEvent(), SMESHGUI_ScaleDlg::enterEvent(), enterEvent(), SMESHGUI_TranslationDlg::enterEvent(), SMESHGUI_RotationDlg::Init(), Init(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_OffsetDlg::onOpenView(), SMESHGUI_RotationDlg::onOpenView(), SMESHGUI_ScaleDlg::onOpenView(), onOpenView(), SMESHGUI_TranslationDlg::onOpenView(), SMESHGUI_OffsetDlg::onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), SMESHGUI_OffsetDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_OffsetDlg::reject(), SMESHGUI_RotationDlg::reject(), SMESHGUI_ScaleDlg::reject(), reject(), SMESHGUI_TranslationDlg::reject(), SMESHGUI_RotationDlg::SetEditCurrentArgument(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SetEditCurrentArgument(), SMESHGUI_TranslationDlg::SetEditCurrentArgument(), SMESHGUI_OffsetDlg::setFilters(), SMESHGUI_RotationDlg::setFilters(), SMESHGUI_ScaleDlg::setFilters(), setFilters(), SMESHGUI_TranslationDlg::setFilters(), SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SMESHGUI_MultiPreviewDlg::SMESHGUI_MultiPreviewDlg(), SMESHGUI_OffsetDlg::SMESHGUI_OffsetDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().
◆ RadioButton1
QRadioButton* SMESHGUI_SymmetryDlg::RadioButton1 |
|
private |
◆ RadioButton2
QRadioButton* SMESHGUI_SymmetryDlg::RadioButton2 |
|
private |
◆ RadioButton3
QRadioButton* SMESHGUI_SymmetryDlg::RadioButton3 |
|
private |
◆ SelectElementsButton
QPushButton* SMESHGUI_SymmetryDlg::SelectElementsButton |
|
private |
◆ SelectPointButton
QPushButton* SMESHGUI_SymmetryDlg::SelectPointButton |
|
private |
◆ SelectVectorButton
QPushButton* SMESHGUI_SymmetryDlg::SelectVectorButton |
|
private |
◆ SpinBox_DX
◆ SpinBox_DY
◆ SpinBox_DZ
◆ SpinBox_X
◆ SpinBox_Y
◆ SpinBox_Z
◆ TextLabelDX
QLabel* SMESHGUI_SymmetryDlg::TextLabelDX |
|
private |
◆ TextLabelDY
QLabel* SMESHGUI_SymmetryDlg::TextLabelDY |
|
private |
◆ TextLabelDZ
QLabel* SMESHGUI_SymmetryDlg::TextLabelDZ |
|
private |
◆ TextLabelElements
QLabel* SMESHGUI_SymmetryDlg::TextLabelElements |
|
private |
◆ TextLabelPoint
QLabel* SMESHGUI_SymmetryDlg::TextLabelPoint |
|
private |
◆ TextLabelVector
QLabel* SMESHGUI_SymmetryDlg::TextLabelVector |
|
private |
◆ TextLabelX
QLabel* SMESHGUI_SymmetryDlg::TextLabelX |
|
private |
◆ TextLabelY
QLabel* SMESHGUI_SymmetryDlg::TextLabelY |
|
private |
◆ TextLabelZ
QLabel* SMESHGUI_SymmetryDlg::TextLabelZ |
|
private |