]> SALOME platform Git repositories - plugins/hexoticplugin.git/blob - src/HexoticPlugin/HexoticPlugin_Hypothesis_i.hxx
Salome HOME
Import a new plugin, sent by Stephane LIAUZU
[plugins/hexoticplugin.git] / src / HexoticPlugin / HexoticPlugin_Hypothesis_i.hxx
1 //  HexoticPlugin : C++ implementation
2 //
3 //  Copyright (C) 2006  OPEN CASCADE, CEA/DEN, EDF R&D
4 // 
5 //  This library is free software; you can redistribute it and/or 
6 //  modify it under the terms of the GNU Lesser General Public 
7 //  License as published by the Free Software Foundation; either 
8 //  version 2.1 of the License. 
9 // 
10 //  This library is distributed in the hope that it will be useful, 
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13 //  Lesser General Public License for more details. 
14 // 
15 //  You should have received a copy of the GNU Lesser General Public 
16 //  License along with this library; if not, write to the Free Software 
17 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
18 // 
19 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
20 //
21 //
22 // File      : HexoticPlugin_Hypothesis_i.hxx
23 // Author    : Lioka RAZAFINDRAZAKA (CEA)
24 // Date      : 2006/06/30
25 // Project   : SALOME
26 //=============================================================================
27
28 #ifndef _HexoticPlugin_Hypothesis_i_HXX_
29 #define _HexoticPlugin_Hypothesis_i_HXX_
30
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(HexoticPlugin_Algorithm)
33
34 #include "SMESH_Hypothesis_i.hxx"
35 #include "HexoticPlugin_Hypothesis.hxx"
36
37 class SMESH_Gen;
38
39 // HexoticPlugin parameters hypothesis
40
41 class HexoticPlugin_Hypothesis_i:
42   public virtual POA_HexoticPlugin::HexoticPlugin_Hypothesis,
43   public virtual SMESH_Hypothesis_i
44 {
45  public:
46   // Constructor
47   HexoticPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
48                              int                     theStudyId,
49                              ::SMESH_Gen*            theGenImpl);
50   // Destructor
51   virtual ~HexoticPlugin_Hypothesis_i();
52
53   // Methods for setting and getting parameters values
54   void SetHexesMinLevel(CORBA::Long theVal);
55   CORBA::Long GetHexesMinLevel();
56
57   void SetHexesMaxLevel(CORBA::Long theVal);
58   CORBA::Long GetHexesMaxLevel();
59
60   void SetHexoticQuadrangles(CORBA::Boolean theVal);
61   CORBA::Boolean GetHexoticQuadrangles();
62
63   // Get implementation
64   ::HexoticPlugin_Hypothesis* GetImpl();
65   
66   // Verify whether hypothesis supports given entity type 
67   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
68 };
69
70 #endif