#include <SMESHGUI_AddQuadraticElementDlg.h>
|
typedef QList
< SMESH::SMESH_GroupBase_var > | GrpList |
|
References buttonApply, buttonCancel, buttonHelp, buttonOk, ComboBox_GroupName, SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), GroupArguments, GroupButtons, GroupConstructors, GroupGroups, Init(), MARGIN, myCenterLabel, myCenterNode, myCenterSelectButton, myCornerNodes, myCornerSelectButton, myGeomType, myMidFaceLabel, myMidFaceNodes, myMidFaceSelectButton, myRadioButton1, myReverseCB, mySelector, mySimulation, mySMESHGUI, myTable, SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, SMDSEntity_TriQuad_Hexa, SPACING, and TextLabel_GroupName.
SMESHGUI_AddQuadraticElementDlg::~SMESHGUI_AddQuadraticElementDlg |
( |
| ) |
|
void SMESHGUI_AddQuadraticElementDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
bool SMESHGUI_AddQuadraticElementDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::AddGroup(), SMESH::ALL, ComboBox_GroupName, SMESH::EDGE, SMESH_Actor::eEdge, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eSurface, SMESH_Actor::eVolumes, SMESH::FACE, SMESH_Actor::GetEntityMode(), SMESHGUI::GetSMESHGUI(), GroupGroups, SMESHGUI::isActiveStudyLocked(), IsValid(), isValid(), SMESHGUI::Modified(), myActor, myBusy, myCenterNode, myGeomType, myGroups, myMesh, myMidFaceNodes, myNbCenterNodes, myNbCorners, myNbMidFaceNodes, myReverseCB, mySelectionMgr, mySelector, mySimulation, mySMESHGUI, myTable, SetCurrentSelection(), SMESH_Actor::SetEntityMode(), SMESH::TElementSimulationQuad::SetVisibility(), SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, SMDSEntity_TriQuad_Hexa, updateButtons(), UpdateTable(), SMESH::UpdateView(), and SMESH::VOLUME.
Referenced by ClickOnOk(), and Init().
void SMESHGUI_AddQuadraticElementDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::displaySimulation |
( |
| ) |
|
|
private |
References SMESH_Actor::GetObject(), IsValid(), myActor, myCenterNode, myGeomType, myMidFaceNodes, myNbCenterNodes, myNbCorners, myNbMidFaceNodes, myReverseCB, mySimulation, myTable, SMESH::TElementSimulationQuad::SetPosition(), SMESH::TElementSimulationQuad::SetVisibility(), SMDSEntity_Quad_Edge, and SMESH::UpdateView().
Referenced by onCellDoubleClicked(), onCellTextChange(), onReverse(), onTextChange(), and SelectionIntoArgument().
void SMESHGUI_AddQuadraticElementDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
void SMESHGUI_AddQuadraticElementDlg::Init |
( |
| ) |
|
|
private |
References buttonApply, buttonCancel, buttonHelp, buttonOk, ClickOnApply(), ClickOnHelp(), ClickOnOk(), DeactivateActiveDialog(), SMESH::GetViewWindow(), GroupGroups, myActor, myCenterLabel, myCenterNode, myCenterSelectButton, myCornerNodes, myCornerSelectButton, myCurrentLineEdit, myGeomType, myHelpFileName, myMidFaceLabel, myMidFaceNodes, myMidFaceSelectButton, myNbCenterNodes, myNbCorners, myNbMidFaceNodes, myRadioButton1, myReverseCB, mySelectionMgr, mySMESHGUI, myTable, onCellDoubleClicked(), onCellTextChange(), onCloseView(), onOpenView(), onReverse(), onTextChange(), reject(), SelectionIntoArgument(), SMESHGUI::SetActiveDialogBox(), SetCurrentSelection(), SMESH::SetPointRepresentation(), SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, and SMDSEntity_TriQuad_Hexa.
Referenced by SMESHGUI_AddQuadraticElementDlg().
bool SMESHGUI_AddQuadraticElementDlg::IsValid |
( |
| ) |
|
|
private |
bool SMESHGUI_AddQuadraticElementDlg::isValid |
( |
| ) |
|
|
private |
void SMESHGUI_AddQuadraticElementDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_AddQuadraticElementDlg::onCellDoubleClicked |
( |
int |
theRow, |
|
|
int |
theCol |
|
) |
| |
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::onCellTextChange |
( |
int |
theRow, |
|
|
int |
theCol |
|
) |
| |
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::onCloseView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::onOpenView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::onReverse |
( |
int |
state | ) |
|
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References displaySimulation(), SMDS_Mesh::FindNode(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), myActor, myBusy, myCenterNode, myCornerNodes, myCurrentLineEdit, myMidFaceNodes, mySelector, mySimulation, mySMESHGUI, SMESH::TElementSimulationQuad::SetVisibility(), updateButtons(), and UpdateTable().
Referenced by Init().
void SMESHGUI_AddQuadraticElementDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
void SMESHGUI_AddQuadraticElementDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References SMESH::ALL, ComboBox_GroupName, displaySimulation(), SMESH::EDGE, SMESH::FACE, SMESH::FindActorByEntry(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedNodes(), GroupButtons, Handle(), myActor, myBusy, myCenterNode, myCornerNodes, myCurrentLineEdit, myEntry, myGeomType, myGroups, myMesh, mySelectionMgr, mySelector, mySimulation, myTable, SMESH::TElementSimulationQuad::SetVisibility(), SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, SMDSEntity_TriQuad_Hexa, updateButtons(), UpdateTable(), and SMESH::VOLUME.
Referenced by ActivateThisDialog(), Init(), and SetCurrentSelection().
void SMESHGUI_AddQuadraticElementDlg::SetCurrentSelection |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddQuadraticElementDlg::updateButtons |
( |
| ) |
|
|
private |
void SMESHGUI_AddQuadraticElementDlg::UpdateTable |
( |
bool |
theConersValidity = true | ) |
|
|
private |
References myCornerNodes, myGeomType, myNbCorners, myTable, SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, and SMDSEntity_TriQuad_Hexa.
Referenced by ClickOnApply(), onTextChange(), and SelectionIntoArgument().
QPushButton* SMESHGUI_AddQuadraticElementDlg::buttonApply |
|
private |
QPushButton* SMESHGUI_AddQuadraticElementDlg::buttonCancel |
|
private |
QPushButton* SMESHGUI_AddQuadraticElementDlg::buttonHelp |
|
private |
QPushButton* SMESHGUI_AddQuadraticElementDlg::buttonOk |
|
private |
QComboBox* SMESHGUI_AddQuadraticElementDlg::ComboBox_GroupName |
|
private |
QGroupBox* SMESHGUI_AddQuadraticElementDlg::GroupArguments |
|
private |
QGroupBox* SMESHGUI_AddQuadraticElementDlg::GroupButtons |
|
private |
QGroupBox* SMESHGUI_AddQuadraticElementDlg::GroupConstructors |
|
private |
QGroupBox* SMESHGUI_AddQuadraticElementDlg::GroupGroups |
|
private |
bool SMESHGUI_AddQuadraticElementDlg::myBusy |
|
private |
QLabel* SMESHGUI_AddQuadraticElementDlg::myCenterLabel |
|
private |
QLineEdit* SMESHGUI_AddQuadraticElementDlg::myCenterNode |
|
private |
QPushButton* SMESHGUI_AddQuadraticElementDlg::myCenterSelectButton |
|
private |
QLineEdit* SMESHGUI_AddQuadraticElementDlg::myCornerNodes |
|
private |
QPushButton* SMESHGUI_AddQuadraticElementDlg::myCornerSelectButton |
|
private |
QLineEdit* SMESHGUI_AddQuadraticElementDlg::myCurrentLineEdit |
|
private |
QString SMESHGUI_AddQuadraticElementDlg::myEntry |
|
private |
GrpList SMESHGUI_AddQuadraticElementDlg::myGroups |
|
private |
QString SMESHGUI_AddQuadraticElementDlg::myHelpFileName |
|
private |
SMESH::SMESH_Mesh_var SMESHGUI_AddQuadraticElementDlg::myMesh |
|
private |
QLabel* SMESHGUI_AddQuadraticElementDlg::myMidFaceLabel |
|
private |
QLineEdit* SMESHGUI_AddQuadraticElementDlg::myMidFaceNodes |
|
private |
QPushButton* SMESHGUI_AddQuadraticElementDlg::myMidFaceSelectButton |
|
private |
int SMESHGUI_AddQuadraticElementDlg::myNbCenterNodes |
|
private |
int SMESHGUI_AddQuadraticElementDlg::myNbCorners |
|
private |
int SMESHGUI_AddQuadraticElementDlg::myNbMidFaceNodes |
|
private |
QRadioButton* SMESHGUI_AddQuadraticElementDlg::myRadioButton1 |
|
private |
QCheckBox* SMESHGUI_AddQuadraticElementDlg::myReverseCB |
|
private |
LightApp_SelectionMgr* SMESHGUI_AddQuadraticElementDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_AddQuadraticElementDlg::mySelector |
|
private |
Referenced by ClickOnApply(), DeactivateActiveDialog(), displaySimulation(), enterEvent(), onCloseView(), onOpenView(), onReverse(), onTextChange(), reject(), SelectionIntoArgument(), SMESHGUI_AddQuadraticElementDlg(), and ~SMESHGUI_AddQuadraticElementDlg().
SMESHGUI* SMESHGUI_AddQuadraticElementDlg::mySMESHGUI |
|
private |
QLabel* SMESHGUI_AddQuadraticElementDlg::TextLabel_GroupName |
|
private |