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
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
[modules/smesh.git]
/
src
/
StdMeshersGUI
/
StdMeshersGUI_SubShapeSelectorWdg.h
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
index 6447516fba2406ef1d0ce95fb13369c944495499..591d28b6f8af53465eacaa3f7253cc691d1264ea 100644
(file)
--- a/
src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
+++ b/
src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
@@
-1,7
+1,4
@@
-// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, 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) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-19,6
+16,7
@@
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// File : StdMeshersGUI_SubShapeSelectorWdg.h
// Author : Open CASCADE S.A.S. (dmv)
//
// File : StdMeshersGUI_SubShapeSelectorWdg.h
// Author : Open CASCADE S.A.S. (dmv)
//
@@
-47,6
+45,7
@@
class QListWidget;
class SMESH_Actor;
class SMESH_PreviewActorsCollection;
class vtkRenderer;
class SMESH_Actor;
class SMESH_PreviewActorsCollection;
class vtkRenderer;
+class SUIT_SelectionFilter;
class STDMESHERSGUI_EXPORT StdMeshersGUI_SubShapeSelectorWdg : public QWidget
{
class STDMESHERSGUI_EXPORT StdMeshersGUI_SubShapeSelectorWdg : public QWidget
{
@@
-59,11
+58,17
@@
public:
SMESH::long_array_var GetListOfIDs();
void SetListOfIDs( SMESH::long_array_var );
SMESH::long_array_var GetListOfIDs();
void SetListOfIDs( SMESH::long_array_var );
+ void SetGeomShapeEntry( const QString& theEntry );
+ const char* GetGeomShapeEntry() { return myEntry.toLatin1().data();}
+
void SetMainShapeEntry( const QString& theEntry );
void SetMainShapeEntry( const QString& theEntry );
- const char* GetMainShapeEntry()
{ return myEntry.toLatin1().data();}
+ const char* GetMainShapeEntry()
;
+ TopoDS_Shape GetGeomShape() { return myGeomShape; }
TopoDS_Shape GetMainShape() { return myMainShape; }
TopoDS_Shape GetMainShape() { return myMainShape; }
+ QList<int> GetCorrectedListOfIDs( bool fromSubshapeToMainshape = true );
+
static GEOM::GEOM_Object_var GetGeomObjectByEntry( const QString& );
static TopoDS_Shape GetTopoDSByEntry( const QString& );
static GEOM::GEOM_Object_var GetGeomObjectByEntry( const QString& );
static TopoDS_Shape GetTopoDSByEntry( const QString& );
@@
-71,6
+76,8
@@
public:
void showPreview ( bool );
void showPreview ( bool );
+ int GetListSize() { return myListOfIDs.size(); }
+
void SetMaxSize(int aMaxSize) { myMaxSize = aMaxSize; }
void SetSubShType(TopAbs_ShapeEnum aSubShType) { mySubShType = aSubShType; }
void SetMaxSize(int aMaxSize) { myMaxSize = aMaxSize; }
void SetSubShType(TopAbs_ShapeEnum aSubShType) { mySubShType = aSubShType; }
@@
-91,8
+98,10
@@
private:
LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
SVTK_Selector* mySelector;
SMESH::SMESH_Mesh_var myMesh;
LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */
SVTK_Selector* mySelector;
SMESH::SMESH_Mesh_var myMesh;
+ TopoDS_Shape myGeomShape;
TopoDS_Shape myMainShape;
QString myEntry;
TopoDS_Shape myMainShape;
QString myEntry;
+ QString myMainEntry;
vtkRenderer* myRenderer;
QListWidget* myListWidget;
vtkRenderer* myRenderer;
QListWidget* myListWidget;
@@
-103,6
+112,7
@@
private:
QString myParamValue;
bool myIsShown;
QString myParamValue;
bool myIsShown;
+ bool myIsNotCorrected;
// for manage possible size of myListOfIDs
int myMaxSize;
// for manage possible size of myListOfIDs
int myMaxSize;
@@
-110,6
+120,8
@@
private:
TopAbs_ShapeEnum mySubShType;
SMESH_PreviewActorsCollection* myPreviewActor;
TopAbs_ShapeEnum mySubShType;
SMESH_PreviewActorsCollection* myPreviewActor;
+ QList<SUIT_SelectionFilter*> myGeomFilters;
+ SUIT_SelectionFilter* myFilter;
};
#endif // STDMESHERSGUI_SUBSHAPESELECTORWDG_H
};
#endif // STDMESHERSGUI_SUBSHAPESELECTORWDG_H