X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHexoticPlugin%2FHexoticPlugin_Hypothesis_i.hxx;h=692a02dd55081750e607ed1416523c9b0eb51ba5;hb=e0799b140f6c8563d84e89526eb21c37c1f98a70;hp=be0b7327f44a15181a9e768e612c0518aef8accd;hpb=302a69f9267ba3306d96507b0e4b3c6eab1ddc90;p=plugins%2Fhexoticplugin.git diff --git a/src/HexoticPlugin/HexoticPlugin_Hypothesis_i.hxx b/src/HexoticPlugin/HexoticPlugin_Hypothesis_i.hxx index be0b732..692a02d 100644 --- a/src/HexoticPlugin/HexoticPlugin_Hypothesis_i.hxx +++ b/src/HexoticPlugin/HexoticPlugin_Hypothesis_i.hxx @@ -1,30 +1,27 @@ -// HexoticPlugin : C++ implementation +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D // -// Copyright (C) 2006 OPEN CASCADE, CEA/DEN, EDF R&D -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. // +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// File : HexoticPlugin_Hypothesis_i.hxx -// Author : Lioka RAZAFINDRAZAKA (CEA) -// Date : 2006/06/30 -// Project : SALOME -//============================================================================= +// --- +// File : HexoticPlugin_Hypothesis_i.hxx +// Author : Lioka RAZAFINDRAZAKA (CEA) +// --- +// #ifndef _HexoticPlugin_Hypothesis_i_HXX_ #define _HexoticPlugin_Hypothesis_i_HXX_ @@ -38,7 +35,7 @@ class SMESH_Gen; // HexoticPlugin parameters hypothesis -class HexoticPlugin_Hypothesis_i: +class HEXOTICPLUGIN_EXPORT HexoticPlugin_Hypothesis_i: public virtual POA_HexoticPlugin::HexoticPlugin_Hypothesis, public virtual SMESH_Hypothesis_i { @@ -57,8 +54,42 @@ class HexoticPlugin_Hypothesis_i: void SetHexesMaxLevel(CORBA::Long theVal); CORBA::Long GetHexesMaxLevel(); - void SetHexoticQuadrangles(CORBA::Boolean theVal); - CORBA::Boolean GetHexoticQuadrangles(); + void SetMinSize(CORBA::Double theVal); + CORBA::Double GetMinSize(); + + void SetMaxSize(CORBA::Double theVal); + CORBA::Double GetMaxSize(); + + void SetHexoticIgnoreRidges(CORBA::Boolean theVal); + CORBA::Boolean GetHexoticIgnoreRidges(); + + void SetHexoticInvalidElements(CORBA::Boolean theVal); + CORBA::Boolean GetHexoticInvalidElements(); + + void SetHexoticSharpAngleThreshold(CORBA::Double theVal); + CORBA::Double GetHexoticSharpAngleThreshold(); + + void SetHexoticNbProc(CORBA::Long theVal); + CORBA::Long GetHexoticNbProc(); + + void SetHexoticWorkingDirectory(const char* path) throw ( SALOME::SALOME_Exception ); + char* GetHexoticWorkingDirectory(); + + void SetHexoticSdMode(CORBA::Long value); + CORBA::Long GetHexoticSdMode(); + + void SetHexoticVerbosity(CORBA::Long theVal); + CORBA::Long GetHexoticVerbosity(); + + void SetHexoticMaxMemory(CORBA::Long theVal); + CORBA::Long GetHexoticMaxMemory(); + + void SetSizeMapEntry(const char* theEntry, CORBA::Double theSize); + void UnsetSizeMapEntry(const char* theEntry); + + void SetSizeMap(GEOM::GEOM_Object_ptr theGeomObj, double theSize); + void UnsetSizeMap(GEOM::GEOM_Object_ptr theGeomObj); + HexoticPlugin::HexoticPluginSizeMapsList* GetSizeMaps (); // Get implementation ::HexoticPlugin_Hypothesis* GetImpl();