#include <SMESHGUI_SymmetryDlg.h>
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 |
( |
| ) |
|
void SMESHGUI_SymmetryDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
bool SMESHGUI_SymmetryDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References _PTR(), ActionGroup, CheckBoxMesh, COPY_ELEMS_BUTTON, SMESH::FindActorByObject(), GetConstructorId(), getMirror(), Init(), SMESHGUI::isActiveStudyLocked(), SMESHGUI_MultiPreviewDlg::isApplyAndClose(), IsMirrorOk(), isValid(), LineEditNewMesh, MAKE_MESH_BUTTON, MakeGroupsCheck, SMESHGUI::Modified(), MOVE_ELEMS_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, myObjectsNames, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SObject(), SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, SMESH::UniqueMeshName(), and SMESH::Update().
Referenced by ClickOnOk(), and SMESHGUI_SymmetryDlg().
void SMESHGUI_SymmetryDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SymmetryDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_MultiPreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
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().
void SMESHGUI_SymmetryDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SymmetryDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
int SMESHGUI_SymmetryDlg::GetConstructorId |
( |
| ) |
|
|
private |
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().
void SMESHGUI_MultiPreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
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().
bool SMESHGUI_MultiPreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
bool SMESHGUI_SymmetryDlg::IsMirrorOk |
( |
| ) |
|
|
private |
bool SMESHGUI_SymmetryDlg::isValid |
( |
| ) |
|
|
private |
void SMESHGUI_SymmetryDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_SymmetryDlg::onActionClicked |
( |
int |
button | ) |
|
|
privateslot |
void SMESHGUI_SymmetryDlg::onCloseView |
( |
| ) |
|
|
privateslot |
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().
void SMESHGUI_SymmetryDlg::onFilterAccepted |
( |
| ) |
|
|
protectedslot |
void SMESHGUI_SymmetryDlg::onOpenView |
( |
| ) |
|
|
privateslot |
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().
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().
void SMESHGUI_SymmetryDlg::onVectorChanged |
( |
| ) |
|
|
privateslot |
void SMESHGUI_SymmetryDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
void SMESHGUI_SymmetryDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References _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(), SObject(), 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().
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().
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().
void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
void SMESHGUI_SymmetryDlg::setNewMeshName |
( |
| ) |
|
|
private |
void SMESHGUI_MultiPreviewDlg::setSimulationPreview |
( |
QList< SMESH::MeshPreviewStruct_var > & |
theMeshPreviewStruct | ) |
|
|
inherited |
void SMESHGUI_MultiPreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
void SMESHGUI_MultiPreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
QButtonGroup* SMESHGUI_SymmetryDlg::ActionGroup |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::buttonApply |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::buttonCancel |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::buttonHelp |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::buttonOk |
|
private |
QCheckBox* SMESHGUI_SymmetryDlg::CheckBoxMesh |
|
private |
QGroupBox* SMESHGUI_SymmetryDlg::ConstructorsBox |
|
private |
QGroupBox* SMESHGUI_SymmetryDlg::GroupArguments |
|
private |
QGroupBox* SMESHGUI_SymmetryDlg::GroupButtons |
|
private |
QButtonGroup* SMESHGUI_SymmetryDlg::GroupConstructors |
|
private |
QLineEdit* SMESHGUI_SymmetryDlg::LineEditElements |
|
private |
QLineEdit* SMESHGUI_SymmetryDlg::LineEditNewMesh |
|
private |
QCheckBox* SMESHGUI_SymmetryDlg::MakeGroupsCheck |
|
private |
bool SMESHGUI_SymmetryDlg::myBusy |
|
private |
QWidget* SMESHGUI_SymmetryDlg::myEditCurrentArgument |
|
private |
QString SMESHGUI_SymmetryDlg::myElementsId |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::myFilterBtn |
|
private |
QString SMESHGUI_SymmetryDlg::myHelpFileName |
|
private |
bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose |
|
protectedinherited |
QList<SMESH::SMESH_Mesh_var> SMESHGUI_SymmetryDlg::myMeshes |
|
private |
int SMESHGUI_SymmetryDlg::myNbOkElements |
|
private |
QList<SMESH::SMESH_IDSource_var> SMESHGUI_SymmetryDlg::myObjects |
|
private |
QList<QString> SMESHGUI_SymmetryDlg::myObjectsNames |
|
private |
QCheckBox* SMESHGUI_MultiPreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_MultiPreviewDlg::connectPreviewControl(), SMESHGUI_ScaleDlg::Init(), SMESHGUI_TranslationDlg::Init(), Init(), SMESHGUI_RotationDlg::Init(), SMESHGUI_ScaleDlg::onDisplaySimulation(), SMESHGUI_TranslationDlg::onDisplaySimulation(), SMESHGUI_RotationDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().
LightApp_SelectionMgr* SMESHGUI_SymmetryDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_SymmetryDlg::mySelector |
|
private |
SMESHGUI* SMESHGUI_MultiPreviewDlg::mySMESHGUI |
|
protectedinherited |
Referenced by SMESHGUI_ScaleDlg::ActivateThisDialog(), SMESHGUI_TranslationDlg::ActivateThisDialog(), SMESHGUI_RotationDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnHelp(), SMESHGUI_TranslationDlg::ClickOnHelp(), SMESHGUI_RotationDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_ScaleDlg::ConstructorsClicked(), SMESHGUI_TranslationDlg::ConstructorsClicked(), ConstructorsClicked(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), SMESHGUI_TranslationDlg::DeactivateActiveDialog(), SMESHGUI_RotationDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_ScaleDlg::enterEvent(), SMESHGUI_TranslationDlg::enterEvent(), enterEvent(), SMESHGUI_RotationDlg::enterEvent(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_RotationDlg::Init(), Init(), SMESHGUI_ScaleDlg::onOpenView(), SMESHGUI_TranslationDlg::onOpenView(), SMESHGUI_RotationDlg::onOpenView(), onOpenView(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), onTextChange(), SMESHGUI_ScaleDlg::reject(), SMESHGUI_TranslationDlg::reject(), SMESHGUI_RotationDlg::reject(), reject(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SMESHGUI_TranslationDlg::SetEditCurrentArgument(), SMESHGUI_RotationDlg::SetEditCurrentArgument(), SetEditCurrentArgument(), SMESHGUI_ScaleDlg::setFilters(), SMESHGUI_TranslationDlg::setFilters(), SMESHGUI_RotationDlg::setFilters(), setFilters(), SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SMESHGUI_MultiPreviewDlg::SMESHGUI_MultiPreviewDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().
QRadioButton* SMESHGUI_SymmetryDlg::RadioButton1 |
|
private |
QRadioButton* SMESHGUI_SymmetryDlg::RadioButton2 |
|
private |
QRadioButton* SMESHGUI_SymmetryDlg::RadioButton3 |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::SelectElementsButton |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::SelectPointButton |
|
private |
QPushButton* SMESHGUI_SymmetryDlg::SelectVectorButton |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelDX |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelDY |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelDZ |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelElements |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelPoint |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelVector |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelX |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelY |
|
private |
QLabel* SMESHGUI_SymmetryDlg::TextLabelZ |
|
private |