+ void SetMaxSize(double theVal);
+ double GetMaxSize() const { return _maxSize; }
+
+ void SetGeomApproxAngle(double angle);
+ double GetGeomApproxAngle() const { return _approxAngle; }
+
+ void SetHexoticIgnoreRidges(bool theVal);
+ bool GetHexoticIgnoreRidges() const { return _hexoticIgnoreRidges; }
+
+ void SetHexoticInvalidElements(bool theVal);
+ bool GetHexoticInvalidElements() const { return _hexoticInvalidElements; }
+
+ void SetHexoticSharpAngleThreshold(double theVal);
+ double GetHexoticSharpAngleThreshold() const { return _hexoticSharpAngleThreshold; }
+
+ void SetHexoticNbProc(int theVal);
+ int GetHexoticNbProc() const { return _hexoticNbProc; }
+
+ void SetHexoticWorkingDirectory(const std::string& path);
+ std::string GetHexoticWorkingDirectory() const { return _hexoticWorkingDirectory; }
+
+ void SetHexoticSdMode(int theVal);
+ int GetHexoticSdMode() const { return _hexoticSdMode; }
+
+ void SetHexoticVerbosity(int theVal);
+ int GetHexoticVerbosity() const { return _hexoticVerbosity; }
+
+ void SetHexoticMaxMemory(int theVal);
+ int GetHexoticMaxMemory() const { return _hexoticMaxMemory; }
+
+ void SetKeepFiles(bool toKeep);
+ bool GetKeepFiles() const { return _keepFiles; }
+ void SetStandardOutputLog(bool logInStandardOutput);
+ bool GetStandardOutputLog() const { return _logInStandardOutput; }
+ void SetRemoveLogOnSuccess(bool removeLogOnSuccess);
+ bool GetRemoveLogOnSuccess() const { return _removeLogOnSuccess; }
+
+
+ typedef std::map< std::string, std::string > TOptionValues;
+ typedef std::set< std::string > TOptionNames;
+
+ void SetOptionValue(const std::string& optionName,
+ const std::string& optionValue);
+ std::string GetOptionValue(const std::string& optionName,
+ bool* isDefault=0) const;
+ bool HasOptionDefined( const std::string& optionName ) const;
+ void ClearOption(const std::string& optionName);
+ TOptionValues GetOptionValues() const;
+ const TOptionValues& GetCustomOptionValues() const { return _customOption2value; }
+ std::string GetAdvancedOption( bool customOnly = false ) const;
+ void SetAdvancedOption(const std::string& theOptions); // obsolete
+
+ static bool ToBool(const std::string& str, bool* isOk=0);
+ static double ToDbl(const std::string& str, bool* isOk=0);
+ static int ToInt(const std::string& str, bool* isOk=0);