X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBLSURFPlugin%2FBLSURFPlugin_Hypothesis.hxx;h=43a4aab0e854f9bee8f41ed1d59f21ae1f5dd6cb;hb=8422810dcc5e588762f906db7a15f31eb337f3eb;hp=324e26ee37b7b788105b7afed93b7005aabcd41f;hpb=a1f5d9d680e3668328093518ce59b7ebfa71a25e;p=plugins%2Fblsurfplugin.git diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx index 324e26e..43a4aab 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2015 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 @@ -38,7 +38,7 @@ #include #include "BLSURFPlugin_Attractor.hxx" -// Parameters for work of BLSURF +// Parameters for work of MG-CADSurf class BLSURFPlugin_Hypothesis: public SMESH_Hypothesis { @@ -64,7 +64,7 @@ public: GeometricalLocalSize }; - static const char* GetHypType() { return "MG_CADSurf_Parameters"; } + static const char* GetHypType() { return "MG-CADSurf Parameters"; } TopoDS_Shape entryToShape(std::string entry); @@ -435,6 +435,13 @@ public: void ClearPreCADOption(const std::string& optionName); const TOptionValues& GetOptionValues() const { return _option2value; } const TOptionValues& GetPreCADOptionValues() const { return _preCADoption2value; } + const TOptionValues& GetCustomOptionValues() const { return _customOption2value; } + const TOptionValues& GetCustomPreCADOptionValues() const { return _customPreCADOption2value; } + + void AddOption(const std::string& optionName, const std::string& optionValue); + void AddPreCADOption(const std::string& optionName, const std::string& optionValue); + std::string GetOption(const std::string& optionName); + std::string GetPreCADOption(const std::string& optionName); /*! * Sets the file for export resulting mesh in GMF format @@ -494,6 +501,7 @@ private: double _preCADEpsNano; TOptionValues _option2value, _preCADoption2value; + TOptionValues _customOption2value, _customPreCADOption2value; TOptionNames _doubleOptions, _charOptions; TOptionNames _preCADdoubleOptions, _preCADcharOptions; TSizeMap _sizeMap;