Version: 9.16.0
SMESHGUI_MeshOrderOp.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
20// File : SMESHGUI_MeshOrderOp.h
21// Author : Pavel TELKOV, Open CASCADE S.A.S.
22//
23#ifndef SMESHGUI_MeshOrderOp_H
24#define SMESHGUI_MeshOrderOp_H
25
26
27// SMESH includes
28#include "SMESH_SMESHGUI.hxx"
29
30#include "SMESHGUI_Operation.h"
32
33// IDL includes
34#include <SALOMEconfig.h>
35#include CORBA_SERVER_HEADER(SMESH_Gen)
36#include CORBA_SERVER_HEADER(SMESH_Mesh)
37
42{
43public:
45 virtual ~SMESHGUI_MeshOrderMgr();
47 void SetMesh( SMESH::SMESH_Mesh_var& theMesh );
49 bool GetMeshOrder();
51 bool GetMeshOrder( ListListId& theIds );
53 bool SetMeshOrder();
55 bool SetMeshOrder( const ListListId& theIds );
56
58 bool IsOrderChanged() const;
59
60private:
61 SMESH::SMESH_Mesh_var myMesh;
63};
64
69{
70 Q_OBJECT
71
72public:
74 virtual ~SMESHGUI_MeshOrderOp();
75
76protected:
77 virtual LightApp_Dialog* dlg() const;
78
79 virtual void startOperation();
80
82 virtual void initDialog();
83
84 protected slots:
85 virtual bool onApply();
86 virtual void onCancel();
87
88 private:
91};
92
93#endif // SMESHGUI_MeshOrderOp_H
QList< ListId > ListListId
Definition: SMESHGUI_MeshOrderDlg.h:42
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Reusable widget that shows and allows modify meshing order.
Definition: SMESHGUI_MeshOrderDlg.h:49
Dialog contains mesh order box for modification operation.
Definition: SMESHGUI_MeshOrderDlg.h:97
Operator to check and modify mesh computation submesh priority (order)
Definition: SMESHGUI_MeshOrderOp.h:42
SMESHGUI_MeshOrderBox * myBox
Definition: SMESHGUI_MeshOrderOp.h:62
SMESH::SMESH_Mesh_var myMesh
Definition: SMESHGUI_MeshOrderOp.h:61
Operator to check and modify mesh computation submesh priority (order)
Definition: SMESHGUI_MeshOrderOp.h:69
SMESHGUI_MeshOrderMgr * myMgr
Definition: SMESHGUI_MeshOrderOp.h:90
SMESHGUI_MeshOrderDlg * myDlg
Definition: SMESHGUI_MeshOrderOp.h:89
Definition: SMESHGUI_Operation.h:47