Version: 9.16.0
SMESHGUI_MakeFull2DFrom3DOp.h
Go to the documentation of this file.
1// Copyright (C) 2007-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_MakeFull2DFrom3DOp.h
20// Author : Cesar Conopoima, Open CASCADE S.A.S. (cesar.conopoima@opencascade.com)
21
22#ifndef SMESHGUI_MakeFull2DFrom3DOp_H
23#define SMESHGUI_MakeFull2DFrom3DOp_H
24
25// SMESH includes
27
33{
34 Q_OBJECT
35
36public:
39
41};
42
48{
49 Q_OBJECT
50
51public:
54
55 virtual LightApp_Dialog* dlg() const;
56
57protected:
58 virtual void startOperation();
59 virtual void selectionDone();
60 virtual SUIT_SelectionFilter* createFilter( const int ) const;
61 bool isValid( QString& ) const;
62
63protected slots:
64 virtual bool onApply();
65
66private:
67 bool compute2DMesh( QStringList& );
68
69private:
70 SMESH::SMESH_Mesh_var mySrcMesh;
71 QPointer<SMESHGUI_MakeFull2DFrom3DDlg> myDlg;
72
75};
76
77#endif // SMESHGUI_MakeFull2DFrom3DOp_H
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Dialog to show result mesh statistic.
Definition: SMESHGUI_Make2DFrom3DOp.h:46
Dialog for options of generating 2D mesh from 3D.
Definition: SMESHGUI_MakeFull2DFrom3DOp.h:33
Operation to compute 2D mesh from 3D mesh.
Definition: SMESHGUI_MakeFull2DFrom3DOp.h:48
SMESH::SMESH_Mesh_var mySrcMesh
Definition: SMESHGUI_MakeFull2DFrom3DOp.h:70
SMESH_TypeFilter myGroupFilter
Definition: SMESHGUI_MakeFull2DFrom3DOp.h:74
SMESH_TypeFilter myMeshFilter
Definition: SMESHGUI_MakeFull2DFrom3DOp.h:73
QPointer< SMESHGUI_MakeFull2DFrom3DDlg > myDlg
Definition: SMESHGUI_MakeFull2DFrom3DOp.h:71
Definition: SMESHGUI_SelectionOp.h:58
Definition: SMESH_TypeFilter.hxx:35