1 // BLSURFPlugin : 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 : BLSURFPlugin_Hypothesis_i.hxx
23 // Authors : Francis KLOSS (OCC) & Patrick LAUG (INRIA) & Lioka RAZAFINDRAZAKA (CEA)
26 //=============================================================================
28 #ifndef _BLSURFPlugin_Hypothesis_i_HXX_
29 #define _BLSURFPlugin_Hypothesis_i_HXX_
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(BLSURFPlugin_Algorithm)
34 #include "SMESH_Hypothesis_i.hxx"
35 #include "BLSURFPlugin_Hypothesis.hxx"
39 // BLSURFPlugin parameters hypothesis
41 class BLSURFPlugin_Hypothesis_i:
42 public virtual POA_BLSURFPlugin::BLSURFPlugin_Hypothesis,
43 public virtual SMESH_Hypothesis_i
47 BLSURFPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
49 ::SMESH_Gen* theGenImpl);
51 virtual ~BLSURFPlugin_Hypothesis_i();
53 void SetTopology(CORBA::Long theValue);
54 CORBA::Long GetTopology();
56 void SetPhysicalMesh(CORBA::Long theValue);
57 CORBA::Long GetPhysicalMesh();
59 void SetPhySize(CORBA::Double theValue);
60 CORBA::Double GetPhySize();
62 void SetGeometricMesh(CORBA::Long theValue);
63 CORBA::Long GetGeometricMesh();
65 void SetAngleMeshS(CORBA::Double theValue);
66 CORBA::Double GetAngleMeshS();
68 void SetGradation(CORBA::Double theValue);
69 CORBA::Double GetGradation();
71 void SetQuadAllowed(CORBA::Boolean theValue);
72 CORBA::Boolean GetQuadAllowed();
74 void SetDecimesh(CORBA::Boolean theValue);
75 CORBA::Boolean GetDecimesh();
78 ::BLSURFPlugin_Hypothesis* GetImpl();
80 // Verify whether hypothesis supports given entity type
81 CORBA::Boolean IsDimSupported( SMESH::Dimension type );