1 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 // File : NETGENPlugin_Algorithm.idl
23 // Author : Julia DOROVSKIKH
26 #ifndef _SMESH_NETGENALGORITHM_IDL_
27 #define _SMESH_NETGENALGORITHM_IDL_
29 #include "SMESH_Hypothesis.idl"
32 * NETGENPlugin: interfaces to NETGEN related hypotheses and algorithms
37 * NETGENPlugin_NETGEN_3D: interface of "Tetrahedron (Netgen)" algorithm
39 interface NETGENPlugin_NETGEN_3D : SMESH::SMESH_3D_Algo
44 * NETGENPlugin_NETGEN_2D: interface of "1D-2D (Netgen)" algorithm
46 interface NETGENPlugin_NETGEN_2D : SMESH::SMESH_2D_Algo
51 * NETGENPlugin_NETGEN_2D3D: interface of "1D-2D-3D (Netgen)" algorithm
53 interface NETGENPlugin_NETGEN_2D3D : SMESH::SMESH_3D_Algo
58 * NETGENPlugin_Hypothesis: interface of "NETGEN parameters" hypothesis
60 interface NETGENPlugin_Hypothesis : SMESH::SMESH_Hypothesis
62 void SetMaxSize(in double value);
65 void SetSecondOrder(in boolean value);
66 boolean GetSecondOrder();
68 void SetOptimize(in boolean value);
69 boolean GetOptimize();
71 void SetFineness(in long value);
74 void SetGrowthRate(in double value);
75 double GetGrowthRate();
77 void SetNbSegPerEdge(in double value);
78 double GetNbSegPerEdge();
80 void SetNbSegPerRadius(in double value);
81 double GetNbSegPerRadius();
85 * NETGENPlugin_Hypothesis_2D: interface of "NETGEN 2D parameters" hypothesis
87 interface NETGENPlugin_Hypothesis_2D : NETGENPlugin_Hypothesis
89 void SetQuadAllowed(in boolean value);
90 boolean GetQuadAllowed();