#include <SMESHGUI_RotationDlg.h>
◆ SMESHGUI_RotationDlg()
SMESHGUI_RotationDlg::SMESHGUI_RotationDlg |
( |
SMESHGUI * |
theModule | ) |
|
References ActionBox, ActionGroup, buttonApply, buttonCancel, buttonHelp, buttonOk, CheckBoxMesh, ClickOnApply(), ClickOnHelp(), ClickOnOk(), SMESHGUI_MultiPreviewDlg::connectPreviewControl(), COORD_MAX, COORD_MIN, COPY_ELEMS_BUTTON, DeactivateActiveDialog(), SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), SMESH::GROUP, GroupArguments, GroupAxis, GroupButtons, GroupConstructors, Init(), LineEditElements, LineEditNewMesh, SMESH_LogicalFilter::LO_OR, MAKE_MESH_BUTTON, MakeGroupsCheck, MARGIN, SMESH::MESHorSUBMESH, MOVE_ELEMS_BUTTON, myConstructorId, myFilterBtn, myHelpFileName, myIdValidator, myMeshOrSubMeshOrGroupFilter, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, mySelectionMgr, mySelector, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onActionClicked(), onCloseView(), onOpenView(), onSelectMesh(), onTextChange(), onVectorChanged(), RadioButton1, SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), SelectElementsButton, SelectionIntoArgument(), SelectPointButton, SelectVectorButton, SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), setFilters(), SPACING, SpinBox_Angle, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, TextLabelAngle, TextLabelDX, TextLabelDY, TextLabelDZ, TextLabelElements, TextLabelPoint, TextLabelVector, TextLabelX, TextLabelY, TextLabelZ, and SMESHGUI_MultiPreviewDlg::toDisplaySimulation().
◆ ~SMESHGUI_RotationDlg()
SMESHGUI_RotationDlg::~SMESHGUI_RotationDlg |
( |
| ) |
|
◆ ActivateThisDialog
void SMESHGUI_RotationDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
◆ ClickOnApply
bool SMESHGUI_RotationDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::_PTR(), ActionGroup, CheckBoxMesh, COPY_ELEMS_BUTTON, SMESH::FindActorByObject(), SMESHGUI_SpinBox::GetValue(), Init(), SMESHGUI_MultiPreviewDlg::isApplyAndClose(), IsAxisOk(), SMESHGUI::isStudyLocked(), isValid(), LineEditNewMesh, MAKE_MESH_BUTTON, MakeGroupsCheck, SMESHGUI::Modified(), MOVE_ELEMS_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, myObjectsNames, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SpinBox_Angle, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, SMESH::UniqueMeshName(), SMESH::Update(), SMESH::AxisStruct::vx, SMESH::AxisStruct::vy, SMESH::AxisStruct::vz, SMESH::AxisStruct::x, SMESH::AxisStruct::y, and SMESH::AxisStruct::z.
Referenced by ClickOnOk(), and SMESHGUI_RotationDlg().
◆ ClickOnHelp
void SMESHGUI_RotationDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
◆ ClickOnOk
void SMESHGUI_RotationDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
◆ connectPreviewControl()
void SMESHGUI_MultiPreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
◆ DeactivateActiveDialog
void SMESHGUI_RotationDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
◆ enterEvent()
void SMESHGUI_RotationDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
◆ hidePreview()
void SMESHGUI_MultiPreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
References SMESHGUI_MultiPreviewDlg::mySimulationList.
Referenced by SMESHGUI_OffsetDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_ScaleDlg::onDisplaySimulation(), SMESHGUI_SymmetryDlg::onDisplaySimulation(), SMESHGUI_TranslationDlg::onDisplaySimulation(), SMESHGUI_OffsetDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), and SMESHGUI_MultiPreviewDlg::setSimulationPreview().
◆ Init()
void SMESHGUI_RotationDlg::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_Angle, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, and SpinBox_Z.
Referenced by ClickOnApply(), and SMESHGUI_RotationDlg().
◆ isApplyAndClose()
bool SMESHGUI_MultiPreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ IsAxisOk()
bool SMESHGUI_RotationDlg::IsAxisOk |
( |
| ) |
|
|
private |
◆ isValid()
bool SMESHGUI_RotationDlg::isValid |
( |
| ) |
|
|
private |
◆ keyPressEvent()
void SMESHGUI_RotationDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
◆ onActionClicked
void SMESHGUI_RotationDlg::onActionClicked |
( |
int |
button | ) |
|
|
privateslot |
◆ onCloseView
void SMESHGUI_RotationDlg::onCloseView |
( |
| ) |
|
|
privateslot |
◆ onDisplaySimulation
void SMESHGUI_RotationDlg::onDisplaySimulation |
( |
bool |
toDisplayPreview | ) |
|
|
protectedvirtualslot |
References ActionGroup, CheckBoxMesh, COPY_ELEMS_BUTTON, SMESHGUI_SpinBox::GetValue(), SMESHGUI_MultiPreviewDlg::hidePreview(), IsAxisOk(), isValid(), MAKE_MESH_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SpinBox_Angle, 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 Init(), and SelectionIntoArgument().
◆ onFilterAccepted
void SMESHGUI_RotationDlg::onFilterAccepted |
( |
| ) |
|
|
protectedslot |
◆ onOpenView
void SMESHGUI_RotationDlg::onOpenView |
( |
| ) |
|
|
privateslot |
◆ onSelectMesh
void SMESHGUI_RotationDlg::onSelectMesh |
( |
bool |
toSelectMesh | ) |
|
|
privateslot |
References SMESH::GetViewWindow(), SMESHGUI_MultiPreviewDlg::hidePreview(), LineEditElements, myEditCurrentArgument, myFilterBtn, myIdValidator, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SelectionIntoArgument(), SMESH::SetPointRepresentation(), and TextLabelElements.
Referenced by Init(), and SMESHGUI_RotationDlg().
◆ onTextChange
void SMESHGUI_RotationDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References buttonApply, buttonOk, SMDS_Mesh::FindElement(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), Handle(), IsAxisOk(), LineEditElements, myActor, myBusy, myElementsId, myNbOkElements, mySelector, and SMESHGUI_MultiPreviewDlg::mySMESHGUI.
Referenced by SMESHGUI_RotationDlg().
◆ onVectorChanged
void SMESHGUI_RotationDlg::onVectorChanged |
( |
| ) |
|
|
privateslot |
◆ reject
void SMESHGUI_RotationDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
◆ SelectionIntoArgument
void SMESHGUI_RotationDlg::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(), IsAxisOk(), 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(), onSelectMesh(), SetEditCurrentArgument(), and SMESHGUI_RotationDlg().
◆ SetEditCurrentArgument
void SMESHGUI_RotationDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
References CheckBoxMesh, SMESH::GetViewWindow(), LineEditElements, myConstructorId, myEditCurrentArgument, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SelectElementsButton, SelectionIntoArgument(), SelectPointButton, SelectVectorButton, SMESH::SetPointRepresentation(), SpinBox_DX, and SpinBox_X.
Referenced by SMESHGUI_RotationDlg().
◆ setFilters
void SMESHGUI_RotationDlg::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_RotationDlg().
◆ setIsApplyAndClose()
void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
◆ setNewMeshName()
void SMESHGUI_RotationDlg::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_RotationDlg::ActionGroup |
|
private |
◆ buttonApply
QPushButton* SMESHGUI_RotationDlg::buttonApply |
|
private |
◆ buttonCancel
QPushButton* SMESHGUI_RotationDlg::buttonCancel |
|
private |
◆ buttonHelp
QPushButton* SMESHGUI_RotationDlg::buttonHelp |
|
private |
◆ buttonOk
QPushButton* SMESHGUI_RotationDlg::buttonOk |
|
private |
◆ CheckBoxMesh
QCheckBox* SMESHGUI_RotationDlg::CheckBoxMesh |
|
private |
◆ GroupArguments
QGroupBox* SMESHGUI_RotationDlg::GroupArguments |
|
private |
◆ GroupAxis
◆ GroupButtons
QGroupBox* SMESHGUI_RotationDlg::GroupButtons |
|
private |
◆ GroupConstructors
QGroupBox* SMESHGUI_RotationDlg::GroupConstructors |
|
private |
◆ LineEditElements
QLineEdit* SMESHGUI_RotationDlg::LineEditElements |
|
private |
◆ LineEditNewMesh
QLineEdit* SMESHGUI_RotationDlg::LineEditNewMesh |
|
private |
◆ MakeGroupsCheck
QCheckBox* SMESHGUI_RotationDlg::MakeGroupsCheck |
|
private |
◆ myActor
◆ myBusy
bool SMESHGUI_RotationDlg::myBusy |
|
private |
◆ myConstructorId
int SMESHGUI_RotationDlg::myConstructorId |
|
private |
◆ myEditCurrentArgument
QWidget* SMESHGUI_RotationDlg::myEditCurrentArgument |
|
private |
◆ myElementsId
QString SMESHGUI_RotationDlg::myElementsId |
|
private |
◆ myFilterBtn
QPushButton* SMESHGUI_RotationDlg::myFilterBtn |
|
private |
◆ myFilterDlg
◆ myHelpFileName
QString SMESHGUI_RotationDlg::myHelpFileName |
|
private |
◆ myIdValidator
◆ myIsApplyAndClose
bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose |
|
protectedinherited |
◆ myMeshes
QList<SMESH::SMESH_Mesh_var> SMESHGUI_RotationDlg::myMeshes |
|
private |
◆ myMeshOrSubMeshOrGroupFilter
◆ myNbOkElements
int SMESHGUI_RotationDlg::myNbOkElements |
|
private |
◆ myObjects
QList<SMESH::SMESH_IDSource_var> SMESHGUI_RotationDlg::myObjects |
|
private |
◆ myObjectsNames
QList<QString> SMESHGUI_RotationDlg::myObjectsNames |
|
private |
◆ myPreviewCheckBox
QCheckBox* SMESHGUI_MultiPreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_MultiPreviewDlg::connectPreviewControl(), SMESHGUI_OffsetDlg::Init(), Init(), SMESHGUI_ScaleDlg::Init(), SMESHGUI_SymmetryDlg::Init(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_OffsetDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_ScaleDlg::onDisplaySimulation(), SMESHGUI_SymmetryDlg::onDisplaySimulation(), SMESHGUI_TranslationDlg::onDisplaySimulation(), SMESHGUI_OffsetDlg::SMESHGUI_OffsetDlg(), SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().
◆ mySelectionMgr
LightApp_SelectionMgr* SMESHGUI_RotationDlg::mySelectionMgr |
|
private |
◆ mySelector
SVTK_Selector* SMESHGUI_RotationDlg::mySelector |
|
private |
◆ mySimulationList
◆ mySMESHGUI
SMESHGUI* SMESHGUI_MultiPreviewDlg::mySMESHGUI |
|
protectedinherited |
Referenced by SMESHGUI_OffsetDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_ScaleDlg::ActivateThisDialog(), SMESHGUI_SymmetryDlg::ActivateThisDialog(), SMESHGUI_TranslationDlg::ActivateThisDialog(), SMESHGUI_OffsetDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_OffsetDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_ScaleDlg::ClickOnHelp(), SMESHGUI_SymmetryDlg::ClickOnHelp(), SMESHGUI_TranslationDlg::ClickOnHelp(), SMESHGUI_ScaleDlg::ConstructorsClicked(), SMESHGUI_SymmetryDlg::ConstructorsClicked(), SMESHGUI_TranslationDlg::ConstructorsClicked(), SMESHGUI_OffsetDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), SMESHGUI_SymmetryDlg::DeactivateActiveDialog(), SMESHGUI_TranslationDlg::DeactivateActiveDialog(), SMESHGUI_OffsetDlg::enterEvent(), enterEvent(), SMESHGUI_ScaleDlg::enterEvent(), SMESHGUI_SymmetryDlg::enterEvent(), SMESHGUI_TranslationDlg::enterEvent(), Init(), SMESHGUI_SymmetryDlg::Init(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_OffsetDlg::onOpenView(), onOpenView(), SMESHGUI_ScaleDlg::onOpenView(), SMESHGUI_SymmetryDlg::onOpenView(), SMESHGUI_TranslationDlg::onOpenView(), SMESHGUI_OffsetDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), SMESHGUI_TranslationDlg::onSelectMesh(), SMESHGUI_OffsetDlg::onTextChange(), onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_OffsetDlg::reject(), reject(), SMESHGUI_ScaleDlg::reject(), SMESHGUI_SymmetryDlg::reject(), SMESHGUI_TranslationDlg::reject(), SetEditCurrentArgument(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SMESHGUI_SymmetryDlg::SetEditCurrentArgument(), SMESHGUI_TranslationDlg::SetEditCurrentArgument(), SMESHGUI_OffsetDlg::setFilters(), setFilters(), SMESHGUI_ScaleDlg::setFilters(), SMESHGUI_SymmetryDlg::setFilters(), SMESHGUI_TranslationDlg::setFilters(), SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SMESHGUI_MultiPreviewDlg::SMESHGUI_MultiPreviewDlg(), SMESHGUI_OffsetDlg::SMESHGUI_OffsetDlg(), SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().
◆ RadioButton1
QRadioButton* SMESHGUI_RotationDlg::RadioButton1 |
|
private |
◆ SelectElementsButton
QPushButton* SMESHGUI_RotationDlg::SelectElementsButton |
|
private |
◆ SelectPointButton
QPushButton* SMESHGUI_RotationDlg::SelectPointButton |
|
private |
◆ SelectVectorButton
QPushButton* SMESHGUI_RotationDlg::SelectVectorButton |
|
private |
◆ SpinBox_Angle
◆ SpinBox_DX
◆ SpinBox_DY
◆ SpinBox_DZ
◆ SpinBox_X
◆ SpinBox_Y
◆ SpinBox_Z
◆ TextLabelAngle
QLabel* SMESHGUI_RotationDlg::TextLabelAngle |
|
private |
◆ TextLabelDX
QLabel* SMESHGUI_RotationDlg::TextLabelDX |
|
private |
◆ TextLabelDY
QLabel* SMESHGUI_RotationDlg::TextLabelDY |
|
private |
◆ TextLabelDZ
QLabel* SMESHGUI_RotationDlg::TextLabelDZ |
|
private |
◆ TextLabelElements
QLabel* SMESHGUI_RotationDlg::TextLabelElements |
|
private |
◆ TextLabelPoint
QLabel* SMESHGUI_RotationDlg::TextLabelPoint |
|
private |
◆ TextLabelVector
QLabel* SMESHGUI_RotationDlg::TextLabelVector |
|
private |
◆ TextLabelX
QLabel* SMESHGUI_RotationDlg::TextLabelX |
|
private |
◆ TextLabelY
QLabel* SMESHGUI_RotationDlg::TextLabelY |
|
private |
◆ TextLabelZ
QLabel* SMESHGUI_RotationDlg::TextLabelZ |
|
private |