#include <SMESHGUI_ExtrusionDlg.h>
|
void | addTmpIdSource (SMESH::smIdType_array_var &ids, int iType, int index) |
| Creates from ids and stores a temporary IDSource. More...
|
|
| Handle (SALOME_InteractiveObject) myIO |
|
◆ SMESHGUI_3TypesSelector()
SMESHGUI_3TypesSelector::SMESHGUI_3TypesSelector |
( |
QWidget * |
parent = 0 | ) |
|
Constructor.
References SMESH::GetResourceMgr(), SMESH::GetSelectionMgr(), SMESHGUI::GetSMESHGUI(), SMESH::GetViewWindow(), SMESH::GROUP_EDGE, SMESH::GROUP_FACE, SMESH::GROUP_NODE, SMESH::IDSOURCE_EDGE, SMESH::IDSOURCE_FACE, SMESH_LogicalFilter::LO_OR, MARGIN, SMESH::MESH, myBusy, myFilter, myFilterBtn, myFilterDlg, myGroups, myIDSource, myIdValidator, myLabel, myLineEdit, myMeshChk, mySelectBtnGrp, mySelectionMgr, mySelector, onSelectMesh(), onSelectType(), onTextChange(), selectionIntoArgument(), setFilters(), SPACING, SMESH::SUBMESH_EDGE, SMESH::SUBMESH_FACE, and SMESH::SUBMESH_VERTEX.
◆ ~SMESHGUI_3TypesSelector()
SMESHGUI_3TypesSelector::~SMESHGUI_3TypesSelector |
( |
| ) |
|
◆ addTmpIdSource()
void SMESHGUI_3TypesSelector::addTmpIdSource |
( |
SMESH::smIdType_array_var & |
ids, |
|
|
int |
iType, |
|
|
int |
index |
|
) |
| |
|
private |
◆ Clear()
void SMESHGUI_3TypesSelector::Clear |
( |
| ) |
|
◆ GetActor()
◆ GetButtonGroup()
QButtonGroup* SMESHGUI_3TypesSelector::GetButtonGroup |
( |
| ) |
|
◆ GetMesh()
SMESH::SMESH_Mesh_var SMESHGUI_3TypesSelector::GetMesh |
( |
| ) |
|
◆ GetSelected()
◆ Handle() [1/2]
SMESHGUI_3TypesSelector::Handle |
( |
SALOME_InteractiveObject |
| ) |
|
◆ Handle() [2/2]
SMESHGUI_3TypesSelector::Handle |
( |
SALOME_InteractiveObject |
| ) |
|
|
private |
◆ IsAnythingSelected()
Checks if anything is selected.
References SMESH::ALL, and myIDSource.
Referenced by SMESHGUI_ExtrusionAlongPathDlg::CheckIsEnable(), SMESHGUI_ExtrusionDlg::CheckIsEnable(), SMESHGUI_RevolutionDlg::CheckIsEnable(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply(), SMESHGUI_ExtrusionDlg::ClickOnApply(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), and selectionIntoArgument().
◆ onSelectMesh
void SMESHGUI_3TypesSelector::onSelectMesh |
( |
bool |
on | ) |
|
|
privateslot |
◆ onSelectType
void SMESHGUI_3TypesSelector::onSelectType |
( |
int |
iType | ) |
|
|
privateslot |
◆ onTextChange
void SMESHGUI_3TypesSelector::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
Slot called when text changes in myLineEdit.
References addTmpIdSource(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH::GetCurrentVtkView(), SMESH_Actor::GetObject(), SMDS_MeshElement::GetType(), myActor, myBusy, myGroups, myIDSource, myLineEdit, myMesh, mySelector, selectionChanged(), and SMDSAbs_Node.
Referenced by SMESHGUI_3TypesSelector().
◆ selectionChanged
void SMESHGUI_3TypesSelector::selectionChanged |
( |
| ) |
|
|
signal |
◆ selectionIntoArgument
void SMESHGUI_3TypesSelector::selectionIntoArgument |
( |
| ) |
|
|
privateslot |
Slot called when selection changes.
References addTmpIdSource(), SMESH::FindActorByEntry(), SMESH::GetMeshByIO(), Handle(), IsAnythingSelected(), myActor, myBusy, myGroups, myIDSource, myLineEdit, myMesh, myMeshChk, mySelectBtnGrp, mySelectionMgr, mySelector, selectionChanged(), and SMESH::SetPointRepresentation().
Referenced by Clear(), onSelectType(), SetEnabled(), and SMESHGUI_3TypesSelector().
◆ SetEnabled()
◆ setFilters
void SMESHGUI_3TypesSelector::setFilters |
( |
| ) |
|
|
privateslot |
Slot called when "Set filter" is clicked.
References SMESH::EDGE, SMESH::FACE, SMESHGUI::GetSMESHGUI(), SMESHGUI_FilterDlg::Init(), myFilterBtn, myFilterDlg, myLineEdit, myMesh, mySelectBtnGrp, SMESH::NODE, SMESHGUI_FilterDlg::SetMesh(), SMESHGUI_FilterDlg::SetSelection(), and SMESHGUI_FilterDlg::SetSourceWg().
Referenced by SMESHGUI_3TypesSelector().
◆ myActor
◆ myBusy
bool SMESHGUI_3TypesSelector::myBusy |
|
private |
◆ myFilter
◆ myFilterBtn
QPushButton* SMESHGUI_3TypesSelector::myFilterBtn[3] |
|
private |
◆ myFilterDlg
◆ myGroups
QGroupBox* SMESHGUI_3TypesSelector::myGroups[3] |
|
private |
◆ myIDSource
SMESH::ListOfIDSources_var SMESHGUI_3TypesSelector::myIDSource[3] |
|
private |
Referenced by addTmpIdSource(), Clear(), GetSelected(), IsAnythingSelected(), onSelectMesh(), onSelectType(), onTextChange(), selectionIntoArgument(), SetEnabled(), SMESHGUI_3TypesSelector(), and ~SMESHGUI_3TypesSelector().
◆ myIdValidator
◆ myLabel
QLabel* SMESHGUI_3TypesSelector::myLabel[3] |
|
private |
◆ myLineEdit
QLineEdit* SMESHGUI_3TypesSelector::myLineEdit[3] |
|
private |
◆ myMesh
SMESH::SMESH_Mesh_var SMESHGUI_3TypesSelector::myMesh |
|
private |
◆ myMeshChk
QCheckBox* SMESHGUI_3TypesSelector::myMeshChk[3] |
|
private |
◆ mySelectBtnGrp
QButtonGroup* SMESHGUI_3TypesSelector::mySelectBtnGrp |
|
private |
◆ mySelectionMgr
LightApp_SelectionMgr* SMESHGUI_3TypesSelector::mySelectionMgr |
|
private |
◆ mySelector
SVTK_Selector* SMESHGUI_3TypesSelector::mySelector |
|
private |
◆ myTmpIDSourceList