]> SALOME platform Git repositories - plugins/hexablockplugin.git/blob - idl/HEXABLOCKPlugin_Algorithm.idl
Salome HOME
First publish of HEXABLOCKPLUGIN
[plugins/hexablockplugin.git] / idl / HEXABLOCKPlugin_Algorithm.idl
1 //  Copyright (C) 2004-2010  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.
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 #include "Document.idl"
31 /*!
32  * HEXABLOCKPlugin: interfaces to HEXABLOCK related hypotheses and algorithms
33  */
34 module HEXABLOCKPlugin
35 {
36
37   /*!
38    * HEXABLOCKPlugin_HEXABLOCK: interface of "hexaBlock" algorithm
39    */
40   interface HEXABLOCKPlugin_HEXABLOCK : SMESH::SMESH_3D_Algo
41   {
42   };
43
44   /*!
45    * Parameters of "HexaBlock" algorithm
46    */
47   interface HEXABLOCKPlugin_Hypothesis : SMESH::SMESH_Hypothesis
48   {
49     /*!
50      * Define the document to be meshed, mandatory
51      */
52     void SetDocument(in HEXABLOCK_ORB::Document doc);
53     HEXABLOCK_ORB::Document GetDocument();
54
55     /*!
56      * To define the hight dimension to generated: 3 = hexas, 2 = quads, 1 = segments, 0 = nodes
57      */
58     void SetDimension(in long dim);
59     long GetDimension();
60   };
61 };
62
63 #endif