Version: 8.3.0
Main Page
Related Pages
Packages
Data Structures
Files
File List
Globals
StdMeshersGUI_PropagationHelperWdg.h
Go to the documentation of this file.
1
// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, 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
#ifndef STDMESHERSGUI_PropagationHelperWdg_H
20
#define STDMESHERSGUI_PropagationHelperWdg_H
21
22
#include "
SMESH_StdMeshersGUI.hxx
"
23
24
#include <QWidget>
25
#include <vector>
26
27
class
QPushButton;
28
class
QListWidget;
29
class
StdMeshersGUI_SubShapeSelectorWdg
;
30
class
vtkRenderer;
31
class
GEOM_Actor;
32
class
QCheckBox;
33
class
QGroupBox
;
34
41
class
STDMESHERSGUI_EXPORT
StdMeshersGUI_PropagationHelperWdg
:
public
QWidget
42
{
43
Q_OBJECT
44
45
public
:
46
StdMeshersGUI_PropagationHelperWdg
(
StdMeshersGUI_SubShapeSelectorWdg
* subSelectWdg,
47
QWidget
* parent = 0,
48
bool
show =
true
);
49
~
StdMeshersGUI_PropagationHelperWdg
();
50
51
void
Clear();
52
53
private
slots:
54
55
void
onShowGeometry(
bool
toShow);
56
void
onListSelectionChanged();
57
void
onAdd();
58
void
onReverse();
59
void
updateList(
bool
enable);
60
61
private
:
62
63
bool
buildChains();
64
std::vector< int > * getSelectedChain();
65
66
StdMeshersGUI_SubShapeSelectorWdg
*
mySubSelectWdg
;
67
vtkRenderer*
myRenderer
;
68
GEOM_Actor*
myActor
;
69
GEOM_Actor*
myModelActor
;
70
71
QListWidget*
myListWidget
;
72
QPushButton*
myAddButton
;
73
QPushButton*
myReverseButton
;
74
QCheckBox*
myShowGeomChkBox
;
75
QGroupBox
*
myChainBox
;
76
77
std::vector< std::vector<int> >
myChains
;
78
};
79
80
#endif
src
StdMeshersGUI
StdMeshersGUI_PropagationHelperWdg.h
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS