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