1 // HexoticPlugin : C++ implementation
3 // Copyright (C) 2006 OPEN CASCADE, CEA/DEN, EDF R&D
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.
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.
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
19 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
22 // File : HexoticPlugin_Hypothesis_i.hxx
23 // Author : Lioka RAZAFINDRAZAKA (CEA)
26 //=============================================================================
28 #ifndef _HexoticPlugin_Hypothesis_i_HXX_
29 #define _HexoticPlugin_Hypothesis_i_HXX_
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(HexoticPlugin_Algorithm)
34 #include "SMESH_Hypothesis_i.hxx"
35 #include "HexoticPlugin_Hypothesis.hxx"
39 // HexoticPlugin parameters hypothesis
41 class HexoticPlugin_Hypothesis_i:
42 public virtual POA_HexoticPlugin::HexoticPlugin_Hypothesis,
43 public virtual SMESH_Hypothesis_i
47 HexoticPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
49 ::SMESH_Gen* theGenImpl);
51 virtual ~HexoticPlugin_Hypothesis_i();
53 // Methods for setting and getting parameters values
54 void SetHexesMinLevel(CORBA::Long theVal);
55 CORBA::Long GetHexesMinLevel();
57 void SetHexesMaxLevel(CORBA::Long theVal);
58 CORBA::Long GetHexesMaxLevel();
60 void SetHexoticQuadrangles(CORBA::Boolean theVal);
61 CORBA::Boolean GetHexoticQuadrangles();
64 ::HexoticPlugin_Hypothesis* GetImpl();
66 // Verify whether hypothesis supports given entity type
67 CORBA::Boolean IsDimSupported( SMESH::Dimension type );