Dialog box to select entities to be displayed in viewer. More...
#include <SMESHGUI_DisplayEntitiesDlg.h>
Public Member Functions | |
SMESHGUI_DisplayEntitiesDlg (QWidget *parent) | |
~SMESHGUI_DisplayEntitiesDlg () | |
virtual void | show () |
virtual void | setContentActive (const bool) |
set all content to enable (parameter is true) or disable state More... | |
Static Public Member Functions | |
static int | prefix (const QString &) |
Return hard-coded prefix using to differ overlapping types. More... | |
Protected Member Functions | |
SUIT_Desktop * | desktop () const |
find desktop of active application More... | |
SUIT_ResourceMgr * | resourceMgr () const |
gets resource manager More... | |
Private Slots | |
void | onOk () |
Display or update the mesh in the 3D view with selected entity mode. More... | |
void | onHelp () |
Show online help on dialog box. More... | |
void | onChangeEntityMode (bool isChecked) |
Slot for changing entities state. More... | |
Private Member Functions | |
void | InverseEntityMode (unsigned int &theOutputMode, unsigned int theMode) |
void | updateButtons () |
Enable/disable OK button depending on nb of selected entities. More... | |
Handle (SALOME_InteractiveObject) myIObject | |
Private Attributes | |
unsigned int | myEntityMode |
SMESH_Actor * | myActor |
int | myNbCheckedButtons |
int | myNbTypes |
QCheckBox * | my0DElemsTB |
QCheckBox * | myEdgesTB |
QCheckBox * | myFacesTB |
QCheckBox * | myVolumesTB |
QCheckBox * | myBallsTB |
Dialog box to select entities to be displayed in viewer.
SMESHGUI_DisplayEntitiesDlg::SMESHGUI_DisplayEntitiesDlg | ( | QWidget * | parent | ) |
References SMESH_Actor::e0DElements, SMESH_Actor::eBallElem, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eVolumes, SMESH::FindActorByEntry(), SMESH_Actor::GetEntityMode(), SMESH::GetMeshByIO(), SMESH_Actor::GetObject(), my0DElemsTB, myActor, myBallsTB, myEdgesTB, myEntityMode, myFacesTB, myNbCheckedButtons, myNbTypes, myVolumesTB, onChangeEntityMode(), onHelp(), onOk(), SMESHGUI_Dialog::resourceMgr(), SMESHGUI::selectionMgr(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Volume, and updateButtons().
SMESHGUI_DisplayEntitiesDlg::~SMESHGUI_DisplayEntitiesDlg | ( | ) |
|
protectedinherited |
find desktop of active application
References MESHCUT::d.
|
private |
|
private |
Referenced by onChangeEntityMode().
|
privateslot |
Slot for changing entities state.
References SMESH_Actor::e0DElements, SMESH_Actor::eBallElem, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eVolumes, InverseEntityMode(), my0DElemsTB, myBallsTB, myEdgesTB, myEntityMode, myFacesTB, myNbCheckedButtons, myVolumesTB, and updateButtons().
Referenced by SMESHGUI_DisplayEntitiesDlg().
|
privateslot |
Show online help on dialog box.
Referenced by SMESHGUI_DisplayEntitiesDlg().
|
privateslot |
Display or update the mesh in the 3D view with selected entity mode.
References SMESH::CreateActor(), SMESH::DisplayActor(), SMESH::eDisplay, SMESH::GetActiveWindow(), SMESH_Actor::GetEntityMode(), myActor, myEntityMode, SMESHGUI::selectionMgr(), SMESH_Actor::SetEntityMode(), and SMESH::UpdateView().
Referenced by SMESHGUI_DisplayEntitiesDlg().
|
staticinherited |
Return hard-coded prefix using to differ overlapping types.
Referenced by SMESHGUI_Dialog::SMESHGUI_Dialog(), and SMESHGUI_SelectionOp::typeById().
|
protectedinherited |
gets resource manager
Referenced by SMESHGUI_ComputeDlg::createMainFrame(), SMESHGUI_DisplayEntitiesDlg(), and SMESHGUI_GroupOnShapeDlg::SMESHGUI_GroupOnShapeDlg().
|
virtualinherited |
set all content to enable (parameter is true) or disable state
Referenced by SMESHGUI_Operation::setDialogActive().
|
virtualinherited |
Referenced by SMESHGUI_MeshOp::onCloseShapeByMeshDlg(), SMESHGUI_MeshOp::onPublishShapeByMeshDlg(), SMESHGUI_BaseComputeOp::showComputeResult(), SMESHGUI_BaseComputeOp::showEvaluateResult(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_ReorientFacesOp::startOperation(), SMESHGUI_GroupOnShapeOp::startOperation(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), SMESHGUI_SplitBiQuadOp::startOperation(), SMESHGUI_MeshOp::startOperation(), SMESHGUI_MeshOrderOp::startOperation(), SMESHGUI_ShapeByMeshOp::startOperation(), and SMESHGUI_Add0DElemsOnAllNodesOp::startOperation().
|
private |
Enable/disable OK button depending on nb of selected entities.
References myNbCheckedButtons, and myNbTypes.
Referenced by onChangeEntityMode(), and SMESHGUI_DisplayEntitiesDlg().
|
private |
Referenced by onChangeEntityMode(), and SMESHGUI_DisplayEntitiesDlg().
|
private |
Referenced by onOk(), and SMESHGUI_DisplayEntitiesDlg().
|
private |
Referenced by onChangeEntityMode(), and SMESHGUI_DisplayEntitiesDlg().
|
private |
Referenced by onChangeEntityMode(), and SMESHGUI_DisplayEntitiesDlg().
|
private |
Referenced by onChangeEntityMode(), onOk(), and SMESHGUI_DisplayEntitiesDlg().
|
private |
Referenced by onChangeEntityMode(), and SMESHGUI_DisplayEntitiesDlg().
|
private |
Referenced by onChangeEntityMode(), SMESHGUI_DisplayEntitiesDlg(), and updateButtons().
|
private |
Referenced by SMESHGUI_DisplayEntitiesDlg(), and updateButtons().
|
private |
Referenced by onChangeEntityMode(), and SMESHGUI_DisplayEntitiesDlg().