#include <SMESHGUI_ExtrusionAlongPathDlg.h>
◆ SMESHGUI_ExtrusionAlongPathDlg()
| SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg |
( |
SMESHGUI * |
theModule | ) |
|
References AddAngleButton, AddScaleButton, AnglesGrp, AnglesList, AngleSpin, ApplyButton, BasePointGrp, CheckIsEnable(), ClickOnApply(), ClickOnHelp(), ClickOnOk(), CloseButton, SMESHGUI_PreviewDlg::connectPreviewControl(), COORD_MAX, COORD_MIN, DeactivateActiveDialog(), SMESHGUI_SpinBox::editor(), SMESHGUI_3TypesSelector::GetButtonGroup(), SMESH::GetResourceMgr(), SMESH::GetViewWindow(), GroupArguments, GroupButtons, HelpButton, SMESH::IDSOURCE_EDGE, Init(), LinearAnglesCheck, LinearScalesCheck, MakeGroupsCheck, MARGIN, myHelpFileName, myIdValidator, myPathMeshFilter, SMESHGUI_PreviewDlg::myPreviewCheckBox, mySelectionMgr, mySelector, SMESHGUI_PreviewDlg::mySMESHGUI, OkButton, OnAngleAdded(), OnAngleRemoved(), onCloseView(), onOpenView(), onTextChange(), PathGrp, PathMeshLineEdit, SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), RemoveAngleButton, RemoveScaleButton, ScalesGrp, ScalesList, ScaleSpin, SelectBasePointButton, SelectionIntoArgument(), SelectorWdg, SelectPathMeshButton, SelectStartPointButton, SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), SPACING, StartPointLineEdit, SMESHGUI_PreviewDlg::toDisplaySimulation(), XSpin, YSpin, and ZSpin.
◆ ~SMESHGUI_ExtrusionAlongPathDlg()
| SMESHGUI_ExtrusionAlongPathDlg::~SMESHGUI_ExtrusionAlongPathDlg |
( |
| ) |
|
◆ ActivateThisDialog
| void SMESHGUI_ExtrusionAlongPathDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
◆ CheckIsEnable
| void SMESHGUI_ExtrusionAlongPathDlg::CheckIsEnable |
( |
| ) |
|
|
privateslot |
◆ ClickOnApply
| bool SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References AnglesGrp, AnglesList, BasePointGrp, SMESHGUI_3TypesSelector::Clear(), SMESH::EDGE, SMESH_Actor::eEdge, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eSurface, SMESH_Actor::eVolumes, SMESH::SMESH_MeshEditor::EXTR_BAD_ANGLES_NUMBER, SMESH::SMESH_MeshEditor::EXTR_BAD_PATH_SHAPE, SMESH::SMESH_MeshEditor::EXTR_BAD_STARTING_NODE, SMESH::SMESH_MeshEditor::EXTR_CANT_GET_TANGENT, SMESH::SMESH_MeshEditor::EXTR_NO_ELEMENTS, SMESH::SMESH_MeshEditor::EXTR_OK, SMESH::SMESH_MeshEditor::EXTR_PATH_NOT_EDGE, SMESH::FACE, SMESHGUI_3TypesSelector::GetActor(), getAngles(), SMESH_Actor::GetEntityMode(), SMESHGUI_3TypesSelector::GetMesh(), getScales(), SMESHGUI_3TypesSelector::GetSelected(), SMESHGUI_SpinBox::GetValue(), Init(), SMESHGUI_3TypesSelector::IsAnythingSelected(), SMESHGUI::isStudyLocked(), isValid(), LinearAnglesCheck, LinearScalesCheck, MakeGroupsCheck, SMESHGUI::Modified(), myAnglesList, myPath, myScalesList, mySelectionMgr, SMESHGUI_PreviewDlg::mySMESHGUI, SMESH::NODE, ScalesList, SelectorWdg, SMESH_Actor::SetEntityMode(), StartPointLineEdit, SMESH::Update(), SMESH::PointStruct::x, XSpin, SMESH::PointStruct::y, YSpin, SMESH::PointStruct::z, and ZSpin.
Referenced by ClickOnOk(), and SMESHGUI_ExtrusionAlongPathDlg().
◆ ClickOnHelp
| void SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
◆ ClickOnOk
| void SMESHGUI_ExtrusionAlongPathDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
◆ connectPreviewControl()
| void SMESHGUI_PreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
◆ DeactivateActiveDialog
| void SMESHGUI_ExtrusionAlongPathDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
◆ enterEvent()
| void SMESHGUI_ExtrusionAlongPathDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
◆ eventFilter()
| bool SMESHGUI_ExtrusionAlongPathDlg::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
References AnglesList, SMESHGUI_SpinBox::editor(), myEditCurrentArgument, RemoveAngleButton, RemoveScaleButton, ScalesList, SelectBasePointButton, SelectStartPointButton, SetEditCurrentArgument(), StartPointLineEdit, XSpin, YSpin, and ZSpin.
◆ getAngles()
| SMESH::double_array_var SMESHGUI_ExtrusionAlongPathDlg::getAngles |
( |
| ) |
|
|
private |
◆ getScales()
| SMESH::double_array_var SMESHGUI_ExtrusionAlongPathDlg::getScales |
( |
| ) |
|
|
private |
◆ hidePreview()
| void SMESHGUI_PreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
◆ Init()
| void SMESHGUI_ExtrusionAlongPathDlg::Init |
( |
bool |
ResetControls = true | ) |
|
|
private |
References AngleSpin, SMESHGUI_3TypesSelector::Clear(), myBusy, myEditCurrentArgument, myPath, SMESHGUI_PreviewDlg::myPreviewCheckBox, onDisplaySimulation(), PathMeshLineEdit, ScaleSpin, SelectorWdg, SetEditCurrentArgument(), SMESHGUI_SpinBox::SetValue(), StartPointLineEdit, XSpin, YSpin, and ZSpin.
Referenced by ClickOnApply(), and SMESHGUI_ExtrusionAlongPathDlg().
◆ isApplyAndClose()
| bool SMESHGUI_PreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ isValid()
| bool SMESHGUI_ExtrusionAlongPathDlg::isValid |
( |
| ) |
|
|
private |
◆ isValuesValid()
| bool SMESHGUI_ExtrusionAlongPathDlg::isValuesValid |
( |
| ) |
|
|
private |
◆ keyPressEvent()
| void SMESHGUI_ExtrusionAlongPathDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
◆ OnAngleAdded
| void SMESHGUI_ExtrusionAlongPathDlg::OnAngleAdded |
( |
| ) |
|
|
privateslot |
◆ OnAngleRemoved
| void SMESHGUI_ExtrusionAlongPathDlg::OnAngleRemoved |
( |
| ) |
|
|
privateslot |
◆ onCloseView
| void SMESHGUI_ExtrusionAlongPathDlg::onCloseView |
( |
| ) |
|
|
privateslot |
◆ onDisplaySimulation
| void SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation |
( |
bool |
toDisplayPreview | ) |
|
|
protectedvirtualslot |
References AnglesGrp, BasePointGrp, SMESH::SMESH_MeshEditor::EXTR_OK, getAngles(), SMESHGUI_3TypesSelector::GetMesh(), getScales(), SMESHGUI_3TypesSelector::GetSelected(), SMESHGUI_SpinBox::GetValue(), SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_3TypesSelector::IsAnythingSelected(), isValid(), isValuesValid(), LinearAnglesCheck, LinearScalesCheck, myPath, SMESHGUI_PreviewDlg::myPreviewCheckBox, SMESHGUI_PreviewDlg::mySimulation, SelectorWdg, SMESHGUI_MeshEditPreview::SetData(), StartPointLineEdit, SMESH::PointStruct::x, XSpin, SMESH::PointStruct::y, YSpin, SMESH::PointStruct::z, and ZSpin.
Referenced by Init(), onTextChange(), and SelectionIntoArgument().
◆ onOpenView
| void SMESHGUI_ExtrusionAlongPathDlg::onOpenView |
( |
| ) |
|
|
privateslot |
◆ onTextChange
| void SMESHGUI_ExtrusionAlongPathDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References CheckIsEnable(), SMESH::FindActorByObject(), SMDS_Mesh::FindNode(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), myBusy, myEditCurrentArgument, myPath, mySelectionMgr, mySelector, SMESHGUI_PreviewDlg::mySMESHGUI, onDisplaySimulation(), and StartPointLineEdit.
Referenced by SMESHGUI_ExtrusionAlongPathDlg().
◆ reject
| void SMESHGUI_ExtrusionAlongPathDlg::reject |
( |
| ) |
|
|
protectedslot |
◆ SelectionIntoArgument
| void SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References BasePointGrp, CheckIsEnable(), SMESH::FindActorByObject(), SMDS_Mesh::FindNode(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedElements(), SMESH::GetNameOfSelectedIObjects(), SMESH::GetNameOfSelectedNodes(), SMESH_Actor::GetObject(), GroupButtons, Handle(), myBusy, myEditCurrentArgument, myPath, mySelectionMgr, mySelector, onDisplaySimulation(), PathMeshLineEdit, SelectBasePointButton, SelectPathMeshButton, SelectStartPointButton, SMESHGUI_SpinBox::SetValue(), StartPointLineEdit, SMDS_MeshNode::X(), XSpin, SMDS_MeshNode::Y(), YSpin, SMDS_MeshNode::Z(), and ZSpin.
Referenced by ActivateThisDialog(), SetEditCurrentArgument(), and SMESHGUI_ExtrusionAlongPathDlg().
◆ SetEditCurrentArgument [1/2]
| void SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
◆ SetEditCurrentArgument() [2/2]
| void SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument |
( |
QPushButton * |
button | ) |
|
|
private |
References SMESH::FindActorByObject(), SMESH::GetViewWindow(), SMESH::IDSOURCE, SMESH_LogicalFilter::LO_OR, myEditCurrentArgument, myPath, myPathMeshFilter, mySelectionMgr, SMESHGUI_PreviewDlg::mySMESHGUI, PathMeshLineEdit, SelectBasePointButton, SelectionIntoArgument(), SelectPathMeshButton, SelectStartPointButton, SMESH::SetPickable(), SMESH_Actor::SetPointRepresentation(), SMESH::SetPointRepresentation(), StartPointLineEdit, and XSpin.
◆ setIsApplyAndClose()
| void SMESHGUI_PreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
◆ showPreview()
| void SMESHGUI_PreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
◆ toDisplaySimulation
| void SMESHGUI_PreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
◆ updateLinearAngles()
| void SMESHGUI_ExtrusionAlongPathDlg::updateLinearAngles |
( |
| ) |
|
|
private |
◆ SetBusy
◆ AddAngleButton
| QToolButton* SMESHGUI_ExtrusionAlongPathDlg::AddAngleButton |
|
private |
◆ AddScaleButton
| QToolButton* SMESHGUI_ExtrusionAlongPathDlg::AddScaleButton |
|
private |
◆ AnglesGrp
| QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::AnglesGrp |
|
private |
◆ AnglesList
| QListWidget* SMESHGUI_ExtrusionAlongPathDlg::AnglesList |
|
private |
◆ AngleSpin
◆ ApplyButton
| QPushButton* SMESHGUI_ExtrusionAlongPathDlg::ApplyButton |
|
private |
◆ BasePointGrp
| QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::BasePointGrp |
|
private |
◆ CloseButton
| QPushButton* SMESHGUI_ExtrusionAlongPathDlg::CloseButton |
|
private |
◆ GroupArguments
| QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::GroupArguments |
|
private |
◆ GroupButtons
| QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::GroupButtons |
|
private |
◆ HelpButton
| QPushButton* SMESHGUI_ExtrusionAlongPathDlg::HelpButton |
|
private |
◆ LinearAnglesCheck
| QCheckBox* SMESHGUI_ExtrusionAlongPathDlg::LinearAnglesCheck |
|
private |
◆ LinearScalesCheck
| QCheckBox* SMESHGUI_ExtrusionAlongPathDlg::LinearScalesCheck |
|
private |
◆ MakeGroupsCheck
| QCheckBox* SMESHGUI_ExtrusionAlongPathDlg::MakeGroupsCheck |
|
private |
◆ myAnglesList
| QList<double> SMESHGUI_ExtrusionAlongPathDlg::myAnglesList |
|
private |
◆ myBusy
| bool SMESHGUI_ExtrusionAlongPathDlg::myBusy |
|
private |
◆ myEditCurrentArgument
| QWidget* SMESHGUI_ExtrusionAlongPathDlg::myEditCurrentArgument |
|
private |
◆ myHelpFileName
| QString SMESHGUI_ExtrusionAlongPathDlg::myHelpFileName |
|
private |
◆ myIdValidator
◆ myIsApplyAndClose
| bool SMESHGUI_PreviewDlg::myIsApplyAndClose |
|
protectedinherited |
◆ myPath
| SMESH::SMESH_IDSource_var SMESHGUI_ExtrusionAlongPathDlg::myPath |
|
private |
◆ myPathMeshFilter
◆ myPreviewCheckBox
| QCheckBox* SMESHGUI_PreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_PreviewDlg::connectPreviewControl(), Init(), SMESHGUI_ExtrusionDlg::Init(), SMESHGUI_RevolutionDlg::Init(), onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::SMESHGUI_FaceGroupsSeparatedByEdgesDlg(), SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg(), and SMESHGUI_UnionOfTrianglesDlg::SMESHGUI_UnionOfTrianglesDlg().
◆ myScalesList
| QList<double> SMESHGUI_ExtrusionAlongPathDlg::myScalesList |
|
private |
◆ mySelectionMgr
| LightApp_SelectionMgr* SMESHGUI_ExtrusionAlongPathDlg::mySelectionMgr |
|
private |
◆ mySelector
| SVTK_Selector* SMESHGUI_ExtrusionAlongPathDlg::mySelector |
|
private |
◆ mySimulation
Referenced by SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_PreviewDlg::onCloseView(), onDisplaySimulation(), SMESHGUI_ExtrusionDlg::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 ActivateThisDialog(), SMESHGUI_ExtrusionDlg::ActivateThisDialog(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ActivateThisDialog(), SMESHGUI_RevolutionDlg::ActivateThisDialog(), ClickOnApply(), SMESHGUI_ExtrusionDlg::ClickOnApply(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ClickOnApply(), SMESHGUI_RevolutionDlg::ClickOnApply(), ClickOnHelp(), SMESHGUI_ExtrusionDlg::ClickOnHelp(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::ClickOnHelp(), SMESHGUI_RevolutionDlg::ClickOnHelp(), DeactivateActiveDialog(), SMESHGUI_ExtrusionDlg::DeactivateActiveDialog(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::DeactivateActiveDialog(), SMESHGUI_RevolutionDlg::DeactivateActiveDialog(), enterEvent(), SMESHGUI_ExtrusionDlg::enterEvent(), SMESHGUI_RevolutionDlg::enterEvent(), onOpenView(), SMESHGUI_ExtrusionDlg::onOpenView(), SMESHGUI_PreviewDlg::onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_RevolutionDlg::onSelectVectorMenu(), onTextChange(), reject(), SMESHGUI_ExtrusionDlg::reject(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::reject(), SMESHGUI_RevolutionDlg::reject(), SMESHGUI_ExtrusionDlg::SetEditCurrentArgument(), SMESHGUI_RevolutionDlg::SetEditCurrentArgument(), SetEditCurrentArgument(), SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::SMESHGUI_FaceGroupsSeparatedByEdgesDlg(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), and SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg().
◆ OkButton
| QPushButton* SMESHGUI_ExtrusionAlongPathDlg::OkButton |
|
private |
◆ PathGrp
| QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::PathGrp |
|
private |
◆ PathMeshLineEdit
| QLineEdit* SMESHGUI_ExtrusionAlongPathDlg::PathMeshLineEdit |
|
private |
◆ RemoveAngleButton
| QToolButton* SMESHGUI_ExtrusionAlongPathDlg::RemoveAngleButton |
|
private |
◆ RemoveScaleButton
| QToolButton* SMESHGUI_ExtrusionAlongPathDlg::RemoveScaleButton |
|
private |
◆ ScalesGrp
| QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::ScalesGrp |
|
private |
◆ ScalesList
| QListWidget* SMESHGUI_ExtrusionAlongPathDlg::ScalesList |
|
private |
◆ ScaleSpin
◆ SelectBasePointButton
| QPushButton* SMESHGUI_ExtrusionAlongPathDlg::SelectBasePointButton |
|
private |
◆ SelectorWdg
◆ SelectPathMeshButton
| QPushButton* SMESHGUI_ExtrusionAlongPathDlg::SelectPathMeshButton |
|
private |
◆ SelectStartPointButton
| QPushButton* SMESHGUI_ExtrusionAlongPathDlg::SelectStartPointButton |
|
private |
◆ StartPointLineEdit
| QLineEdit* SMESHGUI_ExtrusionAlongPathDlg::StartPointLineEdit |
|
private |
◆ XSpin
◆ YSpin
◆ ZSpin