]> SALOME platform Git repositories - plugins/ghs3dplugin.git/blob - idl/GHS3DPlugin_Algorithm.idl
Salome HOME
983d7d812419bf12e78565a526f3237f4ddd4913
[plugins/ghs3dplugin.git] / idl / GHS3DPlugin_Algorithm.idl
1 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
3 // 
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. 
8 // 
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. 
13 // 
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 
17 // 
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 //
21 //
22 //  File   : GHS3D_Algorithm.idl
23 //  Author : Julia DOROVSKIKH
24 //  $Header$
25
26 #ifndef _GHS3D_Algorithm_IDL_
27 #define _GHS3D_Algorithm_IDL_
28
29 #include "SALOME_Exception.idl"
30 #include "SMESH_Hypothesis.idl"
31
32 /*!
33  * GHS3DPlugin: interfaces to GHS3D related hypotheses and algorithms
34  */
35 module GHS3DPlugin
36 {
37   /*!
38    * GHS3DPlugin_GHS3D: interface of "Tetrahedron (GHS3D)" algorithm
39    */
40   interface GHS3DPlugin_GHS3D : SMESH::SMESH_3D_Algo
41   {
42   };
43
44   /*!
45    * Parameters of "Tetrahedron (GHS3D)" algorithm
46    */
47   interface GHS3DPlugin_Hypothesis : SMESH::SMESH_Hypothesis
48   {
49     /*!
50      * To mesh "holes" in a solid or not. Default is to mesh.
51      */
52     void SetToMeshHoles(in boolean toMesh);
53     boolean GetToMeshHoles();
54     /*!
55      * Maximal size of memory to be used by the algorithm (in Megabytes).
56      * Negative value means not to use this option
57      */
58     void SetMaximumMemory(in short MB) raises (SALOME::SALOME_Exception);
59     short GetMaximumMemory();
60     /*!
61      * Initial size of memory to be used by the algorithm (in Megabytes) in
62      * automatic memory adjustment mode. Default is zero.
63      * Negative value means not to use this option
64      */
65     void SetInitialMemory(in short MB) raises (SALOME::SALOME_Exception);
66     short GetInitialMemory();
67     /*!
68      * Optimization level: 0-none, 1-light, 2-medium, 3-strong. Default is medium
69      */
70     void SetOptimizationLevel(in short level) raises (SALOME::SALOME_Exception);
71     short GetOptimizationLevel();
72     /*!
73      * Path to working directory
74      */
75     void SetWorkingDirectory(in string path) raises (SALOME::SALOME_Exception);
76     string GetWorkingDirectory();
77     /*!
78      * To keep working files or remove them. Log file remains in case of errors anyway.
79      */
80     void SetKeepFiles(in boolean toKeep);
81     boolean GetKeepFiles();
82     /*!
83      * Verbose level [0-10]
84      *  0 - no standard output,
85      *  2 - prints the data, quality statistics of the skin and final meshes and
86      *     indicates when the final mesh is being saved. In addition the software
87      *     gives indication regarding the CPU time.
88      * 10 - same as 2 plus the main steps in the computation, quality statistics
89      *     histogram of the skin mesh, quality statistics histogram together with
90      *     the characteristics of the final mesh.
91      */
92     void SetVerboseLevel(in short level);
93     short GetVerboseLevel();
94     /*!
95      * To create new nodes
96      */
97     void SetToCreateNewNodes(in boolean toCreate);
98     boolean GetToCreateNewNodes();
99     /*!
100      * To use boundary recovery version which tries to create mesh on a very poor
101      * quality surface mesh
102      */
103     void SetToUseBoundaryRecoveryVersion(in boolean toUse);
104     boolean GetToUseBoundaryRecoveryVersion();
105     /*!
106      * To set hiden/undocumented/advanced options
107      */
108     void SetTextOption(in string option);
109     string GetTextOption();
110   };
111 };
112
113 #endif