<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>SALOME - SMESH: SMESH_Hypothesis.hxx Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">SALOME - SMESH </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('SMESH__Hypothesis_8hxx_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">SMESH_Hypothesis.hxx</div> </div> </div><!--header--> <div class="contents"> <a href="SMESH__Hypothesis_8hxx.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// This library is free software; you can redistribute it and/or</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// modify it under the terms of the GNU Lesser General Public</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// License as published by the Free Software Foundation; either</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// version 2.1 of the License.</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// This library is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// Lesser General Public License for more details.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">//</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// You should have received a copy of the GNU Lesser General Public</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// License along with this library; if not, write to the Free Software</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">//</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">//</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// SMESH SMESH : implementaion of SMESH idl descriptions</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// File : SMESH_Hypothesis.hxx</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// Author : Paul RASCLE, EDF</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// Module : SMESH</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">//</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifndef _SMESH_HYPOTHESIS_HXX_</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#define _SMESH_HYPOTHESIS_HXX_</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="SMESH__SMESH_8hxx.html">SMESH_SMESH.hxx</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="SMESHDS__Hypothesis_8hxx.html">SMESHDS_Hypothesis.hxx</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">class </span><a class="code" href="classSMESH__Gen.html">SMESH_Gen</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">class </span>TopoDS_Shape;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">class </span><a class="code" href="classSMESH__Mesh.html">SMESH_Mesh</a>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5"> 39</a></span> <span class="keyword">enum</span> <a class="code" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5">MeshDimension</a> <span class="comment">// dimension of mesh</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5a24f32b467fdf7adca321106de35c8e2a"> 41</a></span>  <a class="code" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5a24f32b467fdf7adca321106de35c8e2a">MeshDim_0D</a> = 0,</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5ab81b43943cf9c8ddfe6f46b2ed398c86"> 42</a></span>  <a class="code" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5ab81b43943cf9c8ddfe6f46b2ed398c86">MeshDim_1D</a>,</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5ade2073c10183028897a941a85a57407e"> 43</a></span>  <a class="code" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5ade2073c10183028897a941a85a57407e">MeshDim_2D</a>,</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5afb8672ed67da30a6e8c0c1c1796c8852"> 44</a></span>  <a class="code" href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5afb8672ed67da30a6e8c0c1c1796c8852">MeshDim_3D</a></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> };</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html"> 47</a></span> <span class="keyword">class </span><a class="code" href="SMESH__SMESH_8hxx.html#ac3bda889c3f636f954deab36bb6d384d">SMESH_EXPORT</a> <a class="code" href="classSMESH__Hypothesis.html">SMESH_Hypothesis</a>: <span class="keyword">public</span> <a class="code" href="classSMESHDS__Hypothesis.html">SMESHDS_Hypothesis</a></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8"> 50</a></span>  <span class="keyword">enum</span> <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8">Hypothesis_Status</a> <span class="comment">// in the order of severity</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  {</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8aef1c723b31362358a70d780f5f408c97"> 52</a></span>  HYP_OK = 0,</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a2ce273d9fc6288ee2de879aff15b94b2"> 53</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a2ce273d9fc6288ee2de879aff15b94b2">HYP_MISSING</a>, <span class="comment">// algo misses a hypothesis</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8abfa22c08ff429936f8c4d34faf82915e"> 54</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8abfa22c08ff429936f8c4d34faf82915e">HYP_CONCURENT</a>, <span class="comment">// several applicable hypotheses</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a43ce3ada6837ce76bbee1fccbd2dee8a"> 55</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a43ce3ada6837ce76bbee1fccbd2dee8a">HYP_BAD_PARAMETER</a>,<span class="comment">// hypothesis has a bad parameter value</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a35528a3b5f849a70476738e1e33fd876"> 56</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a35528a3b5f849a70476738e1e33fd876">HYP_HIDDEN_ALGO</a>, <span class="comment">// an algo is hidden by an upper dim algo generating all-dim elements</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a5d48de74141d5116b2d83e814f79f97a"> 57</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a5d48de74141d5116b2d83e814f79f97a">HYP_HIDING_ALGO</a>, <span class="comment">// an algo hides lower dim algos by generating all-dim elements</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a6be7db6eab5145a32709f2e4f668c10f"> 58</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a6be7db6eab5145a32709f2e4f668c10f">HYP_UNKNOWN_FATAL</a>,<span class="comment">// --- all statuses below should be considered as fatal</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// for Add/RemoveHypothesis operations</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8ada4ed073724c4ba54aac1cdf5d4cd21e"> 60</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8ada4ed073724c4ba54aac1cdf5d4cd21e">HYP_INCOMPATIBLE</a>, <span class="comment">// hypothesis does not fit algo</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a6e8fec67ac3a53af979e769a8895ffa2"> 61</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a6e8fec67ac3a53af979e769a8895ffa2">HYP_NOTCONFORM</a>, <span class="comment">// not conform mesh is produced appling a hypothesis</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a45e5f609b3c856e535864031b53f8f38"> 62</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a45e5f609b3c856e535864031b53f8f38">HYP_ALREADY_EXIST</a>,<span class="comment">// such hypothesis already exist</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a45fb85d71aa8d2a2c2b858f08e9c1701"> 63</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a45fb85d71aa8d2a2c2b858f08e9c1701">HYP_BAD_DIM</a>, <span class="comment">// bad dimension</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a77b10d6b632096c94ac5cba7ce7872f7"> 64</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a77b10d6b632096c94ac5cba7ce7872f7">HYP_BAD_SUBSHAPE</a>, <span class="comment">// shape is neither the main one, nor its subshape, nor a group</span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a8b67b539f8ce69ae265e1981bbdb5c40"> 65</a></span>  <a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a8b67b539f8ce69ae265e1981bbdb5c40">HYP_BAD_GEOMETRY</a>, <span class="comment">// shape geometry mismatches algorithm's expectation</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8af4927082fb2be9404ce33bda60ffc265"> 66</a></span>  HYP_NEED_SHAPE <span class="comment">// algorithm can work on shape only</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  };</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a1c114b448743cd9390d1a03b10ad7529"> 68</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classSMESH__Hypothesis.html#a1c114b448743cd9390d1a03b10ad7529">IsStatusFatal</a>(<a class="code" href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8">Hypothesis_Status</a> theStatus)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  { <span class="keywordflow">return</span> theStatus >= HYP_UNKNOWN_FATAL; }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classSMESH__Hypothesis.html">SMESH_Hypothesis</a>(<span class="keywordtype">int</span> hypId, <span class="keywordtype">int</span> studyId, <a class="code" href="classSMESH__Gen.html">SMESH_Gen</a>* gen);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">virtual</span> ~<a class="code" href="classSMESH__Hypothesis.html">SMESH_Hypothesis</a>();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetDim() <span class="keyword">const</span>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">int</span> GetStudyId() <span class="keyword">const</span>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> NotifySubMeshesHypothesisModification();</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetShapeType() <span class="keyword">const</span>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetLibName() <span class="keyword">const</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">void</span> SetLibName(<span class="keyword">const</span> <span class="keywordtype">char</span>* theLibName);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> SetParameters(<span class="keyword">const</span> <span class="keywordtype">char</span> *theParameters);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">char</span>* GetParameters() <span class="keyword">const</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> SetLastParameters(<span class="keyword">const</span> <span class="keywordtype">char</span>* theParameters);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">char</span>* GetLastParameters() <span class="keyword">const</span>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> ClearParameters();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> SetParametersByMesh(<span class="keyword">const</span> <a class="code" href="classSMESH__Mesh.html">SMESH_Mesh</a>* theMesh, <span class="keyword">const</span> TopoDS_Shape& theShape)=0;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structSMESH__Hypothesis_1_1TDefaults.html"> 95</a></span>  <span class="keyword">struct </span><a class="code" href="structSMESH__Hypothesis_1_1TDefaults.html">TDefaults</a></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  {</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structSMESH__Hypothesis_1_1TDefaults.html#a5499ecef42cf4520aac1f22930bd4a13"> 97</a></span>  <span class="keywordtype">double</span> <a class="code" href="structSMESH__Hypothesis_1_1TDefaults.html#a5499ecef42cf4520aac1f22930bd4a13">_elemLength</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structSMESH__Hypothesis_1_1TDefaults.html#a8854c6572a8198f973bdb1ccfba343c0"> 98</a></span>  <span class="keywordtype">int</span> <a class="code" href="structSMESH__Hypothesis_1_1TDefaults.html#a8854c6572a8198f973bdb1ccfba343c0">_nbSegments</a>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  };</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> SetParametersByDefaults(<span class="keyword">const</span> <a class="code" href="structSMESH__Hypothesis_1_1TDefaults.html">TDefaults</a>& dflts, <span class="keyword">const</span> <a class="code" href="classSMESH__Mesh.html">SMESH_Mesh</a>* theMesh=0)=0;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#acd25f3e39512a632204620f2caba7c0c"> 114</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classSMESH__Hypothesis.html#acd25f3e39512a632204620f2caba7c0c">IsAuxiliary</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classSMESHDS__Hypothesis.html#aac08d63fb544c471df57145ccc79afc1">GetType</a>() == PARAM_ALGO && _param_algo_dim < 0; }</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a79259ef9ce39cd7ba8dfcec254b89742"> 118</a></span>  <a class="code" href="classSMESH__Gen.html">SMESH_Gen</a>* <a class="code" href="classSMESH__Hypothesis.html#a79259ef9ce39cd7ba8dfcec254b89742">_gen</a>;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a445d85cae47cda1acd3fe9db77640255"> 119</a></span>  <span class="keywordtype">int</span> <a class="code" href="classSMESH__Hypothesis.html#a445d85cae47cda1acd3fe9db77640255">_studyId</a>;</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a740408206e4114fa8ea4f8dd135df05d"> 120</a></span>  <span class="keywordtype">int</span> <a class="code" href="classSMESH__Hypothesis.html#a740408206e4114fa8ea4f8dd135df05d">_shapeType</a>;</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#af9fe94319bd793c7ca94b0a382ba50e6"> 121</a></span>  <span class="keywordtype">int</span> <a class="code" href="classSMESH__Hypothesis.html#af9fe94319bd793c7ca94b0a382ba50e6">_param_algo_dim</a>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a9c87bf3a258f2ddba89c86e74e3bfbca"> 124</a></span>  std::string <a class="code" href="classSMESH__Hypothesis.html#a9c87bf3a258f2ddba89c86e74e3bfbca">_libName</a>;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#a9733191425a8ca7fb7334703b9424f07"> 125</a></span>  std::string <a class="code" href="classSMESH__Hypothesis.html#a9733191425a8ca7fb7334703b9424f07">_parameters</a>;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classSMESH__Hypothesis.html#abefe9604d05802284891bc601c756fb1"> 126</a></span>  std::string <a class="code" href="classSMESH__Hypothesis.html#abefe9604d05802284891bc601c756fb1">_lastParameters</a>;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> };</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="classSMESH__Hypothesis_html_a9c87bf3a258f2ddba89c86e74e3bfbca"><div class="ttname"><a href="classSMESH__Hypothesis.html#a9c87bf3a258f2ddba89c86e74e3bfbca">SMESH_Hypothesis::_libName</a></div><div class="ttdeci">std::string _libName</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00124">SMESH_Hypothesis.hxx:124</a></div></div> <div class="ttc" id="SMESH__Hypothesis_8hxx_html_a3e5b00e02a380507e810d10104f475a5ade2073c10183028897a941a85a57407e"><div class="ttname"><a href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5ade2073c10183028897a941a85a57407e">MeshDim_2D</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00043">SMESH_Hypothesis.hxx:43</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a445d85cae47cda1acd3fe9db77640255"><div class="ttname"><a href="classSMESH__Hypothesis.html#a445d85cae47cda1acd3fe9db77640255">SMESH_Hypothesis::_studyId</a></div><div class="ttdeci">int _studyId</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00119">SMESH_Hypothesis.hxx:119</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a35528a3b5f849a70476738e1e33fd876"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a35528a3b5f849a70476738e1e33fd876">SMESH_Hypothesis::HYP_HIDDEN_ALGO</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00056">SMESH_Hypothesis.hxx:56</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html"><div class="ttname"><a href="classSMESH__Hypothesis.html">SMESH_Hypothesis</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00047">SMESH_Hypothesis.hxx:47</a></div></div> <div class="ttc" id="classSMESHDS__Hypothesis_html"><div class="ttname"><a href="classSMESHDS__Hypothesis.html">SMESHDS_Hypothesis</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESHDS__Hypothesis_8hxx_source.html#l00036">SMESHDS_Hypothesis.hxx:36</a></div></div> <div class="ttc" id="SMESH__Hypothesis_8hxx_html_a3e5b00e02a380507e810d10104f475a5afb8672ed67da30a6e8c0c1c1796c8852"><div class="ttname"><a href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5afb8672ed67da30a6e8c0c1c1796c8852">MeshDim_3D</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00044">SMESH_Hypothesis.hxx:44</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a6be7db6eab5145a32709f2e4f668c10f"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a6be7db6eab5145a32709f2e4f668c10f">SMESH_Hypothesis::HYP_UNKNOWN_FATAL</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00058">SMESH_Hypothesis.hxx:58</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8abfa22c08ff429936f8c4d34faf82915e"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8abfa22c08ff429936f8c4d34faf82915e">SMESH_Hypothesis::HYP_CONCURENT</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00054">SMESH_Hypothesis.hxx:54</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a1c114b448743cd9390d1a03b10ad7529"><div class="ttname"><a href="classSMESH__Hypothesis.html#a1c114b448743cd9390d1a03b10ad7529">SMESH_Hypothesis::IsStatusFatal</a></div><div class="ttdeci">static bool IsStatusFatal(Hypothesis_Status theStatus)</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00068">SMESH_Hypothesis.hxx:68</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a8b67b539f8ce69ae265e1981bbdb5c40"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a8b67b539f8ce69ae265e1981bbdb5c40">SMESH_Hypothesis::HYP_BAD_GEOMETRY</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00065">SMESH_Hypothesis.hxx:65</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_abefe9604d05802284891bc601c756fb1"><div class="ttname"><a href="classSMESH__Hypothesis.html#abefe9604d05802284891bc601c756fb1">SMESH_Hypothesis::_lastParameters</a></div><div class="ttdeci">std::string _lastParameters</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00126">SMESH_Hypothesis.hxx:126</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a79259ef9ce39cd7ba8dfcec254b89742"><div class="ttname"><a href="classSMESH__Hypothesis.html#a79259ef9ce39cd7ba8dfcec254b89742">SMESH_Hypothesis::_gen</a></div><div class="ttdeci">SMESH_Gen * _gen</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00118">SMESH_Hypothesis.hxx:118</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8">SMESH_Hypothesis::Hypothesis_Status</a></div><div class="ttdeci">Hypothesis_Status</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00050">SMESH_Hypothesis.hxx:50</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a9733191425a8ca7fb7334703b9424f07"><div class="ttname"><a href="classSMESH__Hypothesis.html#a9733191425a8ca7fb7334703b9424f07">SMESH_Hypothesis::_parameters</a></div><div class="ttdeci">std::string _parameters</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00125">SMESH_Hypothesis.hxx:125</a></div></div> <div class="ttc" id="structSMESH__Hypothesis_1_1TDefaults_html_a5499ecef42cf4520aac1f22930bd4a13"><div class="ttname"><a href="structSMESH__Hypothesis_1_1TDefaults.html#a5499ecef42cf4520aac1f22930bd4a13">SMESH_Hypothesis::TDefaults::_elemLength</a></div><div class="ttdeci">double _elemLength</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00097">SMESH_Hypothesis.hxx:97</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_acd25f3e39512a632204620f2caba7c0c"><div class="ttname"><a href="classSMESH__Hypothesis.html#acd25f3e39512a632204620f2caba7c0c">SMESH_Hypothesis::IsAuxiliary</a></div><div class="ttdeci">virtual bool IsAuxiliary() const</div><div class="ttdoc">Return true if me is an auxiliary hypothesis. </div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00114">SMESH_Hypothesis.hxx:114</a></div></div> <div class="ttc" id="SMESH__Hypothesis_8hxx_html_a3e5b00e02a380507e810d10104f475a5a24f32b467fdf7adca321106de35c8e2a"><div class="ttname"><a href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5a24f32b467fdf7adca321106de35c8e2a">MeshDim_0D</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00041">SMESH_Hypothesis.hxx:41</a></div></div> <div class="ttc" id="SMESH__Hypothesis_8hxx_html_a3e5b00e02a380507e810d10104f475a5ab81b43943cf9c8ddfe6f46b2ed398c86"><div class="ttname"><a href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5ab81b43943cf9c8ddfe6f46b2ed398c86">MeshDim_1D</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00042">SMESH_Hypothesis.hxx:42</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a6e8fec67ac3a53af979e769a8895ffa2"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a6e8fec67ac3a53af979e769a8895ffa2">SMESH_Hypothesis::HYP_NOTCONFORM</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00061">SMESH_Hypothesis.hxx:61</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8ada4ed073724c4ba54aac1cdf5d4cd21e"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8ada4ed073724c4ba54aac1cdf5d4cd21e">SMESH_Hypothesis::HYP_INCOMPATIBLE</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00060">SMESH_Hypothesis.hxx:60</a></div></div> <div class="ttc" id="SMESH__SMESH_8hxx_html"><div class="ttname"><a href="SMESH__SMESH_8hxx.html">SMESH_SMESH.hxx</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a77b10d6b632096c94ac5cba7ce7872f7"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a77b10d6b632096c94ac5cba7ce7872f7">SMESH_Hypothesis::HYP_BAD_SUBSHAPE</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00064">SMESH_Hypothesis.hxx:64</a></div></div> <div class="ttc" id="classSMESH__Gen_html"><div class="ttname"><a href="classSMESH__Gen.html">SMESH_Gen</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Gen_8hxx_source.html#l00062">SMESH_Gen.hxx:62</a></div></div> <div class="ttc" id="SMESH__SMESH_8hxx_html_ac3bda889c3f636f954deab36bb6d384d"><div class="ttname"><a href="SMESH__SMESH_8hxx.html#ac3bda889c3f636f954deab36bb6d384d">SMESH_EXPORT</a></div><div class="ttdeci">#define SMESH_EXPORT</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__SMESH_8hxx_source.html#l00036">SMESH_SMESH.hxx:36</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a45fb85d71aa8d2a2c2b858f08e9c1701"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a45fb85d71aa8d2a2c2b858f08e9c1701">SMESH_Hypothesis::HYP_BAD_DIM</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00063">SMESH_Hypothesis.hxx:63</a></div></div> <div class="ttc" id="classSMESHDS__Hypothesis_html_aac08d63fb544c471df57145ccc79afc1"><div class="ttname"><a href="classSMESHDS__Hypothesis.html#aac08d63fb544c471df57145ccc79afc1">SMESHDS_Hypothesis::GetType</a></div><div class="ttdeci">int GetType() const</div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a43ce3ada6837ce76bbee1fccbd2dee8a"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a43ce3ada6837ce76bbee1fccbd2dee8a">SMESH_Hypothesis::HYP_BAD_PARAMETER</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00055">SMESH_Hypothesis.hxx:55</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a2ce273d9fc6288ee2de879aff15b94b2"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a2ce273d9fc6288ee2de879aff15b94b2">SMESH_Hypothesis::HYP_MISSING</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00053">SMESH_Hypothesis.hxx:53</a></div></div> <div class="ttc" id="SMESH__Hypothesis_8hxx_html_a3e5b00e02a380507e810d10104f475a5"><div class="ttname"><a href="SMESH__Hypothesis_8hxx.html#a3e5b00e02a380507e810d10104f475a5">MeshDimension</a></div><div class="ttdeci">MeshDimension</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00039">SMESH_Hypothesis.hxx:39</a></div></div> <div class="ttc" id="SMESHDS__Hypothesis_8hxx_html"><div class="ttname"><a href="SMESHDS__Hypothesis_8hxx.html">SMESHDS_Hypothesis.hxx</a></div></div> <div class="ttc" id="classSMESH__Mesh_html"><div class="ttname"><a href="classSMESH__Mesh.html">SMESH_Mesh</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Mesh_8hxx_source.html#l00054">SMESH_Mesh.hxx:54</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a5d48de74141d5116b2d83e814f79f97a"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a5d48de74141d5116b2d83e814f79f97a">SMESH_Hypothesis::HYP_HIDING_ALGO</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00057">SMESH_Hypothesis.hxx:57</a></div></div> <div class="ttc" id="structSMESH__Hypothesis_1_1TDefaults_html_a8854c6572a8198f973bdb1ccfba343c0"><div class="ttname"><a href="structSMESH__Hypothesis_1_1TDefaults.html#a8854c6572a8198f973bdb1ccfba343c0">SMESH_Hypothesis::TDefaults::_nbSegments</a></div><div class="ttdeci">int _nbSegments</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00098">SMESH_Hypothesis.hxx:98</a></div></div> <div class="ttc" id="structSMESH__Hypothesis_1_1TDefaults_html"><div class="ttname"><a href="structSMESH__Hypothesis_1_1TDefaults.html">SMESH_Hypothesis::TDefaults</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00095">SMESH_Hypothesis.hxx:95</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a3130666fee791fbbba75209cb55063d8a45e5f609b3c856e535864031b53f8f38"><div class="ttname"><a href="classSMESH__Hypothesis.html#a3130666fee791fbbba75209cb55063d8a45e5f609b3c856e535864031b53f8f38">SMESH_Hypothesis::HYP_ALREADY_EXIST</a></div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00062">SMESH_Hypothesis.hxx:62</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_af9fe94319bd793c7ca94b0a382ba50e6"><div class="ttname"><a href="classSMESH__Hypothesis.html#af9fe94319bd793c7ca94b0a382ba50e6">SMESH_Hypothesis::_param_algo_dim</a></div><div class="ttdeci">int _param_algo_dim</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00121">SMESH_Hypothesis.hxx:121</a></div></div> <div class="ttc" id="classSMESH__Hypothesis_html_a740408206e4114fa8ea4f8dd135df05d"><div class="ttname"><a href="classSMESH__Hypothesis.html#a740408206e4114fa8ea4f8dd135df05d">SMESH_Hypothesis::_shapeType</a></div><div class="ttdeci">int _shapeType</div><div class="ttdef"><b>Definition:</b> <a href="SMESH__Hypothesis_8hxx_source.html#l00120">SMESH_Hypothesis.hxx:120</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="SMESH__Hypothesis_8hxx.html">SMESH_Hypothesis.hxx</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li> </ul> </div> </body> </html>