Version: 9.16.0
SMESHGUI_DisplayEntitiesDlg.h
Go to the documentation of this file.
1// Copyright (C) 2014-2026 CEA, EDF, OPEN CASCADE
2//
3// This library is free software; you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public
5// License as published by the Free Software Foundation; either
6// version 2.1 of the License, or (at your option) any later version.
7//
8// This library is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// Lesser General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License along with this library; if not, write to the Free Software
15// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16//
17// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18//
19// File : SMESHGUI_DisplayEntitiesDlg.h
20// Author : Alexander KOVALEV, Open CASCADE S.A.S. (alexander.kovalev@opencascade.com)
21
22#ifndef SMESHGUI_DISPLAYENTITIES_H
23#define SMESHGUI_DISPLAYENTITIES_H
24
25#include "SMESHGUI_Dialog.h"
26#include "SMESH_SMESHGUI.hxx"
27
28#include <SMESH_Actor.h>
29
30class QCheckBox;
31
33{
34 Q_OBJECT
35
36public:
39
40private:
41 void InverseEntityMode( unsigned int& theOutputMode,
42 unsigned int theMode );
43 void updateButtons();
44
45private slots:
46 void onOk();
47 void onHelp();
48 void onChangeEntityMode( bool isChecked );
49
50private:
51 Handle(SALOME_InteractiveObject) myIObject;
52 unsigned int myEntityMode;
56 QCheckBox* my0DElemsTB;
57 QCheckBox* myEdgesTB;
58 QCheckBox* myFacesTB;
59 QCheckBox* myVolumesTB;
60 QCheckBox* myBallsTB;
61};
62
63#endif // SMESHGUI_DISPLAYENTITIES_H
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Definition: SMESHGUI_Dialog.h:44
Dialog box to select entities to be displayed in viewer.
Definition: SMESHGUI_DisplayEntitiesDlg.h:33
QCheckBox * my0DElemsTB
Definition: SMESHGUI_DisplayEntitiesDlg.h:56
int myNbTypes
Definition: SMESHGUI_DisplayEntitiesDlg.h:55
QCheckBox * myFacesTB
Definition: SMESHGUI_DisplayEntitiesDlg.h:58
QCheckBox * myVolumesTB
Definition: SMESHGUI_DisplayEntitiesDlg.h:59
Handle(SALOME_InteractiveObject) myIObject
QCheckBox * myBallsTB
Definition: SMESHGUI_DisplayEntitiesDlg.h:60
int myNbCheckedButtons
Definition: SMESHGUI_DisplayEntitiesDlg.h:54
unsigned int myEntityMode
Definition: SMESHGUI_DisplayEntitiesDlg.h:52
SMESH_Actor * myActor
Definition: SMESHGUI_DisplayEntitiesDlg.h:53
QCheckBox * myEdgesTB
Definition: SMESHGUI_DisplayEntitiesDlg.h:57
Definition: SMESH_Actor.h:56