Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_ReorientFacesDlg.h
diff --git
a/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.h
b/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.h
index e09462483c9dfd172e06d8180edce686b704c710..ee56a233e44006fa933ef6ec0687fe2a4a8b639f 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ReorientFacesDlg.h
+++ b/
src/SMESHGUI/SMESHGUI_ReorientFacesDlg.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
24 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-27,31
+27,37
@@
#define SMESHGUI_ReorientFacesDlg_H
// SMESH includes
#define SMESHGUI_ReorientFacesDlg_H
// SMESH includes
+
#include "SMESH_SMESHGUI.hxx"
#include "SMESHGUI_Dialog.h"
#include "SMESHGUI_SelectionOp.h"
#include "SMESH_SMESHGUI.hxx"
#include "SMESHGUI_Dialog.h"
#include "SMESHGUI_SelectionOp.h"
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(SMESH_Mesh)
+
class QButtonGroup;
class QCheckBox;
class QLineEdit;
class SMESHGUI_SpinBox;
class SMESHGUI_ReorientFacesDlg;
class QButtonGroup;
class QCheckBox;
class QLineEdit;
class SMESHGUI_SpinBox;
class SMESHGUI_ReorientFacesDlg;
+class SMESH_TypeFilter;
-/*!
- * \brief Operation to reorient faces ac
o
ording to some criterion
+/*!
================================================================================
+ * \brief Operation to reorient faces ac
c
ording to some criterion
*/
*/
+
class SMESHGUI_EXPORT SMESHGUI_ReorientFacesOp: public SMESHGUI_SelectionOp
{
Q_OBJECT
class SMESHGUI_EXPORT SMESHGUI_ReorientFacesOp: public SMESHGUI_SelectionOp
{
Q_OBJECT
-public:
+
public:
SMESHGUI_ReorientFacesOp();
virtual ~SMESHGUI_ReorientFacesOp();
virtual LightApp_Dialog* dlg() const;
SMESHGUI_ReorientFacesOp();
virtual ~SMESHGUI_ReorientFacesOp();
virtual LightApp_Dialog* dlg() const;
-protected:
+
protected:
virtual void startOperation();
virtual void stopOperation();
virtual void startOperation();
virtual void stopOperation();
@@
-60,35
+66,43
@@
protected:
virtual void selectionDone();
bool isValid( QString& );
virtual void selectionDone();
bool isValid( QString& );
+ void setRefFiltersByConstructor();
+ int constructorID();
+
-protected slots:
+
protected slots:
virtual bool onApply();
virtual bool onApply();
-private slots:
+
private slots:
virtual void onActivateObject( int );
void redisplayPreview();
void onTextChange( const QString& );
virtual void onActivateObject( int );
void redisplayPreview();
void onTextChange( const QString& );
+ bool onlyOneObjAllowed();
-private:
- SMESHGUI_ReorientFacesDlg* myDlg;
+ private:
+
+ SMESHGUI_ReorientFacesDlg* myDlg;
+
+ SMESH_Actor* myObjectActor;
+ int mySelectionMode;
-
//SMESHGUI_MeshEditPreview* myVectorPreview
;
- SMESH_
Actor* myObjectActo
r;
-
int mySelectionMode
;
+
SMESH_TypeFilter* myRefGroupFilter
;
+ SMESH_
TypeFilter* myRefSubMeshFilte
r;
+
SMESH_TypeFilter* myRefMeshFilter
;
- SMESH::
SMESH_IDSource_var myObject
;
- SMESH::
SMESH_IDSource_var myVolumeObj
;
+ SMESH::
ListOfIDSources_var myObjects
;
+ SMESH::
ListOfIDSources_var myRefGroups
;
};
};
-/*!
- * \brief Dialog to reorient faces ac
o
ording to vector
+/*!
================================================================================
+ * \brief Dialog to reorient faces ac
c
ording to vector
*/
class SMESHGUI_EXPORT SMESHGUI_ReorientFacesDlg : public SMESHGUI_Dialog
{
Q_OBJECT
*/
class SMESHGUI_EXPORT SMESHGUI_ReorientFacesDlg : public SMESHGUI_Dialog
{
Q_OBJECT
-public:
+
public:
SMESHGUI_ReorientFacesDlg();
public slots:
SMESHGUI_ReorientFacesDlg();
public slots:
@@
-96,12
+110,13
@@
public slots:
private:
QWidget* createMainFrame( QWidget* );
private:
QWidget* createMainFrame( QWidget* );
+ void setLabel( int object, const char* text );
QButtonGroup* myConstructorGrp;
QFrame* myFaceFrm;
QFrame* myPointFrm;
QFrame* myDirFrm;
QButtonGroup* myConstructorGrp;
QFrame* myFaceFrm;
QFrame* myPointFrm;
QFrame* myDirFrm;
- QFrame* my
Volum
Frm;
+ QFrame* my
RefGroup
Frm;
QCheckBox* myOutsideChk;
SMESHGUI_SpinBox* myX;
SMESHGUI_SpinBox* myY;
QCheckBox* myOutsideChk;
SMESHGUI_SpinBox* myX;
SMESHGUI_SpinBox* myY;