Salome HOME
05e7349f83f3a065b40a2821002f039302086cd2
[plugins/hexablockplugin.git] / idl / HEXABLOCKPlugin_Algorithm.idl
1 // Copyright (C) 2009-2022  CEA/DEN, EDF R&D
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   : HEXABLOCK_Algorithm.idl
21 //  Author : Lioka RAZAFINDRAZAKA (CEA)
22 //  $Header$
23 //
24 #ifndef _HEXABLOCK_Algorithm_IDL_
25 #define _HEXABLOCK_Algorithm_IDL_
26
27 #include "SALOME_Exception.idl"
28 #include "SMESH_Hypothesis.idl"
29
30 /*!
31  * HEXABLOCKPlugin: interfaces to HEXABLOCK related hypotheses and algorithms
32  */
33 module HEXABLOCKPlugin
34 {
35
36   /*!
37    * HEXABLOCKPlugin_HEXABLOCK: interface of "hexaBlock" algorithm
38    */
39   interface HEXABLOCKPlugin_HEXABLOCK : SMESH::SMESH_3D_Algo
40   {
41   };
42
43   /*!
44    * Parameters of "HexaBlock" algorithm
45    */
46   interface HEXABLOCKPlugin_Hypothesis : SMESH::SMESH_Hypothesis
47   {
48     /*!
49      * Define the document to be meshed, mandatory
50      */
51     void SetDocument(in string doc);
52     string GetDocument();
53
54     /*!
55      * To define the hight dimension to generated: 3 = hexas, 2 = quads, 1 = segments, 0 = nodes
56      */
57     void SetDimension(in long dim);
58     long GetDimension();
59   };
60 };
61
62 #endif