#include <SMESHGUI_ExtrusionDlg.h>
◆ SMESHGUI_ExtrusionDlg()
SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg |
( |
SMESHGUI * |
theModule | ) |
|
References AddAngleButton, AddScaleButton, AnglesGrp, AnglesList, AngleSpin, BasePoint_XSpin, BasePoint_YSpin, BasePoint_ZSpin, BasePointGrp, buttonApply, buttonCancel, buttonHelp, buttonOk, ByAverageNormalCheck, CheckIsEnable(), ClickOnApply(), ClickOnHelp(), ClickOnOk(), ClickOnRadio(), SMESHGUI_PreviewDlg::connectPreviewControl(), COORD_MAX, COORD_MIN, DeactivateActiveDialog(), ExtrMethod_RBut0, ExtrMethod_RBut1, ExtrMethod_RBut2, SMESHGUI_3TypesSelector::GetButtonGroup(), SMESH::GetResourceMgr(), SMESH::GetViewWindow(), GroupArguments, GroupButtons, Init(), LinearAnglesCheck, LinearScalesCheck, MakeGroupsCheck, MARGIN, myHelpFileName, SMESHGUI_PreviewDlg::myPreviewCheckBox, mySelectionMgr, mySelector, SMESHGUI_PreviewDlg::mySMESHGUI, onCloseView(), onOpenView(), OnScaleAdded(), OnScaleRemoved(), SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), RemoveAngleButton, RemoveScaleButton, ScalesGrp, ScalesList, ScaleSpin, SelectBasePointButton, SelectorWdg, SelectVectorButton, SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), SMESHGUI_SpinBox::SetValue(), SPACING, SpinBox_Dx, SpinBox_Dy, SpinBox_Dz, SpinBox_NbSteps, SpinBox_VDist, SpinBox_Vx, SpinBox_Vy, SpinBox_Vz, TextLabelDist, TextLabelDistance, TextLabelDx, TextLabelDy, TextLabelDz, TextLabelNbSteps, TextLabelVector, TextLabelVx, TextLabelVy, TextLabelVz, SMESHGUI_PreviewDlg::toDisplaySimulation(), and UseInputElemsOnlyCheck.
◆ ~SMESHGUI_ExtrusionDlg()
SMESHGUI_ExtrusionDlg::~SMESHGUI_ExtrusionDlg |
( |
| ) |
|
◆ ActivateThisDialog
void SMESHGUI_ExtrusionDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
◆ CheckIsEnable
void SMESHGUI_ExtrusionDlg::CheckIsEnable |
( |
| ) |
|
|
privateslot |
◆ ClickOnApply
bool SMESHGUI_ExtrusionDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References AnglesList, ByAverageNormalCheck, SMESH::EDGE, SMESH_Actor::eEdge, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eSurface, SMESH_Actor::eVolumes, ExtrMethod_RBut0, ExtrMethod_RBut1, ExtrMethod_RBut2, SMESH::FACE, SMESHGUI_3TypesSelector::GetActor(), SMESH_Actor::GetEntityMode(), getExtrusionVector(), SMESHGUI_3TypesSelector::GetMesh(), getScaleParams(), SMESHGUI_3TypesSelector::GetSelected(), Init(), SMESHGUI_3TypesSelector::IsAnythingSelected(), SMESHGUI::isStudyLocked(), isValid(), MakeGroupsCheck, SMESHGUI::Modified(), myAnglesList, myScalesList, mySelectionMgr, SMESHGUI_PreviewDlg::mySMESHGUI, SMESH::NODE, ScalesList, SelectorWdg, SMESH_Actor::SetEntityMode(), SpinBox_Dx, SpinBox_Dy, SpinBox_Dz, SpinBox_NbSteps, SpinBox_VDist, SMESH::Update(), and UseInputElemsOnlyCheck.
Referenced by ClickOnOk(), and SMESHGUI_ExtrusionDlg().
◆ ClickOnHelp
void SMESHGUI_ExtrusionDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
◆ ClickOnOk
void SMESHGUI_ExtrusionDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
◆ ClickOnRadio
void SMESHGUI_ExtrusionDlg::ClickOnRadio |
( |
| ) |
|
|
privateslot |
References SMESH::ALL, AnglesGrp, BasePointGrp, ByAverageNormalCheck, CheckIsEnable(), SMESH::EDGE, ExtrMethod_RBut0, ExtrMethod_RBut1, ExtrMethod_RBut2, SMESH::NODE, onDisplaySimulation(), ScalesGrp, SelectorWdg, SelectVectorButton, SMESHGUI_3TypesSelector::SetEnabled(), SpinBox_Dx, SpinBox_Dy, SpinBox_Dz, SpinBox_VDist, SpinBox_Vx, SpinBox_Vy, SpinBox_Vz, TextLabelDist, TextLabelDistance, TextLabelDx, TextLabelDy, TextLabelDz, TextLabelVector, TextLabelVx, TextLabelVy, TextLabelVz, and UseInputElemsOnlyCheck.
Referenced by SMESHGUI_ExtrusionDlg().
◆ connectPreviewControl()
void SMESHGUI_PreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
◆ DeactivateActiveDialog
void SMESHGUI_ExtrusionDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
◆ enterEvent()
void SMESHGUI_ExtrusionDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
◆ extrusionByNormal()
void SMESHGUI_ExtrusionDlg::extrusionByNormal |
( |
SMESH::SMESH_MeshEditor_ptr |
meshEditor, |
|
|
const bool |
makeGroups = false |
|
) |
| |
|
private |
◆ GetConstructorId()
int SMESHGUI_ExtrusionDlg::GetConstructorId |
( |
| ) |
|
|
private |
◆ getExtrusionVector()
References ExtrMethod_RBut0, ExtrMethod_RBut1, SMESHGUI_SpinBox::GetValue(), SMESH::DirStruct::PS, SpinBox_Dx, SpinBox_Dy, SpinBox_Dz, SpinBox_VDist, SpinBox_Vx, SpinBox_Vy, SpinBox_Vz, SMESH::PointStruct::x, SMESH::PointStruct::y, and SMESH::PointStruct::z.
Referenced by ClickOnApply(), and onDisplaySimulation().
◆ getScaleParams()
References AnglesGrp, BasePoint_XSpin, BasePoint_YSpin, BasePoint_ZSpin, BasePointGrp, SMESHGUI_SpinBox::GetValue(), LinearAnglesCheck, LinearScalesCheck, myAnglesList, myScalesList, and ScalesGrp.
Referenced by ClickOnApply(), and onDisplaySimulation().
◆ hidePreview()
void SMESHGUI_PreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
◆ Init()
void SMESHGUI_ExtrusionDlg::Init |
( |
bool |
ResetControls = true | ) |
|
|
private |
References CheckIsEnable(), SMESHGUI_3TypesSelector::Clear(), SMESHGUI_PreviewDlg::myPreviewCheckBox, onDisplaySimulation(), SelectorWdg, SMESHGUI_SpinBox::SetValue(), SpinBox_Dx, SpinBox_Dy, SpinBox_Dz, SpinBox_NbSteps, SpinBox_VDist, SpinBox_Vx, SpinBox_Vy, and SpinBox_Vz.
Referenced by ClickOnApply(), and SMESHGUI_ExtrusionDlg().
◆ isApplyAndClose()
bool SMESHGUI_PreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ isValid()
bool SMESHGUI_ExtrusionDlg::isValid |
( |
| ) |
|
|
private |
References BasePoint_XSpin, BasePoint_YSpin, BasePoint_ZSpin, BasePointGrp, ExtrMethod_RBut0, ExtrMethod_RBut1, SpinBox_Dx, SpinBox_Dy, SpinBox_Dz, SpinBox_NbSteps, SpinBox_VDist, SpinBox_Vx, SpinBox_Vy, and SpinBox_Vz.
Referenced by ClickOnApply(), and onDisplaySimulation().
◆ isValuesValid()
bool SMESHGUI_ExtrusionDlg::isValuesValid |
( |
| ) |
|
|
private |
References ExtrMethod_RBut0, ExtrMethod_RBut1, ExtrMethod_RBut2, SMESHGUI_SpinBox::GetValue(), SpinBox_Dx, SpinBox_Dy, SpinBox_Dz, SpinBox_VDist, SpinBox_Vx, SpinBox_Vy, and SpinBox_Vz.
Referenced by CheckIsEnable(), and onDisplaySimulation().
◆ keyPressEvent()
void SMESHGUI_ExtrusionDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
◆ onCloseView
void SMESHGUI_ExtrusionDlg::onCloseView |
( |
| ) |
|
|
privateslot |
◆ onDisplaySimulation
void SMESHGUI_ExtrusionDlg::onDisplaySimulation |
( |
bool |
toDisplayPreview | ) |
|
|
protectedvirtualslot |
References ByAverageNormalCheck, ExtrMethod_RBut2, SMESH::FACE, getExtrusionVector(), SMESHGUI_3TypesSelector::GetMesh(), getScaleParams(), SMESHGUI_3TypesSelector::GetSelected(), SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_3TypesSelector::IsAnythingSelected(), isValid(), isValuesValid(), SMESHGUI_PreviewDlg::myPreviewCheckBox, SMESHGUI_PreviewDlg::mySimulation, SelectorWdg, SMESHGUI_MeshEditPreview::SetData(), SpinBox_NbSteps, SpinBox_VDist, and UseInputElemsOnlyCheck.
Referenced by ClickOnRadio(), Init(), and SelectionIntoArgument().
◆ onOpenView
void SMESHGUI_ExtrusionDlg::onOpenView |
( |
| ) |
|
|
privateslot |
◆ OnScaleAdded
void SMESHGUI_ExtrusionDlg::OnScaleAdded |
( |
| ) |
|
|
privateslot |
◆ OnScaleRemoved
void SMESHGUI_ExtrusionDlg::OnScaleRemoved |
( |
| ) |
|
|
privateslot |
◆ reject
void SMESHGUI_ExtrusionDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
◆ SelectionIntoArgument
void SMESHGUI_ExtrusionDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References BasePoint_XSpin, BasePoint_YSpin, BasePoint_ZSpin, BasePointGrp, CheckIsEnable(), SMDS_Mesh::DownCast(), SMESH::FindActorByEntry(), SMESH::FindActorByObject(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedNodes(), SMESH::getNormale(), SMESH_Actor::GetObject(), GroupButtons, Handle(), mySelectionMgr, mySelector, onDisplaySimulation(), SelectBasePointButton, SelectVectorButton, SMESHGUI_SpinBox::SetValue(), SpinBox_Vx, SpinBox_Vy, SpinBox_Vz, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by SetEditCurrentArgument().
◆ SetEditCurrentArgument
void SMESHGUI_ExtrusionDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
◆ setIsApplyAndClose()
void SMESHGUI_PreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
◆ showPreview()
void SMESHGUI_PreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
◆ toDisplaySimulation
void SMESHGUI_PreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
◆ AddAngleButton
QToolButton* SMESHGUI_ExtrusionDlg::AddAngleButton |
|
private |
◆ AddScaleButton
QToolButton* SMESHGUI_ExtrusionDlg::AddScaleButton |
|
private |
◆ AnglesGrp
◆ AnglesList
QListWidget* SMESHGUI_ExtrusionDlg::AnglesList |
|
private |
◆ AngleSpin
◆ BasePoint_XSpin
◆ BasePoint_YSpin
◆ BasePoint_ZSpin
◆ BasePointGrp
QGroupBox* SMESHGUI_ExtrusionDlg::BasePointGrp |
|
private |
◆ buttonApply
QPushButton* SMESHGUI_ExtrusionDlg::buttonApply |
|
private |
◆ buttonCancel
QPushButton* SMESHGUI_ExtrusionDlg::buttonCancel |
|
private |
◆ buttonHelp
QPushButton* SMESHGUI_ExtrusionDlg::buttonHelp |
|
private |
◆ buttonOk
QPushButton* SMESHGUI_ExtrusionDlg::buttonOk |
|
private |
◆ ByAverageNormalCheck
QCheckBox* SMESHGUI_ExtrusionDlg::ByAverageNormalCheck |
|
private |
◆ ExtrMethod_RBut0
QRadioButton* SMESHGUI_ExtrusionDlg::ExtrMethod_RBut0 |
|
private |
◆ ExtrMethod_RBut1
QRadioButton* SMESHGUI_ExtrusionDlg::ExtrMethod_RBut1 |
|
private |
◆ ExtrMethod_RBut2
QRadioButton* SMESHGUI_ExtrusionDlg::ExtrMethod_RBut2 |
|
private |
◆ GroupArguments
QGroupBox* SMESHGUI_ExtrusionDlg::GroupArguments |
|
private |
◆ GroupButtons
QGroupBox* SMESHGUI_ExtrusionDlg::GroupButtons |
|
private |
◆ LinearAnglesCheck
QCheckBox* SMESHGUI_ExtrusionDlg::LinearAnglesCheck |
|
private |
◆ LinearScalesCheck
QCheckBox* SMESHGUI_ExtrusionDlg::LinearScalesCheck |
|
private |
◆ MakeGroupsCheck
QCheckBox* SMESHGUI_ExtrusionDlg::MakeGroupsCheck |
|
private |
◆ myAnglesList
QList<double> SMESHGUI_ExtrusionDlg::myAnglesList |
|
private |
◆ myHelpFileName
QString SMESHGUI_ExtrusionDlg::myHelpFileName |
|
private |
◆ myIDs
QString SMESHGUI_ExtrusionDlg::myIDs |
|
private |
◆ myIsApplyAndClose
bool SMESHGUI_PreviewDlg::myIsApplyAndClose |
|
protectedinherited |
◆ myPreviewCheckBox
QCheckBox* SMESHGUI_PreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_PreviewDlg::connectPreviewControl(), SMESHGUI_ExtrusionAlongPathDlg::Init(), Init(), SMESHGUI_RevolutionDlg::Init(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::SMESHGUI_FaceGroupsSeparatedByEdgesDlg(), and SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg().
◆ myScalesList
QList<double> SMESHGUI_ExtrusionDlg::myScalesList |
|
private |
◆ mySelectionMgr
LightApp_SelectionMgr* SMESHGUI_ExtrusionDlg::mySelectionMgr |
|
private |
◆ mySelector
SVTK_Selector* SMESHGUI_ExtrusionDlg::mySelector |
|
private |
◆ mySimulation
Referenced by SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_PreviewDlg::onCloseView(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::onDisplaySimulation(), SMESHGUI_PreviewDlg::onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), SMESHGUI_PreviewDlg::showPreview(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::SMESHGUI_FaceGroupsSeparatedByEdgesDlg(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), SMESHGUI_SplitVolumesDlg::updateNormalPreview(), and SMESHGUI_PreviewDlg::~SMESHGUI_PreviewDlg().
◆ mySMESHGUI
SMESHGUI* SMESHGUI_PreviewDlg::mySMESHGUI |
|
protectedinherited |
Referenced by SMESHGUI_ExtrusionAlongPathDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ActivateThisDialog(), SMESHGUI_RevolutionDlg::ActivateThisDialog(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ClickOnApply(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ClickOnHelp(), SMESHGUI_RevolutionDlg::ClickOnHelp(), SMESHGUI_ExtrusionAlongPathDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::DeactivateActiveDialog(), SMESHGUI_RevolutionDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionAlongPathDlg::enterEvent(), enterEvent(), SMESHGUI_RevolutionDlg::enterEvent(), SMESHGUI_ExtrusionAlongPathDlg::onOpenView(), onOpenView(), SMESHGUI_PreviewDlg::onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_RevolutionDlg::onSelectVectorMenu(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::reject(), reject(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::reject(), SMESHGUI_RevolutionDlg::reject(), SetEditCurrentArgument(), SMESHGUI_RevolutionDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::SMESHGUI_FaceGroupsSeparatedByEdgesDlg(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), and SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg().
◆ RemoveAngleButton
QToolButton* SMESHGUI_ExtrusionDlg::RemoveAngleButton |
|
private |
◆ RemoveScaleButton
QToolButton* SMESHGUI_ExtrusionDlg::RemoveScaleButton |
|
private |
◆ ScalesGrp
◆ ScalesList
QListWidget* SMESHGUI_ExtrusionDlg::ScalesList |
|
private |
◆ ScaleSpin
◆ SelectBasePointButton
QPushButton* SMESHGUI_ExtrusionDlg::SelectBasePointButton |
|
private |
◆ SelectorWdg
◆ SelectVectorButton
QPushButton* SMESHGUI_ExtrusionDlg::SelectVectorButton |
|
private |
◆ SpinBox_Dx
◆ SpinBox_Dy
◆ SpinBox_Dz
◆ SpinBox_NbSteps
SalomeApp_IntSpinBox* SMESHGUI_ExtrusionDlg::SpinBox_NbSteps |
|
private |
◆ SpinBox_VDist
◆ SpinBox_Vx
◆ SpinBox_Vy
◆ SpinBox_Vz
◆ TextLabelDist
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDist |
|
private |
◆ TextLabelDistance
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDistance |
|
private |
◆ TextLabelDx
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDx |
|
private |
◆ TextLabelDy
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDy |
|
private |
◆ TextLabelDz
QLabel* SMESHGUI_ExtrusionDlg::TextLabelDz |
|
private |
◆ TextLabelNbSteps
QLabel* SMESHGUI_ExtrusionDlg::TextLabelNbSteps |
|
private |
◆ TextLabelVector
QLabel* SMESHGUI_ExtrusionDlg::TextLabelVector |
|
private |
◆ TextLabelVx
QLabel* SMESHGUI_ExtrusionDlg::TextLabelVx |
|
private |
◆ TextLabelVy
QLabel* SMESHGUI_ExtrusionDlg::TextLabelVy |
|
private |
◆ TextLabelVz
QLabel* SMESHGUI_ExtrusionDlg::TextLabelVz |
|
private |
◆ UseInputElemsOnlyCheck
QCheckBox* SMESHGUI_ExtrusionDlg::UseInputElemsOnlyCheck |
|
private |