#include <SMESHGUI_ExtrusionAlongPathDlg.h>
SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg |
( |
SMESHGUI * |
theModule | ) |
|
References AddAngleButton, 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::GetSelector(), SMESH::GetViewWindow(), GroupArguments, GroupButtons, HelpButton, Init(), LinearAnglesCheck, MakeGroupsCheck, MARGIN, SMESH::MESHorSUBMESH, myHelpFileName, myIdValidator, myPathMeshFilter, SMESHGUI_PreviewDlg::myPreviewCheckBox, mySelectionMgr, mySelector, SMESHGUI_PreviewDlg::mySMESHGUI, OkButton, OnAngleAdded(), OnAngleRemoved(), onCloseView(), onOpenView(), onTextChange(), PathGrp, PathMeshLineEdit, SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), RemoveAngleButton, SelectBasePointButton, SelectionIntoArgument(), SelectorWdg, SelectPathMeshButton, SelectStartPointButton, SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), SPACING, StartPointLineEdit, SMESHGUI_PreviewDlg::toDisplaySimulation(), XSpin, YSpin, and ZSpin.
SMESHGUI_ExtrusionAlongPathDlg::~SMESHGUI_ExtrusionAlongPathDlg |
( |
| ) |
|
void SMESHGUI_ExtrusionAlongPathDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_ExtrusionAlongPathDlg::CheckIsEnable |
( |
| ) |
|
|
privateslot |
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(), SMESHGUI_3TypesSelector::GetSelected(), SMESHGUI_SpinBox::GetValue(), Init(), SMESHGUI::isActiveStudyLocked(), SMESHGUI_3TypesSelector::IsAnythingSelected(), isValid(), LinearAnglesCheck, MakeGroupsCheck, SMESHGUI::Modified(), myAnglesList, myPath, mySelectionMgr, SMESHGUI_PreviewDlg::mySMESHGUI, SMESH::NODE, 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().
void SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_ExtrusionAlongPathDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_PreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
void SMESHGUI_ExtrusionAlongPathDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_ExtrusionAlongPathDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
bool SMESHGUI_ExtrusionAlongPathDlg::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
References AnglesList, SMESHGUI_SpinBox::editor(), myEditCurrentArgument, OnAngleRemoved(), SelectBasePointButton, SelectStartPointButton, SetEditCurrentArgument(), StartPointLineEdit, XSpin, YSpin, and ZSpin.
SMESH::double_array_var SMESHGUI_ExtrusionAlongPathDlg::getAngles |
( |
| ) |
|
|
private |
void SMESHGUI_PreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
void SMESHGUI_ExtrusionAlongPathDlg::Init |
( |
bool |
ResetControls = true | ) |
|
|
private |
References AngleSpin, SMESHGUI_3TypesSelector::Clear(), myBusy, myEditCurrentArgument, myPath, SMESHGUI_PreviewDlg::myPreviewCheckBox, onDisplaySimulation(), PathMeshLineEdit, SelectorWdg, SetEditCurrentArgument(), SMESHGUI_SpinBox::SetValue(), StartPointLineEdit, XSpin, YSpin, and ZSpin.
Referenced by ClickOnApply(), and SMESHGUI_ExtrusionAlongPathDlg().
bool SMESHGUI_PreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
bool SMESHGUI_ExtrusionAlongPathDlg::isValid |
( |
| ) |
|
|
private |
bool SMESHGUI_ExtrusionAlongPathDlg::isValuesValid |
( |
| ) |
|
|
private |
void SMESHGUI_ExtrusionAlongPathDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_ExtrusionAlongPathDlg::OnAngleAdded |
( |
| ) |
|
|
privateslot |
void SMESHGUI_ExtrusionAlongPathDlg::OnAngleRemoved |
( |
| ) |
|
|
privateslot |
void SMESHGUI_ExtrusionAlongPathDlg::onCloseView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation |
( |
bool |
toDisplayPreview | ) |
|
|
protectedvirtualslot |
References AnglesGrp, BasePointGrp, SMESH::SMESH_MeshEditor::EXTR_OK, getAngles(), SMESHGUI_3TypesSelector::GetMesh(), SMESHGUI_3TypesSelector::GetSelected(), SMESHGUI_SpinBox::GetValue(), SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_3TypesSelector::IsAnythingSelected(), isValid(), isValuesValid(), LinearAnglesCheck, 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().
void SMESHGUI_ExtrusionAlongPathDlg::onOpenView |
( |
| ) |
|
|
privateslot |
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().
void SMESHGUI_ExtrusionAlongPathDlg::reject |
( |
| ) |
|
|
protectedslot |
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().
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.
void SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
void SMESHGUI_PreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
void SMESHGUI_PreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
void SMESHGUI_PreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
void SMESHGUI_ExtrusionAlongPathDlg::updateLinearAngles |
( |
| ) |
|
|
private |
QToolButton* SMESHGUI_ExtrusionAlongPathDlg::AddAngleButton |
|
private |
QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::AnglesGrp |
|
private |
QListWidget* SMESHGUI_ExtrusionAlongPathDlg::AnglesList |
|
private |
QPushButton* SMESHGUI_ExtrusionAlongPathDlg::ApplyButton |
|
private |
QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::BasePointGrp |
|
private |
QPushButton* SMESHGUI_ExtrusionAlongPathDlg::CloseButton |
|
private |
QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::GroupArguments |
|
private |
QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::GroupButtons |
|
private |
QPushButton* SMESHGUI_ExtrusionAlongPathDlg::HelpButton |
|
private |
QCheckBox* SMESHGUI_ExtrusionAlongPathDlg::LinearAnglesCheck |
|
private |
QCheckBox* SMESHGUI_ExtrusionAlongPathDlg::MakeGroupsCheck |
|
private |
QList<double> SMESHGUI_ExtrusionAlongPathDlg::myAnglesList |
|
private |
bool SMESHGUI_ExtrusionAlongPathDlg::myBusy |
|
private |
QWidget* SMESHGUI_ExtrusionAlongPathDlg::myEditCurrentArgument |
|
private |
QString SMESHGUI_ExtrusionAlongPathDlg::myHelpFileName |
|
private |
bool SMESHGUI_PreviewDlg::myIsApplyAndClose |
|
protectedinherited |
SMESH::SMESH_IDSource_var SMESHGUI_ExtrusionAlongPathDlg::myPath |
|
private |
QCheckBox* SMESHGUI_PreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_PreviewDlg::connectPreviewControl(), Init(), SMESHGUI_RevolutionDlg::Init(), SMESHGUI_ExtrusionDlg::Init(), onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), and SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg().
LightApp_SelectionMgr* SMESHGUI_ExtrusionAlongPathDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_ExtrusionAlongPathDlg::mySelector |
|
private |
Referenced by SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_PreviewDlg::onCloseView(), onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_PreviewDlg::onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), SMESHGUI_PreviewDlg::showPreview(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), SMESHGUI_SplitVolumesDlg::updateNormalPreview(), and SMESHGUI_PreviewDlg::~SMESHGUI_PreviewDlg().
SMESHGUI* SMESHGUI_PreviewDlg::mySMESHGUI |
|
protectedinherited |
Referenced by ActivateThisDialog(), SMESHGUI_RevolutionDlg::ActivateThisDialog(), SMESHGUI_ExtrusionDlg::ActivateThisDialog(), ClickOnApply(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_ExtrusionDlg::ClickOnApply(), ClickOnHelp(), SMESHGUI_RevolutionDlg::ClickOnHelp(), SMESHGUI_ExtrusionDlg::ClickOnHelp(), DeactivateActiveDialog(), SMESHGUI_RevolutionDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionDlg::DeactivateActiveDialog(), enterEvent(), SMESHGUI_RevolutionDlg::enterEvent(), SMESHGUI_ExtrusionDlg::enterEvent(), SMESHGUI_PreviewDlg::onOpenView(), onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_ExtrusionDlg::onOpenView(), SMESHGUI_RevolutionDlg::onSelectVectorMenu(), onTextChange(), reject(), SMESHGUI_RevolutionDlg::reject(), SMESHGUI_ExtrusionDlg::reject(), SetEditCurrentArgument(), SMESHGUI_RevolutionDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), and SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg().
QPushButton* SMESHGUI_ExtrusionAlongPathDlg::OkButton |
|
private |
QGroupBox* SMESHGUI_ExtrusionAlongPathDlg::PathGrp |
|
private |
QLineEdit* SMESHGUI_ExtrusionAlongPathDlg::PathMeshLineEdit |
|
private |
QToolButton* SMESHGUI_ExtrusionAlongPathDlg::RemoveAngleButton |
|
private |
QPushButton* SMESHGUI_ExtrusionAlongPathDlg::SelectBasePointButton |
|
private |
QPushButton* SMESHGUI_ExtrusionAlongPathDlg::SelectPathMeshButton |
|
private |
QPushButton* SMESHGUI_ExtrusionAlongPathDlg::SelectStartPointButton |
|
private |
QLineEdit* SMESHGUI_ExtrusionAlongPathDlg::StartPointLineEdit |
|
private |